Skip to content

bug(desktop): top bar active model can disagree with Settings current provider model #136

@Sun-sunshine06

Description

@Sun-sunshine06

Summary

The desktop app can show inconsistent model state between the top bar and Settings.

In the user screenshot:

  • the top bar shows the active model as opus-4-7
  • but the currently active Claude Code (imported) provider card in Settings shows the model dropdown as claude-3-5-haiku-20241022
  • the same provider card is also marked as 当前

This makes it unclear which model will actually be used for generation.

Why This Matters

This is not just a cosmetic mismatch.

If the UI shows one model in the top bar but another model inside the active provider card, users cannot tell:

  • which model is really active
  • whether generation requests are using the top-bar selection or the provider default
  • whether a later generate failure is caused by provider/model state drift

This may also be related to reports where:

  • test connection succeeds but real generate fails
  • users believe they are using opus-4.7, but the request may be resolved differently internally
  • aborted / blocked / upstream validation errors become harder to diagnose

Evidence

User screenshot shows:

  • top bar: claude-code-imported · opus-4-7
  • Settings -> API 服务 -> current provider card: model dropdown shows claude-3-5-haiku-20241022
  • the provider card is marked 当前

Expected Behavior

The app should present a single consistent active-model state.

One of these should be true:

  • the top bar and Settings always show the same resolved active model, or
  • the UI clearly distinguishes between current active model and provider default model

Actual Behavior

The UI appears to show two different model values for what looks like the same active provider.

Suggested Follow-up

  • audit the source of truth for active provider + active model in top bar vs Settings
  • verify whether Settings is showing provider default model while the top bar shows resolved active model
  • ensure model changes in either place stay synchronized
  • consider adding diagnostics logging for resolved provider/model at generate time when UI state differs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions