-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[fast] service tier badge shows on non-OpenAI providers (e.g. DeepSeek) #739
Copy link
Copy link
Closed
Labels
autonomous: clearHands-off: unambiguous bug, obvious fix, no decisions. Don't even look - an agent can fully solve.Hands-off: unambiguous bug, obvious fix, no decisions. Don't even look - an agent can fully solve.bugSomething isn't workingSomething isn't workingpriority: mediumP2 - normal priorityP2 - normal prioritytriage: fixed-pending-releaseFixed in code/committed; will close automatically on next releaseFixed in code/committed; will close automatically on next releasetriage: reproducibleClear repro + clear fix pathClear repro + clear fix path
Description
Metadata
Metadata
Assignees
Labels
autonomous: clearHands-off: unambiguous bug, obvious fix, no decisions. Don't even look - an agent can fully solve.Hands-off: unambiguous bug, obvious fix, no decisions. Don't even look - an agent can fully solve.bugSomething isn't workingSomething isn't workingpriority: mediumP2 - normal priorityP2 - normal prioritytriage: fixed-pending-releaseFixed in code/committed; will close automatically on next releaseFixed in code/committed; will close automatically on next releasetriage: reproducibleClear repro + clear fix pathClear repro + clear fix path
Description
The header/info-widget model label renders a
[fast]service-tier badge for providers that are not OpenAI, even though the setting is namedopenai_service_tierand documented as applying to OpenAI OAuth only.Repro
deepseek-v4-flash) served via the OpenAI-compatible runtime (openai-compatible:deepseek).openai_service_tier = "priority"(the default) in~/.jcode/config.toml, the model tooltip shows e.g.deepseek v4 flash (hi) [fast].Expected
No
[fast]badge for a DeepSeek/OpenAI-compatible provider, or a clear indication that the badge reflects the OpenAI-compatible runtime tier, not an OpenAI model.Actual
The
[fast]badge appears on DeepSeek V4 Flash.Root cause (from source)
All OpenAI-compatible providers (DeepSeek, Z.ai, Comtegra, etc.) are served by
jcode-provider-openai-runtime, which reads the globalopenai_service_tierconfig (crates/jcode-provider-openai-runtime/src/lib.rs) and surfaces it as the session service tier. The setting's name/comment implies OpenAI-only, but it applies to every OpenAI-compatible provider.