generative-ai-python icon indicating copy to clipboard operation
generative-ai-python copied to clipboard

Relax the version requirement of google-ai-generativelanguage

Open windkit opened this issue 7 months ago • 0 comments

Description of the change

Relax the version requirement of google-ai-generativelanguage, this is to improve the interoperability with other libraries such as langchain-google-genai

Motivation

Spotted in https://github.com/langchain-ai/langchain-google/issues/956, the hard coded version would make code that utilizes libraries requiring newer version google-ai-generativelanguage stops working.

Type of change

Choose one: Feature request

Checklist

  • [x] I have performed a self-review of my code.
  • [x] I have added detailed comments to my code where applicable.
  • [x] I have verified that my change does not break existing code.
  • [x] My PR is based on the latest changes of the main branch (if unsure, please run git pull --rebase upstream main).
  • [x] I am familiar with the Google Style Guide for the language I have coded in.
  • [x] I have read through the Contributing Guide and signed the Contributor License Agreement.

windkit avatar Jun 08 '25 09:06 windkit