Skip to content
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] 当主动中断生成之后重新编辑输入,之前的输入会被加入到履历里面 #6052

Open
DayuanJiang opened this issue Jan 8, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@DayuanJiang
Copy link

📦 部署方式

Vercel

📌 软件版本

2.15.8

💻 系统环境

macOS

📌 系统版本

15.1

🌐 浏览器

Chrome

📌 浏览器版本

Version 130.0.6723.117 (Official Build) (arm64)

🐛 问题描述

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

📷 复现步骤

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

🚦 期望结果

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

📝 补充信息

No response

@DayuanJiang DayuanJiang added the bug Something isn't working label Jan 8, 2025
@Issues-translate-bot
Copy link

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

@code-october
Copy link
Contributor

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

image

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

image

@DayuanJiang
Copy link
Author

@code-october

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

image

@Issues-translate-bot
Copy link

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

@code-october
Copy link
Contributor

嗯这就合理了

@Issues-translate-bot
Copy link

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


Well, that makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants