Skip to content

Commit 242309f

Browse files
authored
Merge pull request #238 from thedadams/fix-stopping-llm
fix: allow recovery when the user stops response
2 parents a53bb6e + b6fc009 commit 242309f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ const mount = async (
369369
opts.input = message;
370370
runningScript = await gptscript.evaluate(script, opts);
371371
} else {
372-
name = runningScript.respondingTool().name || '';
372+
name = (runningScript.respondingTool() || {}).name || '';
373373
runningScript = runningScript.nextChat(message);
374374
}
375375

0 commit comments

Comments
 (0)