Fix looping on regen tool call

54837680f772f94cf14c5dc379711cc60023f36b

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

1 files changed, +2 -2Showing whitespace changes
public/script.js+2 -2
@@ -4485,7 +4485,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
44854485
44864486 streamingProcessor = null;
44874487 await ToolManager.saveFunctionToolInvocations(invocationResult.invocations);
44884488 return Generate(type'normal', { automatic_trigger, force_name2, quiet_prompt, quietToLoud, skipWIAN, force_chid, signal, quietImage, quietName }, dryRun);
44894489 }
44904490 }
44914491
@@ -4577,7 +4577,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
45774577 }
45784578
45794579 await ToolManager.saveFunctionToolInvocations(invocationResult.invocations);
45804580 return Generate(type'normal', { automatic_trigger, force_name2, quiet_prompt, quietToLoud, skipWIAN, force_chid, signal, quietImage, quietName }, dryRun);
45814581 }
45824582 }
45834583