Files
javis_bot/tests
javis-bot ff9b868e62 fix(m0): bound context-test prompt size when tokens are under-reported
The context test re-estimated characters per token from the server's
prompt_tokens after every request. A server that reports a tiny count
made each next prompt grow by orders of magnitude, so the kit tests
reached 8 GB and were killed by the host memory guard. Clamp the
estimate to 0.5-4 characters per token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:20:01 +09:00
..