fix: model selection

This commit is contained in:
2026-02-11 19:12:54 +01:00
parent 49f2b620db
commit 498bda542f
3 changed files with 5 additions and 3 deletions

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>;