mirror of
https://github.com/usestrix/strix.git
synced 2026-09-14 14:19:09 +08:00
dab93bcc12
Treat tool_output_max_tokens as a ceiling so an explicit model-supplied cap can't exceed it, and derive the truncation notice's dropped-line count from the lines actually kept after the byte-trim pass. Also cast the pygments fallback lexer so it satisfies the resolve_lexer return type under the pre-commit mypy hook.