From 71fafd7f61de03ec501ec35c0dfbd4a3ad835d26 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 21 Sep 2026 14:52:53 +0800 Subject: [PATCH] bump agent minimum defaults (+1 squashed commits) Squashed commits: [bb5989996] bump agent minimum defaults --- kcpp_agent.py | 2 +- koboldcpp.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kcpp_agent.py b/kcpp_agent.py index ac39de040..dbf330116 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. Can be used to execute arbitary applications on the local system. 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 commands or applications on the local system. Large output may be truncated, so prefer focused commands.", "parameters": { "type": "object", "properties": { diff --git a/koboldcpp.py b/koboldcpp.py index e752ecaa2..168e166ac 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -11361,12 +11361,12 @@ def apply_agent_launch_safeguards(launch_args): return adjustments = [] - if launch_args.defaultgenamt < 4096: - adjustments.append(f"default generation amount increased from {launch_args.defaultgenamt} to 4096") - launch_args.defaultgenamt = 4096 - if launch_args.contextsize < 16384: - adjustments.append(f"context size increased from {launch_args.contextsize} to 16384") - launch_args.contextsize = 16384 + if launch_args.defaultgenamt < 5120: + adjustments.append(f"default generation amount increased from {launch_args.defaultgenamt} to 5120") + launch_args.defaultgenamt = 5120 + if launch_args.contextsize < 20480: + adjustments.append(f"context size increased from {launch_args.contextsize} to 20480") + launch_args.contextsize = 20480 if not launch_args.jinja: adjustments.append("Jinja chat templates enabled") launch_args.jinja = True