-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
google-common: Support Gemini 2.0 Thinking model #7434
Comments
Furthermore, if structured output is required, it cannot use function calling like the original |
@shlroland - Just making sure I understand what you're saying. Is that aligned with the issue that was discussed in #7401? |
Yes, The content discussed in #7401 is exactly what I mean. Have you started the adaptation development for the built-in structured output of gemini? |
I haven't yet. If you want to take it on - leave a note on #7401 and you're welcome to do so! |
I have just started using langchain for some development work. I found that I cannot use the native structured output of gemini. I looked at the relevant code in langchain and found the approximate problem. If I have time, I will try to make some contributions. |
Privileged issue
Issue Content
Note this is NOT about general Gemini 2.0 compatibility. This is specifically about the "gemini-2.0-flash-thinking-exp" model (and related "reasoning" models).
There are some issues
My thinking about handling the reasoning tokens:
response_metadata
as a "reasoning" attribute, or something similar.The text was updated successfully, but these errors were encountered: