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.74k stars 727 forks source link

BaseTool.additional_instructions parameter is mandatory #168

Closed bonk1t closed 2 months ago

bonk1t commented 2 months ago

The issue is that we enforce strict str type on the additional_instructions parameter:

🐧 RoutingAgent 🛠️ Executing Function Function(arguments='{"my_primary_instructions":"...","recipient":"...Agent","message":"...","additional_instructions":null}', name='SendMessage')
──────────────────────────────────────────────────────────────────────────────── SendMessage ⚙️ Function Output Error: 1 validation error for SendMessage additional_instructions Input should
be a valid string [type=string_type, input_value=None, input_type=NoneType]

The fix: to use str | None