NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] 在回答任何问题之前,都会弹出......

Open liamava-dot opened this issue 1 year ago • 11 comments

📦 部署方式

Vercel

📌 软件版本

最新

💻 系统环境

Windows

📌 系统版本

最新

🌐 浏览器

Chrome

📌 浏览器版本

最新

🐛 问题描述

在回答任何问题之前,都会弹出......,是bug吗还是我的设置有问题?

📷 复现步骤

最新环境必现

🚦 期望结果

No response

📝 补充信息

No response

liamava-dot avatar Feb 10 '25 02:02 liamava-dot

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] will pop up before answering any questions...

📦 Deployment method

Vercel

📌 Software version

up to date

💻 System environment

Windows

📌 System version

up to date

🌐 Browser

Chrome

📌 Browser version

up to date

🐛 Question description

Before answering any questions, it will pop up..., is it a bug or is there a problem with my settings?

📷 Reproduction steps

The latest environment must be revealed

🚦 Expected results

No response

📝 Supplementary information

No response

Issues-translate-bot avatar Feb 10 '25 02:02 Issues-translate-bot

补充截图

Image

liamava-dot avatar Feb 10 '25 02:02 liamava-dot

Bot detected the issue body's language is not English, translate it automatically.


Supplementary screenshots

Image

Issues-translate-bot avatar Feb 10 '25 02:02 Issues-translate-bot

same

simplehx avatar Feb 11 '25 05:02 simplehx

有回答吗?还是说只有"......"?可以看下Vercel上的log

slinar avatar Feb 12 '25 07:02 slinar

Bot detected the issue body's language is not English, translate it automatically.


Is there an answer? Or is it just "..."? You can check the log on Vercel

Issues-translate-bot avatar Feb 12 '25 07:02 Issues-translate-bot

有回答吗?还是说只有"......"?可以看下Vercel上的log

先弹出......,然后.....消失,弹出回答。

liamava-dot avatar Feb 12 '25 08:02 liamava-dot

Bot detected the issue body's language is not English, translate it automatically.


Is there an answer? Or is it just "..."? You can check the log on Vercel

First pop up..., then... disappear, and the answer pops up.

Issues-translate-bot avatar Feb 12 '25 08:02 Issues-translate-bot

我也遇到这个bug了,定位到是chat.ts这个文件更改之后出现的问题,导致页面闪烁,好难受啊。我再排查下吧

tianzhentech avatar Mar 16 '25 11:03 tianzhentech

Bot detected the issue body's language is not English, translate it automatically.


I also encountered this bug, and it was located that it was a problem after the change of the chat.ts file, which caused the page to flicker, which was so uncomfortable. I'll check it out again

Issues-translate-bot avatar Mar 16 '25 11:03 Issues-translate-bot

定位到问题了,是chat.ts中的两个异步操作,导致react组件重渲染,而chat.tsx里就定义了处于loading状态时,消息有默认......: const mcpEnabled = await isMcpEnabled();

const mcpSystemPrompt = mcpEnabled ? await getMcpSystemPrompt() : ""; 我想下怎么修复。这是个严重bug,不仅仅是显示......这么简单,每次发送或者重试,整个界面都闪烁,太影响视觉了

tianzhentech avatar Mar 16 '25 14:03 tianzhentech