[Feature Request] Recover a research bot citation after a bounded search timeout

オープン
#446 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
ai, backend

調査の方向性

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時間
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temporalio/samples-python のほかの issue

temporalio/samples-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。