[Feature Request] Recover a research bot citation after a bounded search timeout
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the Python research manager and worker Activities, then trace how exhausted search attempts are handled and how results reach the report writer. Decide where an optional WebRouter fallback belongs and how its retry policy distinguishes timeouts from authentication failures. Done means failed planned questions can include a source URL and excerpt, while successful searches and authentication failures make no fallback calls.
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
In the Python research bot, a search that still fails when its model Activity returns produces no entry in the list sent to the report writer. A reader cannot tell which planned question lost its evidence.
Describe the solution you'd like
Would an opt-in example of recovering a public-source citation after a bounded search timeout fit this sample? The worker would allowlist the public documentation domains it can query. Once the configured search attempts are exhausted, a separate Activity would use WebRouter to find the source and read a matching passage. The result would identify the planned question, source URL and excerpt. Successful hosted searches would continue normally. Authentication failures would remain unavailable.
Additional context
I tested the research manager on a local Temporal server with the OpenAI Agents plugin and a deterministic local model. A one-off timeout recovered through the sample’s normal retry. With a two-attempt limit, two persistent timeouts left two questions unanswered. The optional Activity then recovered the requested details from a NIST PDF and a W3C HTML table with real keyless reads. A successful search and a simulated authentication failure each made zero fallback calls.
The test used an explicit attempt limit. The shipped worker has no such limit, so placement and retry policy are part of the design question. I maintain WebRouter. WebRouter documentation
- 主要语言
- Python
- 星标
- 382
- 派生
- 129
- 平均合并
- 3 天 17 小时
- 30 天内合并 PR
- 8
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
temporalio/samples-python 的其他 Issue
-
[Feature Request] End-to-end testing for OpenAI Agents SDK examples可能重新可做 @donald-pinckney 于 429 天前认领,目前没有进行中的 PR。 未关闭enhancement
temporalio/samples-python#254 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Feature Request] Add OpenAI Agents Memory Examples可能重新可做 @donald-pinckney 于 429 天前认领,目前没有进行中的 PR。 未关闭enhancement
temporalio/samples-python#253 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Feature Request] Create sample for calling Python Client from a sync method可能已有人在做 @HarrisJDCampbell 于 37 天前认领。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 45/100
temporalio/samples-python#231 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 35/100
temporalio/samples-python#192 · 2 条评论 ·
维护者通常 1 天内回复
-
[Feature Request] Create update with start early return sample可能已有人在做 @Abhinav0905 于 17 天前认领。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 45/100
temporalio/samples-python#191 · 1 条评论 ·
维护者通常 1 天内回复
查看 temporalio/samples-python 的全部 Issue
相似的 Issue
-
area:print-dispatch
难度 2/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area/geometry good first issue help wanted kind/doc-mismatch severity/4-minor
难度 2/5 1-3 小时 新手友好度 68/100
Apich-Organization/rssn#295 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
-
chore claimed
难度 2/5 1-3 小时 新手友好度 72/100
schuyler/corvidae#1424 · 2 条评论 ·
维护者通常 1 天内回复