ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 总结带图片聊天的token消耗差不多是实际情况的100倍

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

Description

### 📦 部署方式

官方安装包

### 📌 软件版本

v2.15.8

### 💻 系统环境

Windows

### 📌 系统版本

Win11家庭版 23H2 22635.4145

### 🌐 浏览器

Edge

### 📌 浏览器版本

Microsoft Edge 版本 131.0.2903.86 (正式版本) (64 位)

### 🐛 问题描述

图中有两次聊天总结的token消耗达到了离谱的4w8,聊天内容见图2,仅仅只是翻译一张图片的文本。
最上面的2024-12-09 16:25:32时间的token消耗是同样的对话但是在lobechat的聊天总结。我测试了多个工具lobechat, chatbox都是正常的
网页端https://app.nextchat.dev/#/chat和软件都是一样的问题

![image](https://github.com/user-attachments/assets/89ac9afe-2e95-4328-aa64-58464adaccd7)
![image](https://github.com/user-attachments/assets/66b54468-440f-43cf-8174-347009468dd5)

### 📷 复现步骤

发送图片让4o或者4o-mini翻译图片文本,4o-mini总结聊天,只有有图片的时候会有异常
https://app.nextchat.dev/#/chat网页端也是一样的问题

### 🚦 期望结果

这个bug是怎么回事?因为lobechat消耗是正常的,看起来不像是api供应商的问题

### 📝 补充信息

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.