Prhub

#59324 [Frontend] Make finish_reason and Responses item status truthful

原始 PR 作者 sfeng33 合并时间 2026-10-15 17:12 文件变更 14 提交数 5 评论 7 代码增减 +421 / -62

执行摘要

尚未生成分析

分析结果尚未生成

可以先查看基础指标和原始 PR,待分析完成后这里会补齐摘要、风险和完整报告。

实现拆解

还没有实现拆解

分析完成后,这里会展示关键文件、模块状态和带详细注释的源码片段。

评论区精华

没有提炼出高价值讨论线程

当前评论区没有形成足够清晰的争议点或结论,后续有更多讨论时会体现在这里。

风险与影响

风险面板待生成

分析完成后,这里会补充风险标签、影响范围和建议动作。

关联 Issue

#50889 [Bug]: Gemma4 tool parser (non-streaming): finish_reason=tool_calls with empty tool_calls array — model's move silently lost under concurrent load
#53255 [Bug]: finish_reason="tool_calls" is returned with an empty tool_calls array when tool_choice="required" produces no call
#53363 [Bug]: tool_choice="required" not enforced with gemma4 tool parser — prose-only response returned with finish_reason="tool_calls" and empty tool_calls
#57998 [Bug]: `/v1/responses` output items are always `status: "completed"`, even inside an incomplete response
#58228 [Bug]: finish_reason is "tool_calls" for a turn truncated at max_tokens, hiding the length stop from clients

参与讨论