()
| 14 | |
| 15 | export class FetchLLMAdapter implements LLMServiceAdapter { |
| 16 | async hasConfig(): Promise<boolean> { |
| 17 | return get<boolean>('/ai/llm/has-config') |
| 18 | } |
| 19 | |
| 20 | async getConfigStore(): Promise<LLMConfigStore> { |
| 21 | return get<LLMConfigStore>('/ai/llm/configs') |