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 / desktop client: model tooltip shows "No reasoning" for models that expose reasoning variants · Issue #56317 · anomalyco/opencode Closed as duplicate Closed as duplicate Copy link Labels DescriptionDescriptionSummaryIn the web / desktop client, the model list tooltip always shows Reasoning: "No reasoning" (zh: The web client's V2 → legacy model adapter hard-codes Environment
{
"providers": {
"acme": {
"name": "Local Flash Server",
"package": "@opencode/ai/providers/openai-compatible",
"settings": { "baseURL": "https://llm.internal.example/v1", "apiKey": "<redacted>" },
"models": {
"qwen-flash": {
"name": "Qwen Flash",
"settings": { "reasoningEffort": "xhigh" },
"capabilities": {
"reasoning": { "supported": true, "effort": ["low", "medium", "xhigh", "none"] },
"tools": true,
"input": ["text", "image"],
"output": ["text"]
},
"limit": { "context": 262144, "input": 229376, "output": 32768 }
}
}
}
}
}Reproduction
Expected BehaviorTooltip shows "Allows reasoning" ( Actual BehaviorTooltip shows "No reasoning" ( Consistent, 100% reproducible. Additional ContextServer response for the model (redacted, note {
"id": "qwen-flash",
"modelID": "qwen-flash",
"providerID": "acme",
"settings": { "reasoningEffort": "xhigh" },
"capabilities": { "tools": true, "input": ["text", "image"], "output": ["text"] },
"variants": [
{ "id": "low", "settings": { "reasoningEffort": "low" } },
{ "id": "medium", "settings": { "reasoningEffort": "medium" } },
{ "id": "xhigh", "settings": { "reasoningEffort": "xhigh" } },
{ "id": "none", "settings": { "reasoningEffort": "none" } }
]
}Evidence that reasoning really streams for that model in the same session: Client-side cause, from the web bundle served at 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, ignores e.variants attachment: e.capabilities.input.some((x) => x !== "text"), toolcall: e.capabilities.tools, input: { ... }, output: { ... }, }, // variants are mapped correctly right next to it: variants: Object.fromEntries(e.variants.map((v) => [v.id, v.settings ?? {}])), }; And the i18n keys that render the tooltip line: Notes:
PluginsNo response OpenCode versionNo response Steps to reproduceNo response Screenshot and/or share linkNo response Operating SystemNo response TerminalNo response 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. |