mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2292] How do you specify the thinking mode? #924
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#924
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 @Coderx7 on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2292
I'm using deepseek harness, but the problem is I cant seem to specify the thinking mode properly in dsh!
it does offer the thinking mode for other models from opencode/TokenHarbor but not strata.
I also couldnt change that in OpenCode. when I do /variants, it displays this message :
I also noticed, in deepseek harness, the image capabilities of the model is not recognized, it reports the model (strata) only supports text/pdf! whereas in the strata web UI and also llama.cpp's the image capability works just fine!
Has anyone faced this issue? how do you fix this? Should I be adding something to my configs?
@Niko1221 commented on GitHub (Oct 14, 2026):
The thinking level is a per-request field, so a client has to send it; Strata does not advertise "variants" the way OpenCode expects, which is why /variants says there are none. What Strata accepts (docs/DETAILS.md, "Thinking"): OpenAI
reasoning_effort(orreasoning.effort) with none / low / medium / high, Anthropicoutput_config.effortorthinking.budget_tokens(under 2K = low, under 8K = medium, more = high), and Responsesreasoning.effort.For OpenCode, add the variants yourself on the model in opencode.jsonc (the example in docs/DETAILS.md has the exact block:
"options": {"reasoningEffort": "high"}plus"variants": {"low": ..., "medium": ..., "none": ...}); after that /variants lists them and sends the chosen one asreasoning_effort.For a client that cannot send a level at all, put
"reasoning_effort": "low"(or none / medium / high) in strata-.json, outside "args": every request that names no level then gets it. In 0.1.44 the OpenAI and Anthropic routes honoured that key but the Responses route (Codex) did not; that is fixed in 0.1.44.1. The levels are instructions the model was trained with, not a token limit; for a hard cap add"reasoning_budget_tokens": Nto the same file.I do not know the DeepSeek harness's config format. If it has a place for extra request fields,
reasoning_effortis the one to send; if you paste its provider block I can look at what it sends. The picture capability is the client's own model flag too (Strata answers image requests whenever setup turned images on; /props lists them).@Coderx7 commented on GitHub (Oct 14, 2026):
Thanks a lot really appreciate it.
The new Deepseek harness, added an option in the Settings/Models definition section where you can specify the modalities, when I checked the image checkbox, next to Text, and applied, everything started working again!