(input: CustomProviderInput)
| 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) |