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

'File content parts in user messages' functionality not supported #3844

Open
whydna opened this issue Nov 22, 2024 · 0 comments
Open

'File content parts in user messages' functionality not supported #3844

whydna opened this issue Nov 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@whydna
Copy link

whydna commented Nov 22, 2024

Description

Trying to attach a PDF file to content message - but getting this error. Is it not supported?

Code example

{
type: 'file',
mimeType: 'application/pdf',
data: fs.readFileSync(file),
} as FilePart

AI provider

@ai-sdk/openai

Additional context

No response

@whydna whydna added the bug Something isn't working label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant