Skip to content

fix(desktop): apply tray model switches#2

Open
joohw wants to merge 1 commit into
mainfrom
fix/tray-model-switch-applies
Open

fix(desktop): apply tray model switches#2
joohw wants to merge 1 commit into
mainfrom
fix/tray-model-switch-applies

Conversation

@joohw
Copy link
Copy Markdown
Owner

@joohw joohw commented May 28, 2026

Summary

  • Route Electron tray model selections through clovapi switch --cli ... --provider ... --model ... so target agent CLI configs are applied, not just profiles.json active bindings.
  • Extract the tray switch action into a small testable helper and add focused coverage for success and failure paths.
  • Restore the missing reachableLoopbackHost test export so the existing Electron test suite passes on the PR branch.

Test plan

  • npm test in electron/
  • go test ./... in core/

Made with Cursor

Route tray model selections through clovapi switch so agent CLI configs are updated together with profiles state.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant