Sessions: Sidebar, Session-Wechsel, Archivieren-Button, alles session-bezogen
This commit is contained in:
1 parent
8ddee38032
commit
25f07caf83
15 files changed
+442
-78
No files matched your search
@@ -4,6 +4,7 @@ public class ArchiveRecord
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string ArchiveId { get; set; }
|
||||
public string SessionId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int ChainCount { get; set; }
|
||||
public int MessageCount { get; set; }
|
||||
|
||||
@@ -22,4 +22,7 @@ public class ChatRequest
|
||||
|
||||
[JsonPropertyName("systemPrompt")]
|
||||
public string SystemPrompt { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("sessionId")]
|
||||
public string SessionId { get; set; } = "";
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Gott.Models;
|
||||
|
||||
public class SessionRecord
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string SessionId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string CreatedAt { get; set; }
|
||||
public string UpdatedAt { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user