(config: MistralTextConfig, model: TModel)
| 174 | private readonly rawConfig: MistralClientConfig |
| 175 | |
| 176 | constructor(config: MistralTextConfig, model: TModel) { |
| 177 | super(config, model) |
| 178 | // The SDK client is retained for `structuredOutput` (non-streaming). The |
| 179 | // streaming path bypasses the SDK and uses `fetchRawMistralStream` because |
| 180 | // the SDK's Zod schemas reject partial tool-call argument deltas. |
| 181 | this.client = createMistralClient(config) |
| 182 | this.rawConfig = config |
| 183 | } |
| 184 | |
| 185 | async *chatStream( |
| 186 | options: TextOptions<TProviderOptions>, |
nothing calls this directly
no test coverage detected