Skip to content

[Bug]: Model and provider selction is not atomic on login #2714

@amitksingh1490

Description

@amitksingh1490

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions