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.46k stars 251 forks source link

VS Code: LLM name will be changed for existing chat when user start new chat with different LLM #3950

Closed jay-fibi closed 1 month ago

jay-fibi commented 4 months ago

Version

v1.14.0

Describe the bug

Platform: MacOS

Steps to reproduce:

  1. Have Cody plugin installed in your VS Code editor
  2. Login to Cody with Pro user
  3. Open any source code and run a command "Explain Code" with LLM "Claude 2.1"
  4. Verify that the LLM name will be shown at the top of the response and you cannot change it
  5. Click on "Start New Chat" button and select any other LLM i.e. "GPT-3.5 Turbo"
  6. Click on "Return to Previous Chat" button and scroll all the way to top and check LLM name

Observed behavior:

LLM name is changed to "GPT-3.5 Turbo"

Expected behavior

The LLM name should not be changed for existing chat.

Additional context

Video link:

https://drive.google.com/file/d/1JUF6pN-eitWktst97n1UGysrUPe92ePp/view?usp=drive_link

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.