From 003fa7e2f3afaa20f7d1fb366b9fd583301d7122 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 21 Sep 2026 13:37:42 +0800 Subject: [PATCH] edit tool prompt, default temp 0.5 (+1 squashed commits) Squashed commits: [2c81e9a5d] edit prompt in agent tool --- kcpp_agent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kcpp_agent.py b/kcpp_agent.py index f39343edb..ac39de040 100644 --- a/kcpp_agent.py +++ b/kcpp_agent.py @@ -249,7 +249,7 @@ TOOLS = [ "type": "function", "function": { "name": "shell", - "description": "Run a command in the platform's native shell and return stdout, stderr, and exit code. Large output may be truncated, so prefer focused commands.", + "description": "Run a command in the platform's native shell and return stdout, stderr, and exit code. Can be used to execute arbitary applications on the local system. Large output may be truncated, so prefer focused commands.", "parameters": { "type": "object", "properties": { @@ -1437,8 +1437,8 @@ def parse_args() -> argparse.Namespace: parser.add_argument( "--temperature", type=temperature_value, - default=0.0, - help="Sampling temperature (default: 0.0)", + default=0.5, + help="Sampling temperature (default: 0.5)", ) parser.add_argument( "--max-tool-result-chars",