Skip to content

[Bug]: Unable to include images for Gemini Pro chats after Firebase CDN setup #1687

@jinnotgin

Description

@jinnotgin

What happened?

After setting up firebase CDN, I noticed that all picture media uploads are also processed as webp and then stored into Firebase storage.

However, I started encountering the following issue when trying to use Gemini Pro with an picture input:
image
Something went wrong. Here's the specific error message we encountered: Please provide image as base64 encoded data URL
(I can confirm that the firebase CDN is working as expected, with the images URL being in firebase storage)

I have another Docker container in which firebase CDN is not set up (ie local), and the chat conversations with image works as expected.

Steps to Reproduce

  1. Set up firebase CDN fileStrategy
  2. Set up Gemini Pro LLM endpoint
  3. Add an image to chat using Gemini Pro (or Gemini Pro Vision)

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions