Support MistralAI streaming tool calls
| @@ -278,9 +278,9 @@ export class ToolManager { | ||
| 278 | 278 | } |
| 279 | 279 | |
| 280 | 280 | for (const toolCallDelta of toolCallDeltas) { |
| 281 | 281 | const toolCallIndex = (typeof toolCallDelta?.index === 'number') ? toolCallDelta.index : nulltoolCallDeltas.indexOf(toolCallDelta); |
| 282 | 282 | |
| 283 | 283 | if (isNaN(toolCallIndex) ===|| nulltoolCallIndex < 0) { |
| 284 | 284 | continue; |
| 285 | 285 | } |
| 286 | 286 | |