MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / setDefaultAssistantModel

Method setDefaultAssistantModel

src/services/llm/fetch.ts:37–39  ·  view source on GitHub ↗
(configId: string, modelId: string)

Source from the content-addressed store, hash-verified

35 }
36
37 async setDefaultAssistantModel(configId: string, modelId: string) {
38 return put<{ success: boolean; error?: string }>('/ai/llm/default-assistant-slot', { configId, modelId })
39 }
40
41 async setFastModel(slot: ModelSlot | null) {
42 return put<{ success: boolean; error?: string }>('/ai/llm/fast-model-slot', slot)

Callers

nothing calls this directly

Calls 1

putFunction · 0.90

Tested by

no test coverage detected