[Feature Request] Recover a research bot citation after a bounded search timeout
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 32/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 382
- Fork
- 129
- Merge trung bình
- 3 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của temporalio/samples-python
-
[Feature Request] End-to-end testing for OpenAI Agents SDK examplesCó thể làm lại được @donald-pinckney đã nhận 429 ngày trước và không có pull request nào đang mở. Đang mởenhancement
temporalio/samples-python#254 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature Request] Add OpenAI Agents Memory ExamplesCó thể làm lại được @donald-pinckney đã nhận 429 ngày trước và không có pull request nào đang mở. Đang mởenhancement
temporalio/samples-python#253 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature Request] Create sample for calling Python Client from a sync methodCó thể đã có người làm @HarrisJDCampbell đã nhận 37 ngày trước. Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
temporalio/samples-python#231 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] RestrictedWorkflowAccessError on async context manager in return close of an activity.Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
temporalio/samples-python#192 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature Request] Create update with start early return sampleCó thể đã có người làm @Abhinav0905 đã nhận 17 ngày trước. Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
temporalio/samples-python#191 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của temporalio/samples-python
Issue tương tự
-
area:print-dispatch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/geometry good first issue help wanted kind/doc-mismatch severity/4-minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Apich-Organization/rssn#295 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
chore claimed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
schuyler/corvidae#1424 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày