The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(execute_code): limits line teaches spillover instead of a bare 50KB cap (#97048)
Teknium5857231267c4
diff --git a/tools/code_execution_tool.py b/tools/code_execution_tool.pyindex dc7ac076483..92e1ffe811d 100644--- a/tools/code_execution_tool.py+++ b/tools/code_execution_tool.py@@ -2393,8 +2393,9 @@ def build_execute_code_schema(enabled_sandbox_tools: set = None,"loses that state.\n\n"f"Available via `from hermes_tools import ...`:\n\n"f"{tool_lines}\n\n"- "Limits: 5-minute timeout, 50KB stdout cap, max 50 tool calls per "- "call.\n\n"+ "Limits: 5-minute timeout, max 50 tool calls per call. Stdout over "+ "50KB shows head/tail inline; the FULL text is auto-saved to a file "+ "whose path rides in the result.\n\n"f"{cwd_note}\n\n""Built-in helpers (no import): json_parse(text) — tolerant ""json.loads for terminal() output; shell_quote(s) — shlex.quote for "