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

Method addCustomProvider

src/services/llm/fetch.ts:95–97  ·  view source on GitHub ↗
(input: CustomProviderInput)

Source from the content-addressed store, hash-verified

93 }
94
95 async addCustomProvider(input: CustomProviderInput) {
96 return post<ProviderRegistryItem>('/ai/llm/custom-providers', input)
97 }
98
99 async updateCustomProvider(id: string, updates: Partial<CustomProviderInput>) {
100 return put<{ success: boolean; error?: string }>(`/ai/llm/custom-providers/${id}`, updates)

Callers

nothing calls this directly

Calls 1

postFunction · 0.90

Tested by

no test coverage detected