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
{{ message }}
Repository navigation
Removing thinking tokens from nano-gpt provider #2531
I'm trying to strip thinking tokens from various models served by nano-gpt.com. There are two methods. I have verified they work with direct curl commands, but when I set it up in the opencode config, I either get an API error or the thinking tokens are not stripped (so the option is not forwarded).
Here's a sample config that generates an AI_APICallError (works fine without the :reasoning-exclude suffix):
gpt5 is sending me in circles and I can't figure this out. I used Qwen as an example here but the issues hold true for other models too. Somehow the suffix is breaking the request?
Activity
arsham commentedon Sep 10, 2025
Would this help? I think you can try to log the object to see what you can delete from.
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!