-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Issue with Azure OpenAI API, Failed to work however much I try #1061
Comments
Have you tested your azure key in curl or postman to validate all elements: You can use tools like curl or Postman to manually test the endpoint with your key and payload. Example Postman Setup
{ |
I want to use Azure Openai which I tested in Postman and worked with Code 200 OK Headers Value = [API KEY] Body:
This gives a 200 OK Code Going to GPT-RESEARCHER When I set the .env like this
I get this error:
But If I set the .env like this using OPENAI_API_KEY=:
It works and I get this error, stops in the middle
|
This is all the error log. Note: Used Name to hide my endpoint id.
|
@Videmak Can you try adding an env var |
Describe the bug
I used openai API and everything works fine until I switched to Azure OpenAI api. I had to even redownload latest repository and used a fresh installation. Added a .env file and configures the details
This is my .env file:
To Reproduce
Steps to reproduce the behavior:
When I start researching, works fine until starts generating report. This is the error i egt
I get wrong Key yet I even try one of the two keys provided by Azure. It gives you two keys and any works but here, none works.
The text was updated successfully, but these errors were encountered: