You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tests): use limit=65536 for ceiling tests so 15% rule dominates over min_free_tokens
For limit=65536: reserved = max(0.15×65536, 2048) = 9830 tokens, giving
effective_ceiling_pct = 85.0% as intended. The previous limit=4096 caused
min_free_tokens=2048 (50% of 4096) to tighten the effective ceiling to 50%,
so used=3400 (83%) incorrectly raised ContextFullError.
Also updated test_context_full_error_at_ceiling to use the same limit=65536
with used=56000 (~85.4%) to trigger the hard ceiling correctly.
Co-Authored-By: Oz <oz-agent@warp.dev>
0 commit comments