Skip to content

Conversation

jsonbailey
Copy link
Contributor

@jsonbailey jsonbailey commented Oct 3, 2025

Note

Introduces packages/ai-providers/server-ai-langchain with a LangChainProvider integrating LaunchDarkly AI SDK with LangChain, plus CI/release wiring.

  • AI Providers:
    • New package packages/ai-providers/server-ai-langchain:
      • Implements LangChainProvider (src/LangChainProvider.ts) with invokeModel, convertMessagesToLangChain, createAIMetrics, mapProvider, and createLangChainModel (via initChatModel).
      • Exposes API via src/index.ts.
      • Adds tests (__tests__/LangChainProvider.test.ts), Jest config, TS configs, and package metadata.
  • Release/CI:
    • Updates .github/workflows/release-please.yml to add output and release-server-ai-langchain job.
    • Adds package to .release-please-manifest.json and release-please-config.json (pre-release, bump-minor-pre-major).
    • Adds workspace entry in root package.json.

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

Copy link
Contributor

github-actions bot commented Oct 3, 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 3, 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 3, 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

Copy link
Contributor

github-actions bot commented Oct 3, 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

@jsonbailey jsonbailey marked this pull request as ready for review October 7, 2025 17:37
@jsonbailey jsonbailey requested a review from a team as a code owner October 7, 2025 17:37
cursor[bot]

This comment was marked as outdated.

@jsonbailey jsonbailey requested a review from ctawiah October 7, 2025 20:55
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

We may include these in the future but they don't need to be added now and not in the langchain PR.
This is debatable since the model did produce a result. Returning not success allows users to rollback an invalid config that generates an unsupported response so we are taking a more cautious approach.
@jsonbailey jsonbailey merged commit 9cbfb87 into main Oct 13, 2025
30 checks passed
@jsonbailey jsonbailey deleted the jb/sdk-1454/ai-provider-langchain branch October 13, 2025 21:31
@github-actions github-actions bot mentioned this pull request Oct 13, 2025
jsonbailey pushed a commit that referenced this pull request Oct 13, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>server-sdk-ai-langchain: 0.1.0</summary>

## 0.1.0 (2025-10-13)


### Features

* Add LangChain Provider for AI SDK
([#941](#941))
([9cbfb87](9cbfb87))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Release `@launchdarkly/server-sdk-ai-langchain` 0.1.0, adding the
LangChain Provider and updating versions/manifest.
> 
> - **AI Providers**:
>   - **`packages/ai-providers/server-ai-langchain`**:
> - Version bump to `0.1.0` in `package.json` and
`.release-please-manifest.json`.
> - Add `CHANGELOG.md` documenting the new LangChain Provider feature.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
51a8a32. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Oct 14, 2025
jsonbailey added a commit that referenced this pull request Oct 14, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>server-sdk-ai-langchain: 0.1.0</summary>

##
[0.1.0](server-sdk-ai-langchain-v0.1.0...server-sdk-ai-langchain-v0.1.0)
(2025-10-14)


### Features

* Add LangChain Provider for AI SDK
([#941](#941))
([9cbfb87](9cbfb87))


### Bug Fixes

* Make unit test less brittle and add CI
([#953](#953))
([a2236a9](a2236a9))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Updates `packages/ai-providers/server-ai-langchain/CHANGELOG.md` to
add the 0.1.0 entry with a bug fixes section and adjusted date.
> 
> - **Changelog updates**
(`packages/ai-providers/server-ai-langchain/CHANGELOG.md`):
>   - Add `0.1.0 (2025-10-13)` entry.
> - Add **Bug Fixes** section noting unit test stability and CI
addition.
>   - Retain feature entry for LangChain Provider.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1937cb9. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jason Bailey <[email protected]>
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.

3 participants