Skip to content

Conversation

jsonbailey
Copy link
Contributor

@jsonbailey jsonbailey commented Oct 2, 2025

Note

Adds a new packages/sdk/server-ai/examples/langchain-chat example demonstrating AI chat with LaunchDarkly AI SDK and LangChain, and registers it in workspaces.

  • Examples:
    • New packages/sdk/server-ai/examples/langchain-chat:
      • src/index.ts: Initializes LaunchDarkly, sets up AI chat via initAi().initChat(...), and invokes a sample conversation.
      • package.json: Adds LangChain and LaunchDarkly AI dependencies; start script builds and runs.
      • README.md: Setup instructions, env vars, and sample AI Config.
      • tsconfig.json: TS build config for the example.
  • Repo config:
    • Add example path to root package.json workspaces array.

Written by Cursor Bugbot for commit 64bdd6c. This will update automatically on new commits. Configure here.

Copy link
Contributor

github-actions bot commented Oct 2, 2025

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 169118 bytes
Compressed size limit: 200000
Uncompressed size: 789399 bytes

Copy link
Contributor

github-actions bot commented Oct 2, 2025

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 24988 bytes
Compressed size limit: 26000
Uncompressed size: 122411 bytes

Copy link
Contributor

github-actions bot commented Oct 2, 2025

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 21721 bytes
Compressed size limit: 25000
Uncompressed size: 74698 bytes

Copy link
Contributor

github-actions bot commented Oct 2, 2025

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 17636 bytes
Compressed size limit: 20000
Uncompressed size: 90259 bytes

@jsonbailey jsonbailey marked this pull request as ready for review October 7, 2025 17:34
@jsonbailey jsonbailey requested a review from a team as a code owner October 7, 2025 17:34
@jsonbailey jsonbailey requested a review from ctawiah October 7, 2025 20:56
@jsonbailey
Copy link
Contributor Author

The build will fail until we deploy the langchain-provider package.

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