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

Function calls dont work with Azure OpenAI currently due to differences between OpenAI API, and AzureOpenAI #78

Closed
OwenVanV opened this issue Oct 2, 2023 · 3 comments

Comments

@OwenVanV
Copy link

OwenVanV commented Oct 2, 2023

I am one of the AI Global Black Belts and have been working with AutoGPT to build some applications in the last few days. I noticed a pretty impactful bug. I have only noticed this using AzureOpenAI, but custom functions are not working. When the API returns the function call spec {"function_call"}, it triggers issues with the AutoGen create completion, as it cannot find a "Content" for the message. I tested verbatim with your demo, as well as my custom code, and the issue persists. Hopefully this is helpful! Thanks!

@sonichi
Copy link
Collaborator

sonichi commented Oct 2, 2023

Thanks. Probably the same issue with #75

@yiranwu0
Copy link
Collaborator

yiranwu0 commented Oct 2, 2023

@OwenVanV We just fixed this problem. Can you test it to see if the error persists?

@yiranwu0
Copy link
Collaborator

yiranwu0 commented Oct 3, 2023

We believe this issue is solved and are closing it. Thank you for pointing it out!

@yiranwu0 yiranwu0 closed this as completed Oct 3, 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

3 participants