Repository navigation
[Bug][0.2.0-rc.2] web_search: one failed query aborts the other queries and discards their (billed) results #8794
avpanasyuk
started this conversation in
General
Replies: 1 comment 1 reply
你的原则是对的:一个查询失败不该作废已经付费的结果1. 这条的核心是"扇出语义"多查询
建议把诉求写成这一句——它不依赖具体实现,任何评审者都能判断对错。 2. 你的"计费"论据很有力,建议放大你指出:DeepSeek 搜索提供方下每个查询都是一次计费的 顺带一条设计建议:既然每个查询独立计费,**逐条返回(含失败原因)**同时也让用户能判断"哪一条值得重试",而不是整体重来一次再付一遍。 3. 我核到的与没核到的(如实说明)
4. 请补三样
5. 关于可复现性(这条很容易做成确定性复现)不必等真实失败:只要让其中一个查询命中一个必然失败的条件(例如空查询、超长查询、或不可达的提供方端点),就能验证"其余查询是否仍返回"。建议把它写成一个两步复现(第 1 步 3 个正常查询 ⇒ 全返回;第 2 步 2 正常 + 1 必失败 ⇒ 期望返回 2 条 + 1 条错误)。 一条边界我确认的是多查询是设计内行为(有明确上限注释)这一点。"一个失败会中止其余"这一行为以你的实测为准——我没有对真实提供方调用过该工具。 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
In a multi-query
web_searchcall, one failed query aborts all the other queries mid-flight and discards the results that already succeeded. The tool returns only the first error. With the DeepSeek search provider every query is a billeddeepseek-v4-flashMessages turn, so the finished searches are paid for and thrown away.Environment
@deepseek-ai/dsh-tool-web, search provider@deepseek-ai/dsh-web-search-deepseekWhere
dsh-tool-weblib/index.js:189-212,runSearchQueries:Suggestion
signal).query 3 failed: <reason>.Found and verified against the installed 0.2.0-rc.2 sources with the help of an AI coding agent.
All reactions