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

Incorrect content type for files in listing response #115

Closed
IlyaBondar opened this issue Jan 5, 2024 · 1 comment
Closed

Incorrect content type for files in listing response #115

IlyaBondar opened this issue Jan 5, 2024 · 1 comment
Assignees

Comments

@IlyaBondar
Copy link

Description

Broken image displaying because UI receives incorrect content types in file listing response:
image

Steps to reproduce

  1. use GPT Vision model
  2. upload image (jpg or png) initially i.e. for first message (image can be expanded and displayed)
    image
  3. then reuse this already used image for next message

Actual result:

image was received with listing with incorrect content type -> image can be expanded/displayed
image

Expected result

receive correct content type

@Maxim-Gadalov
Copy link
Contributor

AWS S3 do not provide a content type without additional head request. We decided to resolve content type based on file extension.

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

No branches or pull requests

3 participants