Skip to content

Conversation

andrewklatzke
Copy link
Contributor

Requirements

  • I have added test coverage for new or changed functionality -- removed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

Private JIRA issue

Describe the solution you've provided

Removes the implementation of the toVercelAISDK from the LDAIAgent implementation as the return type does not conform to the agents data model.

Describe alternatives you've considered

This method will need to be updated to work specifically with agents. Specifically, the instructions and tools fields will need to be mapped to Vercel's agent contract

Additional context

When built locally, the toVercelAISDK method is no longer required to be implemented in the default values:

Screenshot 2025-08-26 at 9 08 13 AM

@andrewklatzke andrewklatzke requested a review from a team as a code owner August 26, 2025 18:07
Copy link
Contributor

@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

@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

@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

@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

@andrewklatzke andrewklatzke merged commit f71a457 into main Aug 26, 2025
27 of 28 checks passed
@andrewklatzke andrewklatzke deleted the aklatzke/REL-9248/remove-vercel-method-agents branch August 26, 2025 21:04
@github-actions github-actions bot mentioned this pull request Aug 26, 2025
abarker-launchdarkly pushed a commit that referenced this pull request Aug 27, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>server-sdk-ai: 0.11.2</summary>

##
[0.11.2](server-sdk-ai-v0.11.1...server-sdk-ai-v0.11.2)
(2025-08-26)


### Bug Fixes

* **ai-sdk:** Remove Vercel mapping method from LD
([#911](#911))
([f71a457](f71a457))
</details>

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

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