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

Method addCustomModel

src/services/llm/fetch.ts:107–109  ·  view source on GitHub ↗
(input: CustomModelInput)

Source from the content-addressed store, hash-verified

105 }
106
107 async addCustomModel(input: CustomModelInput) {
108 return post<{ success: boolean; model?: ModelCatalogItem; error?: string }>('/ai/llm/custom-models', input)
109 }
110
111 async updateCustomModel(providerId: string, modelId: string, updates: Partial<CustomModelInput>) {
112 return put<{ success: boolean; error?: string }>(

Callers

nothing calls this directly

Calls 1

postFunction · 0.90

Tested by

no test coverage detected