-
Notifications
You must be signed in to change notification settings - Fork 60.2k
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
请求太大的问题[Bug] #5037
Comments
Title: The request is too large [Bug] 📦 Deployment methodDocker 📌 Software version2.13.0 💻 System environmentWindows, Ubuntu 📌 System versionWindows 11&Linux lavm-rzea14rft3 5.15.0-105-generic #115-Ubuntu 🌐 BrowserChrome, Edge 📌 Browser versionVersion 126.0.2592.102 🐛 Problem descriptionGPT4o always requests Entity Too Large when asked about pictures. But the same picture can be found on the official web page. It may be because NextChat does not limit the size of the image before sending it. 📷 Steps to reproduce
🚦 Expected resultsIt is expected that when uploading large images, the size will be automatically converted according to the maximum input of the model. The experience is the same as the official website. 📝 Supplementary informationNo response |
下个版本会优化图片存储 |
The next version will optimize image storage |
应该是因为当前项目是纯前端项目,发送图片到api的时候,使用的是base64的url导致请求体过大。 |
It should be because the current project is a pure front-end project. When sending pictures to the API, the base64 URL is used, causing the request body to be too large. |
📦 部署方式
Docker
📌 软件版本
2.13.0
💻 系统环境
Windows, Ubuntu
📌 系统版本
Windows 11&Linux lavm-rzea14rft3 5.15.0-105-generic #115-Ubuntu
🌐 浏览器
Chrome, Edge
📌 浏览器版本
Version 126.0.2592.102
🐛 问题描述
GPT4o 面对图片提问的时候,总是Request Entity Too Large。但是同样的图片官方的网页端可以。应该是因为NextChat没有对图片进行大小转换限定之后再发送。
📷 复现步骤
🚦 期望结果
期望上传大图片的时候会根据模型的最大输入自动转换尺寸。和官网使用体验一样。
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: