HTTP 401 Unauthorized Error When Using OpenAI API with Volcengine in Continue Extension #4297
Open
2 of 3 tasks
Labels
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
"needs-triage"
Before submitting your bug report
Relevant environment info
Description
I have installed the Continue extension for VSCode and configured it with the Volcengine API that is compatible with OpenAI. While I can successfully ask questions and receive intelligent responses, I still encounter the following error message every time I open VSCode:
HTTP 401 Unauthorized from https://api.openai.com/v1/completions
{ "error": { "message": "Incorrect API key provided" } }
Despite the error, the extension works properly when interacting with the API and generating responses. I have double-checked my API key, and it appears to be correct. Could you assist me in resolving this issue where the error appears on startup?
To reproduce
Install the Continue extension in VSCode.
Configure the extension with a Volcengine API key.(Provider: openai)
Open VSCode and check the output.
Log output
The text was updated successfully, but these errors were encountered: