MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / updateAssistant

Function updateAssistant

apps/desktop/main/ai/assistant/manager.ts:100–102  ·  view source on GitHub ↗
(id: string, updates: Partial<AssistantConfig>)

Source from the content-addressed store, hash-verified

98}
99
100export function updateAssistant(id: string, updates: Partial<AssistantConfig>): AssistantSaveResult {
101 return getManager().updateAssistant(id, updates)
102}
103
104export function createAssistant(config: Omit<AssistantConfig, 'id'>): AssistantSaveResult & { id?: string } {
105 return getManager().createAssistant(config)

Callers

nothing calls this directly

Calls 2

updateAssistantMethod · 0.80
getManagerFunction · 0.70

Tested by

no test coverage detected