mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-10-03 19:45:41 +00:00
bump agent minimum defaults (+1 squashed commits)
Squashed commits: [bb5989996] bump agent minimum defaults
This commit is contained in:
parent
b66d3eb717
commit
71fafd7f61
2 changed files with 7 additions and 7 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
12
koboldcpp.py
12
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue