(options: AxonClientOptions)
| 10 | * AI SDK. Both implement `LLMClient`, so the agent loop is unaffected. |
| 11 | */ |
| 12 | export function createLLMClient(options: AxonClientOptions): LLMClient { |
| 13 | const model = getModel(options.modelId) |
| 14 | if (usesAiSdk(model)) { |
| 15 | return new AiSdkClient({ model }) |
| 16 | } |
| 17 | return new AxonClient(options) |
| 18 | } |
no test coverage detected