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] 限制历史消息无法设置成0 #6887

Open
zhufeizzz opened this issue Mar 11, 2025 · 1 comment
Open

[Bug] 限制历史消息无法设置成0 #6887

zhufeizzz opened this issue Mar 11, 2025 · 1 comment
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@zhufeizzz
Copy link

📦 部署环境

Docker

📦 部署模式

客户端 Pglite 模式(lobe-chat-pglite 镜像)

📌 软件版本

v1.70.0

💻 系统环境

Windows

🌐 浏览器

Edge

🐛 问题描述

之前不是刚修复了历史消息不能设置成0的Bug吗,怎么新版本又不行了,每次拖到最左边就会自动变成8

Image

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

@zhufeizzz zhufeizzz added the 🐛 Bug Something isn't working | 缺陷 label Mar 11, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Mar 11, 2025
Copy link

dosubot bot commented Mar 11, 2025

I found a similar closed issue titled "[Bug] 限制历史消息数功能逻辑缺陷" which was resolved by a pull request that optimized requests without historical messages. This issue was closed on February 03, 2025 [1].

Regarding your current issue, it seems that there might have been recent changes related to the slider or historical message count that could have reintroduced the problem. In Version 1.52.15, there was an optimization made to the MaxToken Slider, which might be related [2].

Additionally, the ReasoningTokenSlider component has constraints and default settings that might cause the slider to revert to a value other than 0. The slider's minimum value is set to exponent(1), which corresponds to 1k, meaning the slider cannot be set to a value less than this unless explicitly configured otherwise [3].

It might be helpful to check if there are any constraints or default settings in the UI configuration files that could be causing the slider to revert to a value other than 0.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

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
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

1 participant