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

Method updateCustomModel

src/services/llm/fetch.ts:111–116  ·  view source on GitHub ↗
(providerId: string, modelId: string, updates: Partial<CustomModelInput>)

Source from the content-addressed store, hash-verified

109 }
110
111 async updateCustomModel(providerId: string, modelId: string, updates: Partial<CustomModelInput>) {
112 return put<{ success: boolean; error?: string }>(
113 `/ai/llm/custom-models/${providerId}/${encodeURIComponent(modelId)}`,
114 updates
115 )
116 }
117
118 async deleteCustomModel(providerId: string, modelId: string) {
119 return del<{ success: boolean; error?: string }>(

Callers

nothing calls this directly

Calls 1

putFunction · 0.90

Tested by

no test coverage detected