continue icon indicating copy to clipboard operation
continue copied to clipboard

Issues with AzureAI / o1 following 0.8.63 release

Open Patrick-Erichsen opened this issue 1 year ago • 11 comments

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

Patrick-Erichsen avatar Dec 20 '24 17:12 Patrick-Erichsen

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 avatar Dec 20 '24 20:12 sestinj

@sestinj , tried v0.8.66 and still see the 404 error

thomaspmorgan avatar Dec 23 '24 17:12 thomaspmorgan

@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". 12-31-2024 (10-43-25)

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)

DaCostaMathias avatar Dec 30 '24 21:12 DaCostaMathias

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

eweidner avatar Jan 02 '25 20:01 eweidner

I have this issue as well.

ntaylor-ads avatar Jan 07 '25 15:01 ntaylor-ads

cc @sestinj here

@DaCostaMathias I don't think this is related to the path URI issues based on the 404 that @eweidner is getting.

Patrick-Erichsen avatar Jan 08 '25 19:01 Patrick-Erichsen

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>
  }

ntaylor-ads avatar Jan 16 '25 20:01 ntaylor-ads

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 avatar Jan 16 '25 20:01 ntaylor-ads

@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.

eweidner avatar Jan 21 '25 22:01 eweidner

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.

github-actions[bot] avatar Apr 22 '25 02:04 github-actions[bot]

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!

github-actions[bot] avatar May 02 '25 02:05 github-actions[bot]