add: 新建对话和切换对话功能

This commit is contained in:
2023-10-11 11:54:28 +08:00
parent 92b00a3477
commit 6a2068e8d1
7 changed files with 132 additions and 25 deletions

12
Frontend/Models/Chat.cs Normal file
View File

@@ -0,0 +1,12 @@
namespace Frontend.Models;
public class Chat
{
public Guid Guid { get; } = Guid.NewGuid();
public string Title { get; set; } = string.Empty;
public bool Selected { get; set; }
public List<ChatMessage> Messages { get; } = new();
}