fix: persist model on conversation send, fallback resolution, carry model on new conversation
This commit is contained in:
+2
-2
@@ -194,8 +194,8 @@ export const api = {
|
||||
settingsSet: (key: string, value: string) =>
|
||||
invoke<void>("settings_set", { key, value }),
|
||||
listConversations: () => invoke<Conversation[]>("list_conversations"),
|
||||
createConversation: (title: string) =>
|
||||
invoke<Conversation>("create_conversation", { title }),
|
||||
createConversation: (title: string, modelId?: string) =>
|
||||
invoke<Conversation>("create_conversation", { title, modelId: modelId ?? null }),
|
||||
deleteConversation: (id: string) =>
|
||||
invoke<void>("delete_conversation", { id }),
|
||||
getMessages: (conversationId: string) =>
|
||||
|
||||
Reference in New Issue
Block a user