Skip to content

Problem with AI status displaying after changing of the org settings #4400

@sergeibbb

Description

@sergeibbb

Description

In #4300 (specifically in #4398) it's became possible to refresh org settings without reloading the window. So, the current bug has been revealed.

Steps to reproduce

  1. Enable AI for your org, enable OpenAI and Azure.

  2. In GitLens sync settings, select OpenAI provider and its model.

  3. Disable OpenAI

  4. Sync your settings:

    • OpenAI model stops being shown as selected, but it says just "AI" ⚠️
    • the stars icon gets dimmed
  5. Re-Launch GitLens (or reload window)

  • Sometimes you see that OpenAI is visible and selected in the status (unfortunately it's not stable :-(

Expected result:

  1. in no.4 the message is different: instead of "AI" write "Select AI model to enable AI features"
  2. in no.5 you never see OpenAI (which is disabled) as selected after relaunch (if you can reproduce it, of course).

Metadata

Metadata

Assignees

Labels

needs-verificationRequest for verificationpending-releaseResolved but not yet released to the stable edition

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions