Skip to content

fix(@langchain/google): Role name for function response in Vertex#10400

Merged
Hunter Lovell (hntrl) merged 4 commits intolangchain-ai:mainfrom
afirstenberg:vertex-function-role
Mar 17, 2026
Merged

fix(@langchain/google): Role name for function response in Vertex#10400
Hunter Lovell (hntrl) merged 4 commits intolangchain-ai:mainfrom
afirstenberg:vertex-function-role

Conversation

@afirstenberg
Copy link
Contributor

Google removed the "function" role, so now it should be "user".

This fixes the issues raised in #10292 and was branched from it because I needed it for test purposes.

@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2026

🦋 Changeset detected

Latest commit: a555b7a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@langchain/google Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hntrl Hunter Lovell (hntrl) merged commit a870750 into langchain-ai:main Mar 17, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants