vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Problem with AI status displaying after changing of the org settings

Open sergeibbb opened this issue 8 months ago • 0 comments

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).

sergeibbb avatar Jun 16 '25 13:06 sergeibbb