-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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] 使用历史消息数与设置不符 #3044
Comments
📦 Deployment environmentVercel 📌 Software versionlatest 💻 System environmentWindows 🌐 BrowserChrome 🐛 Problem descriptionOn the configuration page, turn on "Limit the number of historical messages" and set the "Number of attached messages" to 10. Turn off "No limit" at "Use historical messages" above the input box and set the number of messages to 6. 📷 Steps to reproduceNo response 🚦 Expected resultsNo response 📝 Supplementary informationNo response |
👀 @sxjeru Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
关注一下这个bug的进展,等大佬修改~ |
Pay attention to the progress of this bug |
关注一波,一样的问题 |
Follow this wave, same problem |
确实有这个问题,而且我设置历史消息数1的时候它还是会显示上一条ai发的消息的tiken,按理说token应该为0的,不过我在消费日志里传入的确实没包含上个消息的token数 |
There is indeed this problem, and when I set the historical message number to 1, it will still display the token of the last message sent by ai. Logically speaking, the token should be 0, but the last message I passed in the consumption log does not include it. number of tokens |
📦 部署环境
Vercel
📌 软件版本
latest
💻 系统环境
Windows
🌐 浏览器
Chrome
🐛 问题描述
已启用服务端数据库。
配置页打开“限制历史消息数”,将“附带消息数”设为 10。
返回聊天页刷新,依旧是“不限制”。
在输入框上方的“使用历史消息数”处关闭“不限制”,并将消息数设为 6。
刷新后,依旧变为“不限制”。
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: