Releases
v0.6.7
Compare
Sorry, something went wrong.
No results found
yxp934
released this
07 Feb 16:42
中文(简体)
亮点
修复设置项 Max Tokens 留空后无法保存的问题;保存后不再自动回退为 1024。
聊天默认 Max Tokens 改为“不设置”(unset),由模型服务端按默认策略处理。
当 Max Tokens 未设置时,chat / agent / agent-step 请求不再传递 max_tokens 固定上限。
细节
LLMSettings.maxTokens 从必填数字改为 number | null,并完善本地存储归一化逻辑。
设置面板支持空值回显与持久化(保留数值输入校验)。
增加相关测试,覆盖空值持久化与请求体字段省略行为。
English
Highlights
Fixed the issue where leaving Max Tokens empty could not be saved and was reset to 1024.
Default chat Max Tokens is now unset, allowing provider/model defaults to apply.
When Max Tokens is unset, chat / agent / agent-step requests now omit max_tokens instead of sending a hard fallback.
Details
Updated LLMSettings.maxTokens from required number to number | null, including robust local-storage normalization.
Settings panel now supports empty-value display and persistence with numeric validation preserved.
Added tests to cover null persistence and omission of maxTokens in request payloads.
You can’t perform that action at this time.