Issues with AzureAI / o1 following 0.8.63 release
Overview
https://github.com/continuedev/continue/issues/3427#issuecomment-2548665948 seems like the most likely potential root cause:
v0.8.63 seems to have re-introduced URL construction errors for Azure OpenAI endpoints.
Related issues
- https://github.com/continuedev/continue/issues/3407
- https://github.com/continuedev/continue/issues/3424
- https://github.com/continuedev/continue/issues/3388
- https://github.com/continuedev/continue/issues/3427
I just released v0.8.66-vscode with a hot fix to solve all of the Azure problems
https://github.com/continuedev/continue/releases/tag/v0.8.66-vscode
@sestinj , tried v0.8.66 and still see the 404 error
@sestinj, I also try v0.8.66 and latest pre release but I still have the issue for the embeddings using the model "text-embedding-3-large".
Could it be link to the path issue reading the config file that is currently affecting JetBrains version of the plugin? With the latest pre release build I get this error when I click on the cog ERR cannot open C:%5CUsers%5Cdacostam%5C.continue%5Cconfig.json. Detail: Unable to resolve resource C:%5CUsers%5Cdacostam%5C.continue%5Cconfig.json: CodeExpectedError: cannot open C:%5CUsers%5Cdacostam%5C.continue%5Cconfig.json. Detail: Unable to resolve resource C:%5CUsers%5Cdacostam%5C.continue%5Cconfig.json
at hVe.$tryOpenDocument (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:748:8481)
Still have this issue as well with 0.8.66. 0.8.61 still works.
On 0.8.66
"msg": {
"messageId": "b6cc5c61-11fd-4d4d-b4cf-81876d851f33",
"messageType": "llm/streamChat",
"data": {
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "hellow"
}
]
},
{
"role": "assistant",
"content": ""
}
],
"title": "MY-AZURE-GPT-4o-eastus",
"completionOptions": {}
}
}
}
Error: 404 Resource not found
I have this issue as well.
cc @sestinj here
@DaCostaMathias I don't think this is related to the path URI issues based on the 404 that @eweidner is getting.
I updated the config for my models to use "azure" as the provider. (I had previously changed it back to openai because of #2830). Now all chat models are working. However, (like @DaCostaMathias) the text-embedding-3-large model is not working with either provider.
With azure as the provider:
Error: Failed to generate embeddings for 8 chunks with provider: undefined: TypeError: this.embeddingsProvider.embed is not a function
With openai as the provider:
Error: Failed to generate embeddings for 10 chunks with provider: OpenAI2::text-embedding-3-large::500: Error: 404 Resource not found
Remaining issues seem related to #3072. Perhaps worth noting that embeddings with this exact deployment and config were working in previous versions of continue.
{
"provider": "openai",
"model": "text-embedding-3-large",
"apiType": "azure",
"deployment": "text-embedding-3-large",
"apiBase": "https://<REDACTED>.openai.azure.com/",
"apiKey": <REDACTED>
}
Update: specifying api version "2024-02-15-preview" for the embeddings got it working for me
{
"provider": "openai",
"model": "text-embedding-3-large",
"apiType": "azure",
"deployment": "text-embedding-3-large",
"apiBase": "https://<REDACTED>.openai.azure.com/",
"apiKey": <REDACTED>,
"apiVersion": "2024-02-15-preview"
}
@ntaylor-ads You solved my problem! I have had provider=openai for my azure gpt endpoints forever (and still working that way in v 0.8.61). I missed the move to use an "azure" provider.
Now I have these settings and it's working in the 0.8.66 release
"provider": "azure",
"model": "gpt-4",
"apiType": "azure",
"engine": "gpt-4o-240806-model",
"deployment": "gpt-4o-240806-model",
"apiVersion": "2024-08-01-preview"
...other values clipped...
I had to add deployment a few months ago, but today all I changed was the provider.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!