Skip to content
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

Update Google Generative AI to >= 0.24.0 #7820

Closed
5 tasks done
hongkongkiwi opened this issue Mar 10, 2025 · 3 comments · Fixed by #7880
Closed
5 tasks done

Update Google Generative AI to >= 0.24.0 #7820

hongkongkiwi opened this issue Mar 10, 2025 · 3 comments · Fixed by #7880
Labels
auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs

Comments

@hongkongkiwi
Copy link
Contributor

Checked other resources

  • 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

Just needs to update the package.json for the @langchain/google-genai module to include the latest google generative AI version.

Error Message and Stack Trace (if applicable)

No response

Description

Please update google generative AI to 0.24.0 or later beacuse they have added a new enum to HarmCategory which was missing in previous versions "HARM_CATEGORY_CIVIC_INTEGRITY".

System Info

NA

@dosubot dosubot bot added the auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs label Mar 10, 2025
@hongkongkiwi
Copy link
Contributor Author

Please update this for next release if possible.

@jacoblee93
Copy link
Collaborator

Hi, sorry for the delay. Will land shortly.

@jacoblee93
Copy link
Collaborator

Now live in 0.1.12! Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants