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
Issue fork ai_provider_google_vertex-3554897
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
Comment #3
lpeabody commentedAdded support for parallel tool calling. I don't love how this is setup, it's a bit hacked together for my own immediate needs.
Comment #4
lpeabody commentedBumping to major since the provider is not currently processing more than a single tool call, even if more than 1 is requested.
Comment #5
lpeabody commentedComment #6
mxr576Les, could you also provide testing steps for this change?
Comment #7
mxr576Comment #8
mxr576PHPstan spotted some easy issues to fix. back to needs work