mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #354] How do I control how much the tool thinks, either by length or intensity? #169
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lcglook1 on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/354
In OpenCode, a simple bug fix can cause the reasoning process to go all the way up to 32,000 tokens
@Niko1221 commented on GitHub (Oct 1, 2026):
Thinking can be controlled three ways (details in DETAILS.md, "Thinking levels"):
"reasoning_effort": "none" | "low" | "medium" | "high"(OpenAI API). Without one, the model uses its own default,high. The level is an instruction the model was trained with, not a hard limit."reasoning_budget_tokens": 4000(any number) to yourstrata-<model>.jsonand restart. Thinking then stops at that many tokens and the model answers from there. A request's ownreasoning_budget_tokenstakes precedence;0means no cap.For small fixes,
lowplus a budget of a few thousand tokens works well. Closing as answered; please reopen if a setting doesn't take effect.@Niko1221 commented on GitHub (Oct 2, 2026):
A correction to my answer above: the chat page is at http://127.0.0.1:8080 (setup's default port), not 8000. Sorry about that.
@lcglook1 commented on GitHub (Oct 2, 2026):
It would be great if I could configure this setting right when starting the model. I've only managed to change it to 'low' in the web interface, but I'm still not quite sure how to do it via the API tools.
@lcglook1 commented on GitHub (Oct 2, 2026):
I still can't figure out where to modify "reasoning_budget_tokens": 4000