Skip to content

Conversation

@hriztam
Copy link

@hriztam hriztam commented Dec 1, 2025

Background

This change was necessary as a user faced issue with the file types

Summary

I added an optional field in the type file so that a user can add the filename

Future Work

Feel free to mention things not covered by this PR that can be done in future PRs.

Related Issues

Fixes #10735

@vercel-ai-sdk vercel-ai-sdk bot added the ai/core label Dec 1, 2025
@lgrammel
Copy link
Collaborator

lgrammel commented Dec 1, 2025

This needs to be implemented and tested (see packages/ai/src/ui/process-ui-message-stream.ts). Also a changeset is needed.

@hriztam
Copy link
Author

hriztam commented Dec 1, 2025

Ok thanks for the feedback, I'll update the pr asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type mismatch between File UIMessageChunk and FileUIPart

2 participants