()
| 31 | } |
| 32 | |
| 33 | async getFastModelSlot(): Promise<ModelSlot | null> { |
| 34 | return get<ModelSlot | null>('/ai/llm/fast-model-slot') |
| 35 | } |
| 36 | |
| 37 | async setDefaultAssistantModel(configId: string, modelId: string) { |
| 38 | return put<{ success: boolean; error?: string }>('/ai/llm/default-assistant-slot', { configId, modelId }) |