Skip to content

[Vertex AI] Fix parallel function calling in sample #14028

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

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

andrewheard
Copy link
Contributor

Fixed the handling of parallel function calls in the Vertex AI in Firebase sample app. The backend enforces that all function response parts are provided in a single turn (ModelContent) when the multiple (parallel) function calls were generated in the previous turn. See #14022 for context.

Example

Parallel Function Calling Screenshot
Note: Exchange rates are hardcoded, not accurate.

#no-changelog

@andrewheard andrewheard marked this pull request as ready for review November 5, 2024 00:11
@andrewheard andrewheard requested a review from ncooke3 November 5, 2024 00:11
@andrewheard andrewheard merged commit bc41b66 into main Nov 5, 2024
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-func-call-sample branch November 5, 2024 15:27
@firebase firebase locked and limited conversation to collaborators Dec 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants