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

Method addConfig

src/services/llm/fetch.ts:57–59  ·  view source on GitHub ↗
(config: AIServiceConfigInput)

Source from the content-addressed store, hash-verified

55 }
56
57 async addConfig(config: AIServiceConfigInput) {
58 return post<{ success: boolean; config?: AIServiceConfigDisplay; error?: string }>('/ai/llm/configs', config)
59 }
60
61 async updateConfig(id: string, updates: Partial<AIServiceConfigInput>) {
62 return put<{ success: boolean; error?: string }>(`/ai/llm/configs/${id}`, updates)

Callers

nothing calls this directly

Calls 1

postFunction · 0.90

Tested by

no test coverage detected