-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode extension setttings are not read correctly #49
Comments
@sethjuarez Yeah, I tried it, and I even copied the settings to be the "non default". But no matter which model configuration I select, I always get the error. |
the same problem, it always use type azure_openai even if I set openai instead |
I am experiencing the same issue (even with hardcoded values, not being read from environment). |
oof - ok - I will look into it - I am adding some features to the extension this week/next. There's a couple of invokers I need to add to make this work |
Same issue here |
We read the setting from prompty.currentModelConfiguration. In some cases VSCode saves to .vscode/settings.json. And some cases it's saved to your user levels settings. @BartNetJS @AnaTipps @perkops @abakumovoleg @anuraj @Godfather95 , can you let me know what's your case? I'll see how to make this less problematic |
In my case, aside from multiple configuration files, the endpoint was overridden in the yaml file itself. I copied it from a sample and didn't notice the setting and didn't remove it and it overrode my settings files. A strategy I've used in the past is to have a way to retrieve all of the current settings to see if they're what is expected. If a value isn't what you expect, it's just a matter of tracking down the source of the unexpected value. Also, a document explaining all the possible places values can be read from and in what precedence order is also useful. |
Same issue here |
I am using the following configuration in settings.json:
When running a
.prompty
file, I get the following info message in the Prompty Output:info] Missing prompty configuration setting: MissingDeployment. Your setting is {"name":"default","type":"azure_openai","api_version":"2023-12-01-preview","azure_endpoint":"https://<EndpointName>.openai.azure.com/","api_key":"<APIKEY>"}
It seems the Extension doesn't even read the "azure_deployment" from the settings.
The text was updated successfully, but these errors were encountered: