Closed iamdangry closed 2 months ago
Hey @iamdangry
If you haven't already, you also need to run AI: Select Text Model from Config
to actually select the model you want to use:
I'm realizing now there probably isn't a good indication that you have to do that 😅
The selected model is per client (similar to the dark mode setting in sb). I think we can improve this though and have the default model change automatically if it's the only one in the list like in your screenshot
Ahhhh that did the trick. Thanks!
Odd that changing the image model in the settings updated automatically? Atleast that seemed to be what was happening based off the console output. Is that the expected behaviour? Think this is what confused me and I didn't bother to look in the command palette like a smart user 😂
Edit: +1 for settings defining the model if it is the only option. Something like dark mode being per client doesn't bother me much, but if I have defined a setting, would be great if it sticks 🙂
Thanks @iamdangry, I'm glad that worked!
I pushed a new update so if there's only a single text or image model in the settings, it'll always select it as the current model.
Odd that changing the image model in the settings updated automatically? Atleast that seemed to be what was happening based off the console output. Is that the expected behaviour?
What you saw with the image model is the expected behavior, but I guess I messed something up with some backwards compatibility logic I had from before we had a list of textModels
and it was just a single object. I ended up removing that since it's not needed anymore
Updating the SETTINGS yaml with an alternate GPT model other than the default of 3.5 doesn't appear to take effect.
Snippet from SETTINGS:
Console output says it detects a change but the model doesn't change:
This is further confirmed by the API Usage Dashboard showing my API calls are to
GPT-3.5-turbo-0125
instead ofgpt-4o
I can update the image model fine via SETTINGS and the console logs the change correctly.
Of course, if I have done a dumb, please let me know.