Sessions: Sidebar, Session-Wechsel, Archivieren-Button, alles session-bezogen

This commit is contained in:
Meleki committed 2026-02-26 18:37:24 +01:00
1 parent 8ddee38032
commit 25f07caf83
15 files changed
+442 -78

No files matched your search

+1
View File
@@ -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; }
+3
View File
@@ -22,4 +22,7 @@ public class ChatRequest
[JsonPropertyName("systemPrompt")]
public string SystemPrompt { get; set; } = "";
[JsonPropertyName("sessionId")]
public string SessionId { get; set; } = "";
}
+10
View File
@@ -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; }
}