lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.35k stars 9.94k forks source link

[Bug] LobeChat 加入CF R2之后 Gemini 1.5 模型无法正常解析图片 #3224

Closed JJTools closed 3 months ago

JJTools commented 3 months ago

📦 部署环境

Vercel

📌 软件版本

V1.4.0

💻 系统环境

Ubuntu

🌐 浏览器

Chrome

🐛 问题描述

LobeChat 加入CF R2之后 ChatGPT 支持正常图片解析,但是Gemini 1.5 模型均出现该问题 { "error": { "message": "currently we don't support image url: https://xxxxx.com/files/478058/xxxxxxx.png" }, "provider": "google" }

📷 复现步骤

PC端截图,直接粘贴到LobeChat。 发送问题提示异常。 不接入R2 不存在此问题

🚦 期望结果

正常请求

📝 补充信息

No response

lobehubbot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Vercel

📌 Software version

V1.4.0

💻 System environment

Ubuntu

🌐 Browser

Chrome

🐛 Problem description

After LobeChat joins CF R2, ChatGPT supports normal image parsing, but this problem occurs in Gemini 1.5 models. { "error": { "message": "currently we don't support image url: https://xxxxx.com/files/478058/xxxxxxx.png" }, "provider": "google" }

📷 Steps to reproduce

Take a screenshot on PC and paste it directly into LobeChat. Sending a question prompts an exception. This problem does not exist if R2 is not connected

🚦 Expected results

Normal request

📝 Supplementary information

No response

lobehubbot commented 3 months ago

👀 @JJTools

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 3 months ago

duplicate #3051

lobehubbot commented 3 months ago

✅ @JJTools

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。