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

bug: Multiple tool calls in one completion response are not handled #179

Open
1 task done
vacekj opened this issue Jan 1, 2025 · 1 comment
Open
1 task done

Comments

@vacekj
Copy link

vacekj commented Jan 1, 2025

  • I have looked for existing issues (including closed) about this

Bug Report

Instead of handling all of the tool calls, the current agent impl only handles the first one.

Reproduction

Call a model that returns multiple tool calls, for example the calculator agent with multiple subs and adds

Expected behavior

Rig correctly evaluates all of the tool calls.

Actual behaviour

Rig only evaluates the first tool call.

Fix PR incoming!

@0xMochan
Copy link
Contributor

0xMochan commented Jan 2, 2025

Check out #168 as a potential fix that was deployed specifically for Anthropic!

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

2 participants