Skip to content

[fast] service tier badge shows on non-OpenAI providers (e.g. DeepSeek) #739

Closed

Description

@1am2syman

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

  1. Use a DeepSeek model (e.g. deepseek-v4-flash) served via the OpenAI-compatible runtime (openai-compatible:deepseek).
  2. 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.

Activity

  1. added
    bug
    priority: medium
    triage: reproducible
    autonomous: clear
    on Aug 3, 2026
  2. 1jehuang commented on Aug 3, 2026

    @1jehuang
    Owner

    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

  3. added
    triage: fixed-pending-release
    on Aug 3, 2026
  4. added a commit that references this issue on Aug 3, 2026
    f044816
  5. added 5 commits that reference this issue on Aug 30, 2026
    a3a8e10
    c48d4a0
    953e804
    4d3bc25
    3381723
  6. added a commit that references this issue on Sep 18, 2026
    7593d7b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autonomous: clearbugpriority: mediumtriage: fixed-pending-releasetriage: reproducible

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions