Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export every root level type #4237

Open
yleflour opened this issue Dec 31, 2024 · 0 comments
Open

Export every root level type #4237

yleflour opened this issue Dec 31, 2024 · 0 comments
Labels
ai/core enhancement New feature or request

Comments

@yleflour
Copy link

Feature Description

Export every declared root level types in the core sdk, such as:

  • ProviderMetadata
  • TelemetrySettings

There may be more but I haven't had time to go through all of them

Use Cases

I'd like to be able to write wrappers and middlewares for the core ai-sdk.
Missing such export makes it a bit painful to implement them as I need to extract them from existing exported types.
Also, as I'm building a library, "ai" is imported as a peer dependency so I'm unable to patch it.

Additional context

No response

@yleflour yleflour added the enhancement New feature or request label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants