Skip to content

Add thought wrapping support for Gemini 2.5+ #78

Merged
satchelbaldwin merged 4 commits intomainfrom
gemini-thoughts
Mar 3, 2026
Merged

Add thought wrapping support for Gemini 2.5+ #78
satchelbaldwin merged 4 commits intomainfrom
gemini-thoughts

Conversation

@satchelbaldwin
Copy link
Contributor

  • Handle thoughts in agent response by wrapping output into AIMessages
  • Use a custom process_result rather than just superclass handler for Gemini specific behaviors
  • Hide thoughts for beaker frontend purposes, which are too verbose to be useful but properly handled
  • Keep text fields
  • Bump langchain dependency to 4.2.1 for Gemini 3 support

@satchelbaldwin satchelbaldwin merged commit 6d933f7 into main Mar 3, 2026
1 check 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