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.42k stars 650 forks source link

Path adjustment changes + Typing custom validation #1

Closed og-hayden closed 10 months ago

og-hayden commented 10 months ago

The source of the import statement issues we were seeing was because all folders within the directory were called 'agency_swarm', but the parent directory was 'agency-swarm', so I went through and changed them. Demos are working as expected. Additionally, I added in .env support for the OpenAI client, although the project reqs would have to be changed to include 'python-dotenv'.

og-hayden commented 10 months ago

The create_send_message_tool func within the Agency class definition was giving me trouble due to the literal type hint not being fully supported, so I changed it to be strings and added custom validation.

VRSEN commented 10 months ago

Thank you so much!