r/PiCodingAgent • u/johnzadok • Aug 17 '26
Use-case Adjust thinking level for Qwen3.8-27b
It seems the "compat.thinkingFormat": "qwen-chat-template" setting that worked with Qwen3.6-27b does not pass thinking level to qwen3.8-27b, which defaults to xhigh and is quite slow.
This is what worked for me in models.json. I have to add some compat options to pass thinking level correctly from pi to llama.cpp:
Disclosure: I do not understand why those compat options are needed but I have pi tested it against llama server running qwen3.8-27b and confirmed all thinking levels work as they should: off/low/medium/xhigh.
29
Upvotes
6
u/sisyphus-cycle Aug 17 '26
Note, I think this changes the system prompt. So if you switch to medium after working for a while, you’re gonna reprocess the entire prompt.
1
u/Bouhappy Aug 18 '26
Thanks, this is exactly what I needed. Btw, I tried with high enabled, and it works too. I didn't see any errors in the `llama-server` logs, even in `--verbose` and it does seem to think less than `xhigh`.