Problem/Motivation

Currently, if a model requests multiple function calls, only the last function call is processed.

Steps to reproduce

Proposed resolution

Ensure all requested tool calls are added to ChatMessage object.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lpeabody created an issue. See original summary.

lpeabody’s picture

Status: Active » Needs review

Added support for parallel tool calling. I don't love how this is setup, it's a bit hacked together for my own immediate needs.

lpeabody’s picture

Priority: Normal » Major

Bumping to major since the provider is not currently processing more than a single tool call, even if more than 1 is requested.

lpeabody’s picture

Title: Not all requested function calls are added to message to process » Support parallel function calling
mxr576’s picture

Les, could you also provide testing steps for this change?

mxr576’s picture

Version: 1.1.x-dev » 2.x-dev
Issue tags: +Needs backport
mxr576’s picture

Status: Needs review » Needs work

PHPstan spotted some easy issues to fix. back to needs work