Support MistralAI streaming tool calls

01f03dbf508a00240e3019c517d8f61166af9eb1

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/scripts/tool-calling.js+2 -2
@@ -278,9 +278,9 @@ export class ToolManager {
278278 }
279279
280280 for (const toolCallDelta of toolCallDeltas) {
281281 const toolCallIndex = (typeof toolCallDelta?.index === 'number') ? toolCallDelta.index : nulltoolCallDeltas.indexOf(toolCallDelta);
282282
283283 if (isNaN(toolCallIndex) ===|| nulltoolCallIndex < 0) {
284284 continue;
285285 }
286286