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

Function getAssistantConfig

src/stores/assistant.ts:203–210  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

201 }
202
203 async function getAssistantConfig(id: string): Promise<AssistantConfigFull | null> {
204 try {
205 return await useAssistantService().getConfig(id)
206 } catch (error) {
207 console.error('[AssistantStore] Failed to get config:', error)
208 return null
209 }
210 }
211
212 async function updateAssistant(
213 id: string,

Callers

nothing calls this directly

Calls 3

useAssistantServiceFunction · 0.90
getConfigMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected