Method
updateCustomModel
(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
Tested by
no test coverage detected