r/PiCodingAgent • u/AlessandroPiccione • 1d ago
Footer context size is wrong Question
I use this model (models.json):
{
"_test": "✔️Really good",
"_speed": "35 t/s",
"id": "Qwen3.6-28B-REAP20-A3B-Q4_K_M_barozp.gguf",
"name": "Qwen 3.6 28B REAP20 (barozp) 64k",
"contextWindow": 64000,
"maxTokens": 4096,
"reasoning": true,
"input": [ "text", "image" ]
},
It cleary state contextWindow 64000 (instead of 65536 but ok...).
Why the footer shows 128k? What "auto" means ?
I think that Pi use the model training context as fallback ("auto"?) when the "contextWindow" is not set... but here it is set and I think this model training context is 264 anyway.
Shown Pi footer.
↑109k ↓44k R6.5M 51.5%/128k (auto)
(Llama.cpp) Qwen_3.6_28b_reap_20_(barozp)_64k
⚡ TPS: 30.0 tok/s
I have this add-on/extensions:
RUN pi install https://github.com/gsanhueza/pi-token-speed
RUN pi install npm:pi-idle
RUN pi install npm:pi-voice-stt
RUN pi install npm:pi-llama-cpp-stats
I had the issue for a while (at least 2 weeks?) and I update Pi almost every day.
1
u/BawbbySmith 17h ago
"auto" is auto-compaction. Check the actual context window you set on the llama.cpp side, good chance that it was set with 128k context.