fix: model selection

This commit is contained in:
hugo committed 2026-02-11 19:12:54 +01:00
1 parent 49f2b620db
commit 498bda542f
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -341,7 +341,7 @@ export interface ElectronAPI {
getApiKey: () => Promise<ChatApiKeyStatus>;
// Settings
getAvailableModels: () => Promise<ChatModel[]>;
getAvailableModels: () => Promise<{ success: boolean; models?: ChatModel[]; selectedModel?: string; error?: string }>;
setDefaultModel: (modelId: string) => Promise<void>;
getSystemPrompt: () => Promise<string | null>;
setSystemPrompt: (prompt: string) => Promise<void>;