NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] 当主动中断生成之后重新编辑输入,之前的输入会被加入到履历里面

Open DayuanJiang opened this issue 1 year ago • 8 comments

📦 部署方式

Vercel

📌 软件版本

2.15.8

💻 系统环境

macOS

📌 系统版本

15.1

🌐 浏览器

Chrome

📌 浏览器版本

Version 130.0.6723.117 (Official Build) (arm64)

🐛 问题描述

当主动中断生成之后重新编辑输入,之前的输入会被加入到履历里面

📷 复现步骤

先复制一大段话,然后在AI 生成的时候点击终止打断生成。 然后编辑输入的那一段话,改成「我刚才说了什么?」,再重新生成。 此时,输出会是之前复制的那一大段话的总结。

🚦 期望结果

这个时候消息列表里面 User 的消息就只有「我刚才说了什么?」。AI 不应该看到编辑之前的消息。如果它总结了之前的消息的话,说明把编辑前的文本也当做了一条消息。

📝 补充信息

No response

DayuanJiang avatar Jan 08 '25 14:01 DayuanJiang

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


Title: [Bug] When the automatic interrupt is generated and the input is re-edited, the previous input will be added to the history.

📦 Deployment method

Vercel

📌 Software version

2.15.8

💻 System environment

macOS

📌 System version

15.1

🌐 Browser

Chrome

📌 Browser version

Version 130.0.6723.117 (Official Build) (arm64)

🐛 Problem description

When the input is re-edited after the automatic interruption is generated, the previous input will be added to the history.

📷 Steps to reproduce

First copy a large paragraph, and then click Stop when the AI ​​is generated to interrupt the generation. Then edit the entered paragraph, change it to "What did I just say?", and then regenerate it. At this point, the output will be a summary of the large paragraph copied previously.

🚦 Expected results

At this time, the only message for User in the message list is "What did I just say?". AI should not see messages before editing. If it summarizes the previous message, it means that the text before editing is also regarded as a message.

📝 Supplementary information

No response

Issues-translate-bot avatar Jan 08 '25 14:01 Issues-translate-bot

没有复现嘞,中断输出,编辑输入,重新生成:

image

你可以在控制台查看到底输入了哪些消息的:

image

code-october avatar Jan 09 '25 02:01 code-october

@code-october

破案了。是总结对话这个功能的锅。跟中断对话没关系。 发一大段话后系统会自动把那一段话总结,然后加到 user 的 message 里面。 即使你把之前的对话删除,总结也不会变,所以就出现了记得之前说的什么的 Bug(特性?)。

image

DayuanJiang avatar Jan 09 '25 04:01 DayuanJiang

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


@code-october

The case was solved. It is the pot that summarizes the function of dialogue. It has nothing to do with interrupting the conversation. After sending a large paragraph, the system will automatically summarize that paragraph and then add it to the user's message. Even if you delete the previous conversation, the summary will not change, so there is a bug (feature?) of remembering what was said before.

image

Issues-translate-bot avatar Jan 09 '25 04:01 Issues-translate-bot

嗯这就合理了

code-october avatar Jan 09 '25 05:01 code-october

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


Well, that makes sense

Issues-translate-bot avatar Jan 09 '25 05:01 Issues-translate-bot

遇到了同样的问题,是 Mempory Prompt 导致的,关掉就好了。以及这个「特性」确实是会导致困惑,之前遇到了很多次了,但基本没有太影响使用也就一直没有去检查是哪里出错。

efJerryYang avatar Mar 25 '25 00:03 efJerryYang

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


I encountered the same problem, it was caused by Mempory Prompt, just turn it off. And this "feature" does cause confusion. I have encountered it many times before, but it basically did not affect the use, so I have never checked what went wrong.

Issues-translate-bot avatar Mar 25 '25 00:03 Issues-translate-bot