-
Notifications
You must be signed in to change notification settings - Fork 43
Add basic AI SDK example extracted from wrapper repo #48
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
base: pdf-example-effect
Are you sure you want to change the base?
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a comprehensive basic example for using the Vercel AI SDK v5 with the OpenRouter provider, demonstrating fundamental SDK patterns. The PR description mentions fixing a lint error by replacing any with an explicit type.
Key changes:
- Added a new basic example file showcasing six different AI SDK usage patterns
- Included type-safe handling of provider metadata using an explicit type annotation instead of
any
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
646c5b6 to
a0b45d1
Compare
998a95f to
6a73a21
Compare
a0b45d1 to
7fb59b4
Compare
6a73a21 to
9c1f09c
Compare
louisgv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should break these into 6 small files imo?

Add basic AI SDK example extracted from wrapper repo
Fix lint error: replace any with explicit type