GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — web: model tooltip always shows "No reasoning" because capabilities.reasoning is hard-coded false · Issue #54472 · anomalyco/opencode Closed as duplicate Closed as duplicate Copy link Labels DescriptionSummaryIn the Web UI, the model picker tooltip reports "No reasoning" for every model, even ones that clearly expose reasoning. Reasoning detection is driven by Environment
Reproduction
The same happens for every model in the provider, e.g. Expected BehaviorA model that exposes reasoning variants should show "Allows reasoning" (and offer the corresponding variants). Actual BehaviorEvery model shows "No reasoning", regardless of its actual capabilities. No error is raised. Additional ContextServer truth contradicts the tooltip. {
"id": "claude-haiku-5-5",
"providerID": "opencode",
"package": "@opencode/ai/providers/anthropic",
"capabilities": { "tools": true, "input": ["text","image","pdf"], "output": ["text"] },
"variants": [
{ "id": "none", "settings": { "thinking": { "type": "disabled" } } },
{ "id": "low", "settings": { "thinking": { "type": "adaptive", "display": "summarized" }, "effort": "low" } },
{ "id": "medium", "settings": { "thinking": { "type": "adaptive", "display": "summarized" }, "effort": "medium" } },
{ "id": "high", "settings": { "thinking": { "type": "adaptive", "display": "summarized" }, "effort": "high" } },
{ "id": "xhigh", "settings": { "thinking": { "type": "adaptive", "display": "summarized" }, "effort": "xhigh" } },
{ "id": "max", "settings": { "thinking": { "type": "adaptive", "display": "summarized" }, "effort": "max" } }
]
}The V2 OpenAPI Client hard-codes the flag. In the served client bundle ( t.models[e.id] = { id: e.id, providerID: e.providerID, api: { id: e.modelID, url: ``, npm: e.package ?? t.id }, name: e.name, family: e.family, capabilities: { temperature: false, reasoning: false, // <-- hard-coded; never derived from e.variants attachment: e.capabilities.input.some(x => x !== `text`), toolcall: e.capabilities.tools, input: { text: ..., audio: ..., image: ..., video: ..., pdf: ... }, output: { text: ..., audio: ..., image: ..., video: ..., pdf: ... }, interleaved: false, }, ... variants: Object.fromEntries(e.variants.map(e => [e.id, e.settings ?? {}])), } The tooltip then chooses its label from this flag (i18n keys in the client bundle): "model.tooltip.reasoning": "Reasoning" "model.tooltip.reasoning.allowed": "Allows reasoning" "model.tooltip.reasoning.none": "No reasoning" Because Impact: display-only. Selecting a reasoning variant (e.g. Frequency: reproducible consistently on every load. Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |