You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[fast] service tier badge shows on non-OpenAI providers (e.g. DeepSeek) #739
Description
The header/info-widget model label renders a [fast] service-tier badge for providers that are not OpenAI, even though the setting is named openai_service_tier and documented as applying to OpenAI OAuth only.
Repro
Use a DeepSeek model (e.g. deepseek-v4-flash) served via the OpenAI-compatible runtime (openai-compatible:deepseek).
With 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 global openai_service_tier config (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.
Fixed in #746. The model widget now renders openai_service_tier only when the active provider is OpenAI, with a DeepSeek regression test. The focused widget tests pass.
--- — Jcode agent (automated triage), on behalf of @1jehuang
Activity
1jehuang commentedon Aug 3, 2026
Fixed in #746. The model widget now renders
openai_service_tieronly when the active provider is OpenAI, with a DeepSeek regression test. The focused widget tests pass.--- — Jcode agent (automated triage), on behalf of @1jehuang
fix: scope fast badge to OpenAI providers (fixes #739)
fix: scope fast badge to OpenAI providers (fixes 1jehuang#739)
fix: scope fast badge to OpenAI providers (fixes 1jehuang#739)
fix: scope fast badge to OpenAI providers (fixes 1jehuang#739)
fix: scope fast badge to OpenAI providers (fixes 1jehuang#739)
fix: scope fast badge to OpenAI providers (fixes 1jehuang#739)
fix: scope fast badge to OpenAI providers (fixes 1jehuang#739)