[Feature Request] Recover a research bot citation after a bounded search timeout
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 32/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 382
- Forks
- 129
- Merge médio
- 3d 17h
- PRs com merge (30d)
- 8
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de temporalio/samples-python
-
[Feature Request] End-to-end testing for OpenAI Agents SDK examplesTalvez livre de novo @donald-pinckney assumiu há 429 dias e não há nenhum pull request aberto. Abertaenhancement
temporalio/samples-python#254 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[Feature Request] Add OpenAI Agents Memory ExamplesTalvez livre de novo @donald-pinckney assumiu há 429 dias e não há nenhum pull request aberto. Abertaenhancement
temporalio/samples-python#253 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[Feature Request] Create sample for calling Python Client from a sync methodTalvez já em andamento @HarrisJDCampbell assumiu há 37 dias. Abertaenhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
temporalio/samples-python#231 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
temporalio/samples-python#192 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
[Feature Request] Create update with start early return sampleTalvez já em andamento @Abhinav0905 assumiu há 17 dias. Abertaenhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
temporalio/samples-python#191 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de temporalio/samples-python
Issues semelhantes
-
area:print-dispatch
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 92/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
area/geometry good first issue help wanted kind/doc-mismatch severity/4-minor
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Apich-Organization/rssn#295 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
chore claimed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
schuyler/corvidae#1424 · 2 comentários ·
Mantenedores costumam responder em até 1 dia