Skip to content
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

Version 0.8.63 causes "404 Resource not found," while 0.8.61 works fine #3388

Closed
3 tasks done
alexspringgit opened this issue Dec 16, 2024 · 6 comments
Closed
3 tasks done
Assignees
Labels
ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior

Comments

@alexspringgit
Copy link

alexspringgit commented Dec 16, 2024

Before submitting your bug report

Relevant environment info

- OS: Windows 11 23H2
- Continue version: 0.8.63
- IDE version: VSCode 1.96.0
- Model: gpt-4o on Azure
- config.json:

{
  "models": [
    {
      "title": "GPT-4o Azure",
      "model": "gpt-4o",
      "provider": "openai",
      "apiBase": "https://[REDACTED].openai.azure.com",
      "deployment": "[REDACTED]",
      "apiVersion": "2024-10-21",
      "apiType": "azure",
      "apiKey": "[REDACTED]"
    }
  ]
}

Description

When using version 0.8.63, I encounter a "404 Resource not found" error. However, when I revert to version 0.8.61, the issue is resolved. I read #2541 and followed the advice in this comment to delete ~/.continue/index, but it did not resolve the issue.

To reproduce

  1. Install version 0.8.63 and attempt a chat session to experience the error.
  2. Install version 0.8.61 and attempt a chat session to confirm the issue is resolved.

Log output

[Extension Host] Error: 404 Resource not found 
at APIError.generate (c:\Users\[REDACTED]\.vscode\extensions\continue.continue-0.8.63-win32-x64\out\extension.js:91792:18) 
at OpenAI.makeStatusError (c:\Users\[REDACTED]\.vscode\extensions\continue.continue-0.8.63-win32-x64\out\extension.js:92694:25) 
at OpenAI.makeRequest (c:\Users\[REDACTED]\.vscode\extensions\continue.continue-0.8.63-win32-x64\out\extension.js:92738:29) 
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 
at async OpenAIApi.chatCompletionStream (c:\Users\[REDACTED]\.vscode\extensions\continue.continue-0.8.63-win32-x64\out\extension.js:96782:26) 
at async OpenAI2.streamChat (c:\Users\[REDACTED]\.vscode\extensions\continue.continue-0.8.63-win32-x64\out\extension.js:108614:32) 
at async llmStreamChat (c:\Users\[REDACTED]\.vscode\extensions\continue.continue-0.8.63-win32-x64\out\extension.js:602632:23) 
at async kh.value (c:\Users\[REDACTED]\.vscode\extensions\continue.continue-0.8.63-win32-x64\out\extension.js:609610:29)
@dosubot dosubot bot added ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Dec 16, 2024
@alexspringgit
Copy link
Author

Additional Information: In the pre-release versions, the error occurs in 0.9.242, but is not present in 0.9.241.

@ctwardy
Copy link
Contributor

ctwardy commented Dec 16, 2024

Seeing this here too, and saw it in pre-release also. Like the OP, we use Azure OpenAI.

Error Message

console.ts:137 [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": ".....",
    "messageType": "llm/streamChat",
    "data": {
      "messages": [
        {
          "role": "user",
          "content": [
            {
              "type": "text",
              "text": "\n\nts src/app/features/serial-preview/serial-preview-actions/serial-preview-actions.component.ts (628-628)\n    this.toastService.toastInfo( 'Duplicating document...' );\n\nHi -- what does this mean to you?  (This is a test)"
            }
          ]
        },
        {
          "role": "assistant",
          "content": ""
        }
      ],
      "title": "Azure Private Cloud GPT-3.5 Turbo",
      "completionOptions": {}
    }
  }
}

Sample model config

Here is our GPT-3.5T. Similar for 4 and 4o.

{
      "title": "Azure Private GPT-3.5 Turbo",
      "provider": "openai",
      "apiType": "azure",
      "model": "gpt-3.5t",
      "deployment": "gpt35t",
      "apiBase": "https://azureapi.[REDACTED]/",
      "apiVersion": "2024-06-01",
      "apiKey": "${AZURE_OPENAI_API_KEY}",
      "systemMessage": "You are an expert software developer. You give helpful and concise responses.",
      "contextLength": 8192,
      "completionOptions": {
        "maxTokens": 4096 // Use 3.5 for longer responses.
      }
    }

We have our own endpoint using userToken and caBundlePath. Guessing the OP wouldn't need those though.

@danoco78
Copy link

I’m having the same issue, except that I’m on version 0.9.246.
this is my setup:

  • OS: Mac os 15.2 (24C101)
  • Continue version: 0.9.246
  • IDE version: VSCode Version: 1.96.2 (Universal)
  • Model: gpt-4o on Azure

@Patrick-Erichsen
Copy link
Collaborator

Hi folks, thanks for the notice here. Tracking updates to this issue, and other related issues with Azure after the 0.8.63 release, in this thread: #3477

@sestinj
Copy link
Contributor

sestinj commented Dec 20, 2024

See here: #3477 (comment)

This should be solved in a new release

@DenisMkS
Copy link

it's working now, thanks!

@sestinj sestinj closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

6 participants