fix(execute_code): limits line teaches spillover instead of a bare 50KB cap (#97048)
* fix(execute_code): limits line teaches spillover — big stdout is saved, not lost (follow-up to #97043) * fix(execute_code): drop the editorializing tail from the limits line (maintainer review)
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user