sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.59k stars 275 forks source link

bug: Duplicated "Gemini model" options in new Cody AI chats #4207

Closed FisherKeyBr closed 2 months ago

FisherKeyBr commented 4 months ago

Version

v1.18.0 (pre-release)

Describe the bug

After configuring Gemini models for use with the Cody AI extension, opening a new chat results in duplicated "Gemini model" options being displayed in the model selection menu. This creates confusion and makes it difficult to select the desired Gemini model.

Steps to reproduce:

Configure Gemini models for use within the Cody AI extension. Open a new chat within VS Code using Cody AI. Observe the model selection menu – the "Gemini model" option will be duplicated.

Expected behavior

The model selection menu should present a single, unique entry for each available Gemini model, avoiding duplicates.

Additional context

image

image (1)

abeatrix commented 4 months ago

Thanks for reporting the issue @FisherKeyBr ! Can you confirm if this issue persist when you restart Cody?

github-actions[bot] commented 2 months ago

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.