-
-
Notifications
You must be signed in to change notification settings - Fork 11.5k
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] 当对话输出存在较长代码,模型回答完之后,无法结束当前对话,随后当轮对话消失,并且这个对话也无法再继续 #5756
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
📦 ENVIRONMENTDocker 📌 versionlatest 💻 Operating SystemUbuntu 🌐 BrowserChrome 🐛 bug descriptionAs follows, the bug description generated by the dialogue contains the Python code. This dialogue will be known to be stuck in a state that cannot be ended, and then enter the state of the conversation to disappear and cannot continue the conversation state. It can only refresh the page and open a new conversation. bug descriptionsummary: When the dialogue contains a longer Python code block, the model cannot end the current dialogue normally after the answer is completed, and then the conversation disappears, and the conversation cannot continue. Short code or pure text dialogue is normal. ** Reapped steps: **
** Expectation results: **
** Actual results: **
** Example: ** ** Example dialogue to trigger bug: **
** Normal running sample dialogue: **
Remark:
** Screenshot/record screen: ** ! [Image] (https://github.com/user-attachments/db998c5c5c-211F-4397-9243-858155172))))) ! [Image] (https://github.com/user-attachments/e7acccd8-36c6-42dd-A008-f7686bb84F8D)) ! [Image] (https://github.com/user-attachments/ASSETS/F759D1C7-58cc-443C-AF-AF26DCCBC7C5))))) 📷 Recurrence Steps** Reapped steps: **
🚦 Expected Behavior** Expectation results: **
📝 Additional informationNO Response @@ ==== [BUG] When there is a long code of the dialogue output, after the model is answered, it cannot end the current dialogue. |
Hi there, @SamDu1998! 👋 I'm here to help you with any bugs, questions, or contributions! The issue you're experiencing with long Python code blocks causing the chat to freeze and the conversation to disappear might be related to how the chat framework handles long text or code blocks. The Here are a few suggestions to troubleshoot and potentially resolve the issue:
If these steps do not resolve the issue, consider simplifying the code output or breaking it into smaller parts to see if that helps maintain the session stability. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
📦 Environment
Docker
📌 Version
latest
💻 Operating System
Ubuntu
🌐 Browser
Chrome
🐛 Bug Description
如下用对话生成的Bug描述,当中包含了Python代码,这个对话就会已知卡在无法结束的状态,然后进入对话消失,无法继续对话的状态。只能刷新页面,开启新的对话。
部署环境是Oracle的 ARM机子,Ubuntu24系统。Docker Compose部署
Bug 描述
概要:
当对话中包含较长的 Python 代码块时,模型在回答完后无法正常结束当前对话,随后该轮对话消失,且该对话无法继续。短代码或纯文本对话正常。
重现步骤:
预期结果:
实际结果:
示例:
触发 Bug 的示例对话:
正常运行的示例对话:
备注:
截图/录屏:
📷 Recurrence Steps
重现步骤:
🚦 Expected Behavior
预期结果:
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: