Skip to content

Conversation

@afirstenberg
Copy link
Contributor

This ensures that the google-common based libraries will work with v1 libraries. Primary tasks were:

  • Move from jest to vitest
  • Dependencies on langchain-core v1.alpha.6
  • Remove and restructure some calls that no longer worked under v1
  • Remove legacy Gemini models

(Review of what I've done so far appreciated @hntrl @christian-bromann to make sure this is on the right track for v1.)

TODO:

  • Make sure all the changes through langchain-google-common 0.2.18 are included (v1 seems to have been based on 0.2.16)

Desirable:

  • Add ContentBlock support
  • Add Nano-Banana support

Switch from jest to vitest
Regression testing ok
Switch from jest to vitest
Regression testing acceptable
Switch from jest to vitest
Regression testing acceptable
Switch from jest to vitest
Regression testing acceptable
Switch from jest to vitest
Regression testing acceptable
@changeset-bot
Copy link

changeset-bot bot commented Oct 14, 2025

⚠️ No Changeset found

Latest commit: f790520

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
langchainjs-api-refs Ignored Ignored Oct 14, 2025 11:10pm
langchainjs-docs Ignored Ignored Oct 14, 2025 11:10pm

@afirstenberg afirstenberg marked this pull request as draft October 14, 2025 23:11
Copy link
Member

@hntrl hntrl left a comment

Choose a reason for hiding this comment

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

looks good!

Comment on lines 21 to 24
Copy link
Member

Choose a reason for hiding this comment

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

these scripts will need to be updated

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Missed that one. Thank you for catching.
Updated these scripts.

@@ -28,7 +28,9 @@ import { BlobStoreGoogleCloudStorage } from "../media.js";

describe("GAuth Chat", () => {
test("invoke", async () => {
const model = new ChatGoogle();
const model = new ChatGoogle({
modelName: "gemini-2.0-flash",
Copy link
Member

Choose a reason for hiding this comment

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

not blocking, but we're preferring model for this field name

@vercel
Copy link

vercel bot commented Oct 15, 2025

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.

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