colibri: size the context window (CTX) from n_ctx — fixes "prompt does not fit"
colibri's context is the CTX env (default 4096), DISTINCT from NGEN (max new tokens).
We only set NGEN, so any prompt over ~4095 tokens was rejected ("prompt does not fit
… CTX=4096") — coding clients with big system prompts always tripped it.
MuxEngine now sets CTX from the model's configured n_ctx (a caller/extra_env CTX still
wins). GLM-5.2 (glm_moe_dsa) uses compressed MLA KV held in host RAM, so large contexts
cost RAM, not VRAM — the model itself supports up to 1,048,576 positions.
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoSpEthysqmseCc6Geizty
Showing
Please
register
or
sign in
to comment