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

Azure OpenAI setup fails with error AttributeError: 'ConfigSettings' object has no attribute 'get_azure_deployment_id_for_model' #4838

Closed
1 task done
FerranSalguero opened this issue Jun 29, 2023 · 6 comments

Comments

@FerranSalguero
Copy link

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

Using Azure OpenAI, after setting up my goals it fails with the following error:
Screenshot 2023-06-29 102025

File "/app/autogpt/llm/utils/init.py", line 144, in create_chat_completion
] = config.get_azure_deployment_id_for_model(model)
AttributeError: 'ConfigSettings' object has no attribute 'get_azure_deployment_id_for_model'

Checking the code it seems that ConfigSettings was rearched but this init still uses this function

Upload Activity Log Content

No response

Upload Error Log Content

No response

@conver334
Copy link

conver334 commented Jul 3, 2023

I also meet this error in the same situation, windows, and after setting my goals.

@nithin-nk
Copy link

+1

1 similar comment
@jinwonkim93
Copy link

+1

@Mitrandir-main
Copy link

Has anyone solved it?

@jinwonkim93
Copy link

@Mitrandir-main this fix the problem #4875

@collijk
Copy link
Contributor

collijk commented Jul 7, 2023

This should be fixed with #4875 . Please @ me if you're still having issues.

@collijk collijk closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants