-
Notifications
You must be signed in to change notification settings - Fork 304
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
APIConnectionError: OpenAI API #15045
Comments
Full stack trace Show Logs
|
Thanks for filing this issue and sorry you are running into this issue. |
Thanks for your reply and sorry for the late response. |
Thank you for your time. Today as of 26.01.2024, I tried to set the API key environment variable inside Earlier as said in the previous comment, I used to set the API key through by code by loading a Now, I don't know if it still can be called a bug. Should I have just read the file asynchronously, or some other way. It would be helpful to know if this is an issue or just my fault, and also how to solve this problem, because in future I might write some code that requires to use |
Sorry, but without seeing the code its not possible to tells whats wrong. Closing as fixed. |
Applies To
What happened?
I am using OpenAPI for chat API requests and have also provided required API key. It works when trying to install the application as a package, it also works when I use web client of Jupyter Notebook hosted on localhost, but as I try to use VSCode extension of Jupyter Notebook. It throws this exception.
I tried to find bugs in my code.
Show Logs
VS Code Version
1.84.1 x64
Jupyter Extension Version
v2023.10.1100000000
Jupyter logs
Coding Language and Runtime Version
Python v3.11.1
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: