ChatGPTNextWeb / ChatGPTNextWeb/NextChat

请求太大的问题[Bug]

Open
#5,037 5 comments 0 reactions 0 assignees View on GitHub
bug planned
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 📦 部署方式

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没有对图片进行大小转换限定之后再发送。

### 📷 复现步骤

1. 选择GPT4或任何可以识图的模型
2. 上传一张大图片

### 🚦 期望结果

期望上传大图片的时候会根据模型的最大输入自动转换尺寸。和官网使用体验一样。

### 📝 补充信息

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the image-upload flow for GPT-4o and other vision models, then reproduce the Request Entity Too Large response with a large image in Docker on the reported environments. Check how the request is built and how model input limits are represented. Done means oversized images are transformed according to the model limit and the resulting request succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.