Skip to content

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

@vacekj

Description

@vacekj
  • 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions