fix: preserve existing thresholds, remove pre-read byte guard

- DEFAULT_RESULT_SIZE_CHARS: 50K -> 100K (match current _LARGE_RESULT_CHARS)
- DEFAULT_PREVIEW_SIZE_CHARS: 2K -> 1.5K (match current _LARGE_RESULT_PREVIEW_CHARS)
- Per-tool overrides all set to 100K (terminal, execute_code, search_files)
- Remove pre-read byte guard (no behavioral regression vs current main)
- Revert limit signature change to int=500 (match current default)
- Restore original read_file schema description
- Update test assertions to match 100K thresholds
This commit is contained in:
Teknium 2026-04-08 01:45:51 -07:00 committed by Teknium
parent bbcff8dcd0
commit 3696c74bfb
5 changed files with 11 additions and 35 deletions

View file

@ -1343,5 +1343,5 @@ registry.register(
enabled_tools=kw.get("enabled_tools")),
check_fn=check_sandbox_requirements,
emoji="🐍",
max_result_size_chars=30_000,
max_result_size_chars=100_000,
)