VRSEN / agency-swarm

The only reliable agent framework built on top of the latest OpenAI Assistants API.
https://vrsen.github.io/agency-swarm/
MIT License
2.05k stars 537 forks source link

Unable to use Azure OpenAI #123

Open scchengaiah opened 1 month ago

scchengaiah commented 1 month ago

Hello,

I am getting the following error while following this Azure Notebook example.

openai.BadRequestError: Error code: 400 - {'error': {'message': "Unknown parameter: 'tool_resources'.", 'type': 'invalid_request_error', 'param': 'tool_resources', 'code': 'unknown_parameter'}}

Do we need to enable some additional configuration to make it functional ?

Also, I would like to use Azure OpenAI endpoint with Genesis agency as demonstrated in this notebook. However, I could not find a way to inject the azure deployment as model to the Agency. Would appreciate if someone can share a way to achieve this ?

VRSEN commented 1 month ago

Seems like azure still hasn't updated to assistants v2. Try with previous version

pip install agency-swarm==0.1.7

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity. Please upgrade to the latest version and test it again.