Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Patel230
Copy link

Fixes #5462

Problem

CLI status bar always showed the initial provider/model even after switching to a different provider.

Solution

  • Extract "apiConfiguration" from extension state messages in "useMessageHandlers.ts"
  • Derive current provider/model from store (with fallback to initial props) in "App.tsx"

Changes

  • "apps/cli/src/ui/App.tsx": Use store values for Header component
  • "apps/cli/src/ui/hooks/useMessageHandlers.ts": Extract and update apiConfiguration from state

Testing

  • Build passes ✅
  • Type checks pass ✅
  • Lint passes ✅
  • Unit tests pass ✅

@changeset-bot
Copy link

changeset-bot bot commented Jan 29, 2026

⚠️ No Changeset found

Latest commit: 01e54b2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kevinvandijk kevinvandijk added the CLI Kilo Code CLI label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI Kilo Code CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The status bar always shows the model of the first provider in the list

2 participants