continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
16.28k stars 1.26k forks source link

Continue switches to first model when force reloading window in VSC #2344

Open moesmufti opened 2 days ago

moesmufti commented 2 days ago

Before submitting your bug report

Relevant environment info

- OS: MacOS 14.6.1
- Continue: v0.9.211
- IDE: Visual Studio Code

Description

When force reloading the window (e.g. to refresh index) in VSC - the model reverts back to the first model in the config.json. At least, it looks like that in the output screen of VSC.

To reproduce

  1. Select another model (in my case o1-mini) that is not the first in the config.json
  2. Force reload using CMD Shift P
  3. Re-run (in my case codebase) prompt - it reverts to first model

Log output

No response

Patrick-Erichsen commented 1 day ago

Hi @moesmufti , this isn't the behavior I'm experiencing. When I select the last model from the model dropdown and then refresh, that model is still my default.

Screenshot 2024-09-23 at 4 32 42 PM

Could you clarify what you mean by "the output screen of VSC"?

moesmufti commented 17 hours ago

Hi @Patrick-Erichsen, the output screen I'm referring to is the tab next to terminal. See image below: Screenshot 2024-09-24 at 15 03 52 There, when I do a reload - even though the default model stays the same as you demonstrated - in the output tab of VSC I see a different model. Only after switching back and forth, it will return to the model I had selected before.

I hope that makes more sense?