fix: better session handling

This commit is contained in:
hugo committed 2026-02-11 19:35:33 +01:00
1 parent 498bda542f
commit 898a90b864
4 files changed
+110 -57

No files matched your search

+1 -1
View File
@@ -354,7 +354,7 @@ export interface ElectronAPI {
deleteConversation: (id: string) => Promise<boolean>;
// Messaging
sendMessage: (conversationId: string, message: string) => Promise<string>;
sendMessage: (conversationId: string, message: string) => Promise<{ success: boolean; message?: string; error?: string }>;
abortMessage: (conversationId: string) => Promise<void>;
getHistory: (conversationId: string) => Promise<ChatMessage[]>;
clearMessages: (conversationId: string) => Promise<void>;