Skip to content

Google GenAI Library Deprecated #8655

@Steffen911

Description

@Steffen911

Checked other resources

  • This is a bug, not a usage question. For questions, please use the LangChain Forum (https://forum.langchain.com/).
  • I added a very descriptive title to this issue.
  • I searched the LangChain.js documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain.js rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

We're using @langchain/google-genai in our code. This references https://www.npmjs.com/package/@google/generative-ai which links to https://github.com/google-gemini/deprecated-generative-ai-js and a deprecation notice. We've noticed a couple bugs within the google genai implementation around stream parsing failures and would ask that this package is upgrade to the new, supported SDK.

Error Message and Stack Trace (if applicable)

No response

Description

See above.

System Info

"@langchain/google-genai": "^0.2.12",

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions