You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vLLM 0.29 改了字段名:思考内容现在放在 reasoning 字段(官方文档原话:"reasoning used to be called reasoning_content")。
MaxKB 认的是 reasoning_content 或 content 里的 标签,两个字段名对不上 → 静默读空。
我是写了一个代理将其转换一下就好了,朋友你可以让ai帮你写一下
vLLM 0.29 改了字段名:思考内容现在放在 reasoning 字段(官方文档原话:"reasoning used to be called reasoning_content")。 MaxKB 认的是 reasoning_content 或 content 里的 标签,两个字段名对不上 → 静默读空。 我是写了一个代理将其转换一下就好了,朋友你可以让ai帮你写一下
Activity
Shenguobin0102 commentedon Sep 17, 2026
请试试在MaxKB的模型中配置模型参数 参数名:extra_body,值:{ "enable_thinking": true}
Leoz-Yang commentedon Sep 17, 2026
没有用,qwen这个模型是默认开启思考模式的,你可以看我curl的内容,还有MaxKB返回的结果。是不是因为MaxKB思考标签解析的问题导致思考过程和回复内容混到一起的。
yuuuuuuc commentedon Sep 18, 2026
vLLM 0.29 改了字段名:思考内容现在放在 reasoning 字段(官方文档原话:"reasoning used to be called reasoning_content")。
MaxKB 认的是 reasoning_content 或 content 里的 标签,两个字段名对不上 → 静默读空。
我是写了一个代理将其转换一下就好了,朋友你可以让ai帮你写一下
Leoz-Yang commentedon Sep 20, 2026
@yuuuuuuc 好的,后面有计划做兼容么
Shenguobin0102 commentedon Sep 20, 2026
reasoning 字段已经在v2.8.0 版本中支持了,应该不是这个字段的问题。
Shenguobin0102 commentedon Sep 20, 2026
@Leoz-Yang 你能用curl 命令使用流式输出方式,输出一段内容,然后截图给我们看看吗?
Leoz-Yang commentedon Sep 20, 2026
@Shenguobin0102
Shenguobin0102 commentedon Sep 20, 2026
模型参数中添加一个 reasoning_effort 参数,值可以用选项卡设置为三个选项 xhigh, medium, low,任选。
添加参数后再试试输出。
neu-aetd commentedon Sep 23, 2026
扩展参数试试这么写(注释可以忽略):
{ "chat_template_kwargs": { "enable_thinking": true, "reasoning_effort": "xhigh" }, "_comment_enable_thinking": "false=关闭思考,true=开启思考", "_comment_reasoning_effort": "控制思考深度,可选值:low、medium、xhigh(默认)" }