Bug Description
when we login its possible to select a provider and cancel model selection
Steps to Reproduce
:login
login to a different provider than what you have in default
Say Y to to setting as default provider
Model picker opens cancel it.
check :config
Expected Behavior
Invalid state should not be able to be saved as config. Rollback the provider as well. Or Reset both model & provider
Actual Behavior
Described already
Error Logs
Forge Version
main
Operating System
None
OS Version
No response
AI Provider
None
Model
No response
Installation Method
npx forgecode@latest
Configuration