-
-
Notifications
You must be signed in to change notification settings - Fork 32
fix: added support for AI SDK v2 in AI Mode #1216
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
Merged
Merged
+146
−27
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
packages/spotlight/src/ui/telemetry/components/insights/aiTraces/AITranscription.tsx
Show resolved
Hide resolved
packages/spotlight/src/ui/telemetry/components/insights/aiTraces/sdks/vercelAISDK.ts
Show resolved
Hide resolved
BYK
approved these changes
Dec 22, 2025
packages/spotlight/src/ui/telemetry/components/insights/aiTraces/sdks/vercelAISDK.ts
Outdated
Show resolved
Hide resolved
| if (Array.isArray(content)) { | ||
| return content | ||
| .filter( | ||
| (block): block is { type: string; text: string } => block.type === "text" && typeof block.text === "string", |
Member
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.
What are other types of blocks? Should we consider showing them too?
packages/spotlight/src/ui/telemetry/components/insights/aiTraces/sdks/vercelAISDK.ts
Outdated
Show resolved
Hide resolved
packages/spotlight/src/ui/telemetry/components/insights/aiTraces/sdks/vercelAISDK.ts
Show resolved
Hide resolved
packages/spotlight/src/ui/telemetry/components/insights/aiTraces/AITranscription.tsx
Show resolved
Hide resolved
packages/spotlight/src/ui/telemetry/components/insights/aiTraces/sdks/vercelAISDK.ts
Show resolved
Hide resolved
BYK
pushed a commit
that referenced
this pull request
Dec 23, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @spotlightjs/spotlight@4.9.0 ### Minor Changes - Add support for continuous profiling (Profiling V2) ([#1202](#1202)) - Add self-documenting CLI commands with per-command help support ([#1206](#1206)) Each CLI command now provides its own metadata (short description, usage, detailed help, and examples). The main help output is generated dynamically from this metadata, and users can get detailed help for specific commands via `spotlight help <command>` or `spotlight <command> --help`. ### Patch Changes - Remove dead code ([#1214](#1214)) - Fix profile visualization issues in trace views: ([#1203](#1203)) - Update frame colors to use vibrant, high-contrast colors for better visibility - Add custom nanovis palette for Spotlight's dark theme - Fix sunburst center text showing bytes instead of sample counts - Fix treemap visibility with proper color contrast - added support for AI SDK v2 in AI Mode ([#1216](#1216)) - updated the empty pages of traces and envelopes ([#1213](#1213)) - open external links in default browser ([#1212](#1212)) 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.