P
6 August 2026
M
S
7 August 2026
D
8 August 2026
P
10 August 2026
D
11 August 2026
agent流式输出问题
在第一次 API 返回时,模型可能同时返回 answer 和 tool_call,例如:
assistant:
answer: 我帮你查询一下...
tool_call: search(...)
执行 tool
再次调用模型:
answer: 查询结果是 xxx
由于第一次返回的 answer 出现在 tool 之前,客户端无法判断这条 answer 是否是最终回复,还是仅仅是 tool 调用前的中间内容。
目前没法确定哪个是final answer
X
在prompt里面 加入关键字 比如说"最终回复:"
Y
识别到"最终回复:" 就判断为final answer
A snapshot of an open public feed from the search index
ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled.
Times are UTC.
Public content only, official Telegram API.
About ·
FAQ ·
What we do not do ·
Remove a page ·
Catalog