continue icon indicating copy to clipboard operation
continue copied to clipboard

Continue switches to first model when force reloading window in VSC

Open moesmufti opened this issue 1 year ago • 2 comments

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

moesmufti avatar Sep 22 '24 09:09 moesmufti

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"?

Patrick-Erichsen avatar Sep 23 '24 23:09 Patrick-Erichsen

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?

moesmufti avatar Sep 24 '24 13:09 moesmufti

It seems that it has been fixed by now, thanks anyway!

moesmufti avatar Oct 23 '24 08:10 moesmufti