-
Notifications
You must be signed in to change notification settings - Fork 4k
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
NotFoundError: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}} #822
Comments
@pranavvr-lumiq it's looks to me as a problem with your endpoint for OpenAI api. you can see more here: https://learn.microsoft.com/en-us/answers/questions/1308161/the-api-deployment-for-this-resource-does-not-exis Can you please check if you configuration file is setup properly? |
Thanks for the quick reply @julianakiseleva. This is not my first time using autogen. i was using it succesfully with a conventional openai API key, until my company temporarily shut them down. Right now i am trying to use an azure openai key, and this issue started. I do believe the config json file is set up correctly. I followed the instructions closely. |
I also encountered with the same problem. Sad :-( |
Yeah same thing here |
Could you share an example of the config that failed? |
Sure. here it is: { |
The Azure API endpoint requires a EDIT: Nevermind, the docs are so terrible that apparently the |
Finally figured it out. The deployment name my coworker gave me was incomplete. Filled in the full deployment name in the model section and it worked. |
What is the proper format for Azure OpenAI deployment name that works in autogen? |
Normally the "model" key should have your model deployment name as its value. |
In spring AI, the application.properties should look like this: spring.ai.azure.openai.api-key= this will solve the problem |
Sorry, as per documentation and with spring-ai version 0.8.0-SNAPSHOT, this does not works. |
I am getting the following error:
NotFoundError: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}
trying to recreate this notebook locally:
https://github.com/microsoft/autogen/blob/main/notebook/agentchat_auto_feedback_from_code_execution.ipynb
The text was updated successfully, but these errors were encountered: