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

fix(js/vertexai): workaround for tool calling issue in Vertex SDK #1937

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

mbleigh
Copy link
Collaborator

@mbleigh mbleigh commented Feb 11, 2025

See Discord thread: https://discord.com/channels/1255578482214305893/1255583176089276566/1338956279896608800

And related Vertex SDK bug: googleapis/nodejs-vertexai#494

It should never be the case where a single part has multiple types, so we can work around this for now by prioritizing functionCall which will bypass the current behavior of returning "undefined\n".

Checklist (if applicable):

@mbleigh mbleigh merged commit 7d65e0a into main Feb 11, 2025
7 checks passed
@mbleigh mbleigh deleted the mb/vertex-tool-fix branch February 11, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants