From 3578aa62b72c8f11983600a6d5ba34e2ecc6af13 Mon Sep 17 00:00:00 2001 From: chezsmithy Date: Thu, 17 Apr 2025 22:53:34 -0700 Subject: [PATCH] Updated runTerminal description to avoid suggesting keyboard input. --- core/tools/definitions/runTerminalCommand.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/tools/definitions/runTerminalCommand.ts b/core/tools/definitions/runTerminalCommand.ts index 8638ef2b3..fa99ad700 100644 --- a/core/tools/definitions/runTerminalCommand.ts +++ b/core/tools/definitions/runTerminalCommand.ts @@ -12,7 +12,10 @@ export const runTerminalCommandTool: Tool = { function: { name: BuiltInToolNames.RunTerminalCommand, description: - "Run a terminal command in the current directory. The shell is not stateful and will not remember any previous commands. Do NOT perform actions requiring special/admin priveleges.", + "Run a terminal command in the current directory.\ + The shell is not stateful and will not remember any previous commands.\ + When a command is run in the background ALWAYS suggest using shell commands to stop it; NEVER suggest using Ctrl+C.\ + Do NOT perform actions requiring special/admin privileges.", parameters: { type: "object", required: ["command"],