mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-06 10:47:12 +08:00
Add tools/tool_result_storage.py implementing Layer 2 (per-result) and Layer 3 (per-turn budget) persistence for large tool outputs. Results exceeding thresholds are written to disk with a <persisted-output> preview block replacing the inline content. Extend ToolEntry and ToolRegistry with max_result_size_chars for per-tool threshold control. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5.8 KiB
5.8 KiB