mirror of
https://github.com/usestrix/strix.git
synced 2026-10-12 03:47:56 +00:00
Replaces plain truncation with a parallel summarisation pipeline when exec_command output exceeds STRIX_MAX_TOOL_OUTPUT_CHARS (default 65536). Output is split at JSON record or line boundaries; each chunk is summarised via litellm.acompletion; summaries are consolidated into a single result that fits the context window. Falls back to truncate_exec_result on any compression error. Closes #579 |
||
|---|---|---|
| .. | ||
| core | ||
| interface | ||
| __init__.py | ||
| test_local_sources.py | ||
| test_session_entries.py | ||