strix/tests/core
Mads Hvelplund 5aa61c5202
feat: truncate oversized exec_command output to prevent context overflow
exec_command output is now capped at STRIX_MAX_TOOL_OUTPUT_CHARS (default
65536). JSON arrays are parsed and trimmed to the first 50 records (valid
JSON preserved); plain text keeps the first 300 lines. Both include a
header showing the total size and record/line count so the agent retains
full awareness of what was produced.

A secondary character cap prevents single very long lines from bypassing
the line limit. Set STRIX_MAX_TOOL_OUTPUT_CHARS=0 to disable.
2026-06-19 13:45:26 +02:00
..
__init__.py fix: bypass image-strip recovery for ContextWindowExceededError 2026-06-19 13:40:45 +02:00
test_execution.py fix: bypass image-strip recovery for ContextWindowExceededError 2026-06-19 13:40:45 +02:00
test_large_output.py feat: truncate oversized exec_command output to prevent context overflow 2026-06-19 13:45:26 +02:00