DALLE Image Generation Format Mismatch Error #6630
-
What happened?DescriptionWhen attempting to generate an image using the DALLE function, the system displays an error message about a format mismatch, but the image actually displays successfully. The specific error is:
Environment
Steps to Reproduce
Expected BehaviorThe image should generate without showing an error message. Actual BehaviorThe image appears to generate and display successfully, but an error message is shown suggesting a format mismatch. The error specifically mentions that the image doesn't match the expected media type (image/jpeg). Error Message
Additional ContextThe error seems to be happening because the system is expecting a JPEG format, but the image might be in a different format (possibly PNG). Despite the error, the functionality works as the image is displayed to the user. This appears to be a backend issue with how LibreChat is handling the DALLE image generation response. Dockerghcr.io/danny-avila/librechat-dev latest 56ca144f4ce7 2 weeks ago 876MB Thank you for maintaining this wonderful project! Version Information
Dockerghcr.io/danny-avila/librechat-dev latest 56ca144f4ce7 2 weeks ago 876MB Steps to Reproduce
What browsers are you seeing the problem on?Chrome Relevant log output## Error Message
Something went wrong. Here's the specific error message we encountered: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.11.content.3.image.source.base64.data: Image does not match the provided media type image/jpeg"}} ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
A similar issue was already resolved on latest. Updating Instructions (docker): # Linux command to Remove all existing images
docker images -a | grep "librechat" | awk '{print $3}' | xargs docker rmi
# Windows Powershell
docker images -a | findstr "librechat" | ForEach-Object { docker rmi $_.Split()[2] } Then follow the directions here: https://www.librechat.ai/docs/local/docker#update-librechat |
Beta Was this translation helpful? Give feedback.
A similar issue was already resolved on latest.
Updating Instructions (docker):
Then follow the directions here: https://www.librechat.ai/docs/local/docker#update-librechat