chore: bump tracked-chat example to LangChain 1.x#1328
Merged
Conversation
Updates @langchain/core, @langchain/google-genai, and langchain to 1.x to align with the peer dependency requirements introduced in @launchdarkly/server-sdk-ai-langchain. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
@launchdarkly/js-sdk-common size report |
Contributor
|
@launchdarkly/browser size report |
Contributor
|
@launchdarkly/js-client-sdk size report |
Contributor
|
@launchdarkly/js-client-sdk-common size report |
kinyoklion
approved these changes
Apr 27, 2026
…judge examples Both examples depend on server-sdk-ai-langchain which requires @langchain/core and langchain as peer deps. Best practice for app code is to list all runtime dependencies explicitly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@langchain/corefrom^0.3.78to^1.1.42@langchain/google-genaifrom^0.2.18to^1.0.3langchainfrom^0.1.0to^1.3.5Follow-up to #1311 which updated
@launchdarkly/server-sdk-ai-langchainto require LangChain 1.x peer deps. Thetracked-chatexample was still pinned to pre-1.x versions.Test plan
yarn startintracked-chatexample — SDK initialized and completed successfully🤖 Generated with Claude Code
Note
Low Risk
Low risk dependency-only changes limited to example
package.jsonfiles; main risk is install/build breakage if peer-dep expectations differ.Overview
Updates server AI SDK examples to use LangChain 1.x dependencies.
tracked-chatbumps@langchain/core,@langchain/google-genai, andlangchainto 1.x versions, andchat-judge/direct-judgeadd explicit@langchain/coreandlangchain1.x deps to satisfy the@launchdarkly/server-sdk-ai-langchainpeer requirements.Reviewed by Cursor Bugbot for commit 5f2e5d7. Bugbot is set up for automated code reviews on this repo. Configure here.