Skip to content

Conversation

mdrxy
Copy link
Collaborator

@mdrxy mdrxy commented Sep 18, 2025

https://docs.langchain.com/oss/python/releases/langchain-v1
https://googleapis.dev/python/generativelanguage/latest/

CHANGELOG

TODO

  • Remove convert_system_message_to_human (langchain_google_genai/chat_models.py:2303)

TODO(genai)

  • Ensure sufficient streaming tests
  • _convert_from_v1_to_generativelanguage_v1beta needs to handle new server tool content blocks (we already yield them, so for passing back in)

TODO(vertex)

return await _achat_with_retry(**params)


def _is_lc_content_block(part: dict) -> bool:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seemed gratuitous

return "type" in part


def _is_openai_image_block(block: dict) -> bool:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use util from core instead of redefining here as the logic is the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants