Skip to content

Conversation

@subtleGradient
Copy link
Contributor

Add basic AI SDK example extracted from wrapper repo

Fix lint error: replace any with explicit type

Copy link
Contributor Author

subtleGradient commented Nov 11, 2025

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.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@subtleGradient subtleGradient marked this pull request as ready for review November 11, 2025 23:59
Copilot AI review requested due to automatic review settings November 11, 2025 23:59
Copilot finished reviewing on behalf of subtleGradient November 12, 2025 00:01
Copy link

Copilot AI left a 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.

@subtleGradient subtleGradient changed the base branch from 03-prompt-caching-aisdk to graphite-base/48 November 12, 2025 21:36
@subtleGradient subtleGradient changed the base branch from graphite-base/48 to 03-prompt-caching-aisdk November 12, 2025 22:23
@subtleGradient subtleGradient changed the base branch from 03-prompt-caching-aisdk to graphite-base/48 November 12, 2025 23:18
@subtleGradient subtleGradient changed the base branch from graphite-base/48 to pdf-example-effect November 12, 2025 23:18
Copy link

@louisgv louisgv left a 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?

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