Skip to content

Conversation

@andrewklatzke
Copy link
Contributor

@andrewklatzke andrewklatzke commented Aug 25, 2025

Requirements

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

Related issues

Provide links to any issues in this repository or elsewhere relating to this pull request.

Describe the solution you've provided

Removes the requirement for toVercelAISDK to be specified as part of the Agent defaults. This is not a method that the implementer should have to/would be able to provide.

Before - parameter was required on the default type:

Screenshot 2025-08-25 at 12 15 57 PM

After - parameter is no longer required on the type:

Screenshot 2025-08-25 at 12 11 49 PM

Describe alternatives you've considered

This is a bug fix, so there are not alternative approaches

Additional context

Discussed offline with @abarker-launchdarkly , we should move these non-required/decorator methods to a single union for exclusion once we add additional methods that need excluded so that they don't have to be specified in multiple places.

@andrewklatzke andrewklatzke requested a review from a team as a code owner August 25, 2025 20:16
@github-actions
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

@andrewklatzke
Copy link
Contributor Author

Closing in favor of removing this method from agents entirely, ticket here: https://launchdarkly.atlassian.net/jira/software/c/projects/REL/boards/239?selectedIssue=REL-9248

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