mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #200] question: hardcoded CLAUDE_MODELS allowlist overrides configured models and cannot track the bundled CLI #119
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/computer#119
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 @penradioGables on GitHub (Jul 28, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/200
Summary
utils/agents/detection.pygates agent model selection against a hardcodedCLAUDE_MODELSlist, and the detected list overrides whatever is configured. A model the bundledclaudebinary supports but that postdates the cptr release cannot be selected at all —agent:claude-code/<model>fails to resolve and cptr falls back to an API model silently.Filing this as a design question rather than a defect; the current behaviour is clearly intentional, and the version gating around it is well built. The issue is only that the list and the CLI ship on independent cadences.
Current shape (v0.9.15, L26–34)
The
MIN_CLAUDE_*gates show the intended mechanism is already there and works — a model is offered only when the detected CLI is new enough. The list itself is the part that has to be hand-edited to keep pace; between thev0.9.10andv0.9.15tagsdetection.pyis the only one of these files that changed, which is consistent with it needing regular manual maintenance.Why it bites
The bundled CLI can be updated independently of cptr (and is, frequently). When it gains a model the pinned list doesn't know about, the user's configured
agent:claude-code/<model>silently resolves to something else. There is no warning — the fallback to an API model is indistinguishable from having configured an API model in the first place, which makes it hard to notice you are not running the agent you asked for.Possible directions
The second option is small and non-controversial if the first is a bigger design change than you want.
@tjbck commented on GitHub (Jul 31, 2026):
Should be addressed!