Skip to content

Comments

fix(genai): Support Langchain ProviderStrategy for Gemini models#1466

Open
Juan Felipe Arias (juanfe88) wants to merge 4 commits intolangchain-ai:mainfrom
juanfe88:main
Open

fix(genai): Support Langchain ProviderStrategy for Gemini models#1466
Juan Felipe Arias (juanfe88) wants to merge 4 commits intolangchain-ai:mainfrom
juanfe88:main

Conversation

@juanfe88
Copy link

@juanfe88 Juan Felipe Arias (juanfe88) commented Dec 19, 2025

Description

Added handling for the bind arguments passed by Langchain's implementation of provider strategy aka native structured output

Relevant issues

Fixes #1384

Type

🐛 Bug Fix

Changes(optional)

Testing(optional)

Note(optional)

Currently the fix is only applied for the ChatGoogleGenerativeAI class as it is the current one, but it could be expanded to ChatVertexAI one if necessary

@juanfe88 Juan Felipe Arias (juanfe88) changed the title fix: Support Langchain ProviderStrategy for Gemini models fix (genai): Support Langchain ProviderStrategy for Gemini models Dec 22, 2025
@juanfe88 Juan Felipe Arias (juanfe88) changed the title fix (genai): Support Langchain ProviderStrategy for Gemini models fix(genai): Support Langchain ProviderStrategy for Gemini models Dec 22, 2025
@juanfe88
Copy link
Author

Hello Mason Daugherty (@mdrxy), Hope you're doing well. I have noticed you are one of the active maintainers of the repo. Can I get this PR reviewed please ? 😄

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.

ProviderStrategy fails with JSONDecodeError for Gemini on VertexAI

1 participant