待验证50% 置信事实精确时间
当 stop_reason 为 stop_sequence 时,响应中的 stop_sequence 字段会带回实际命中的停止序列字符串。
1
来源数
50%
置信度
长期有效
时效性
2026/10/13
首次发现
来源
涉及实体
相关事实
待验证在流式(SSE)模式下,stop_reason 在 message_delta 事件中给出,紧随 message_stop 之前,而非随首个事件到达。74% 相似待验证stop_reason是Anthropic Claude API响应中的一个字段,常见值包括end_turn、max_tokens、tool_use70% 相似待验证Anthropic将客户端循环描述为基于停止原因的while循环:停止原因是tool_use就执行工具并继续,遇到其他停止原因则退出67% 相似待验证驱动Agent Loop循环的两个信号来自模型返回的stop_reason字段:当stop_reason等于tool_use时宿主执行工具并继续循环,否则循环退出65% 相似待验证Agent 循环的控制流规则是:只要 stop reason 仍然是 tool use,就继续循环;当 stop reason 变为 end turn 时停止并返回纯文本。63% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/1013821API
curl https://kongchang.com/api/v1/knowledge/claims/1013821MCP
get_claim(id=1013821)