[GH-ISSUE #2292] How do you specify the thinking mode? #924

Closed
opened 2026-11-04 01:47:04 +07:00 by bsakaguchi · 2 comments
Owner

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 :

No variants availablex
The current model does not support any variants.

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?

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 : ``` No variants availablex The current model does not support any variants. ``` 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?
Author
Owner

@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 (or reasoning.effort) with none / low / medium / high, Anthropic output_config.effort or thinking.budget_tokens (under 2K = low, under 8K = medium, more = high), and Responses reasoning.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 as reasoning_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": N to the same file.

I do not know the DeepSeek harness's config format. If it has a place for extra request fields, reasoning_effort is 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).

<!-- gh-comment-id:6157935901 --> @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` (or `reasoning.effort`) with none / low / medium / high, Anthropic `output_config.effort` or `thinking.budget_tokens` (under 2K = low, under 8K = medium, more = high), and Responses `reasoning.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 as `reasoning_effort`. For a client that cannot send a level at all, put `"reasoning_effort": "low"` (or none / medium / high) in strata-<model>.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": N` to the same file. I do not know the DeepSeek harness's config format. If it has a place for extra request fields, `reasoning_effort` is 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).
Author
Owner

@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!

Image
<!-- gh-comment-id:6175253164 --> @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! <img width="1303" height="925" alt="Image" src="https://github.com/user-attachments/assets/8b7a4a69-ab38-4b45-acc7-efb8102cbfb9" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#924
No description provided.