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

BaseTool.additional_instructions parameter is mandatory #168

Closed
bonk1t opened this issue Sep 18, 2024 · 0 comments Β· Fixed by #169
Closed

BaseTool.additional_instructions parameter is mandatory #168

bonk1t opened this issue Sep 18, 2024 · 0 comments Β· Fixed by #169

Comments

@bonk1t
Copy link
Contributor

bonk1t commented Sep 18, 2024

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

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

Successfully merging a pull request may close this issue.

1 participant