[BUG] Subtask does sometimes not return to main task

Aberta
#2,677 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
18/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
devtools, typescript
Domínio
ai-infra-agents

Direção de pesquisa

The payload names no file, test or entry point, so start by finding how subtask completion is handed back to the parent task in the TypeScript codebase. Reproduction is non-deterministic and no one has commented yet. Done would mean a reliable return to the orchestrator, but the issue does not define how to confirm it.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

bug

Describe the bug
I don't know if that is a regression from #566 or a new issue. But sometimes a sub-agent does not return to the orchestrator. It writes its final response which usually gets then copied over to the orchestrator, but it just stops there. I then have to manually copy that response, go back to the parent task and paste it there with a comment from where it comes. It usually works but sometimes I just forget about it and keep chatting with the sub-agent for a while until I realize I should have returned to the orchestrator a while ago. And then everything is out of sync and it gets complicated.

I even tried to explain to the sub-agent that he should give back his task to the parent task but then it usually just repeats the final answer and stops again, without returning. Maybe it would be a good idea to add a button that does exactly what the subagent should do. So basically summarize everything that was done and return to the orchestrator.

To Reproduce
There is no deterministic way to reproduce that behavior.

Expected behavior
When a subagent wrote his final answer it should always pass the ball back to the orchestrator.

Screenshots

Add screenshots if they help.
Does not help.

Video

Add a video of the bug. A video helps us find the cause.
Doesn't help either.

What version of zoo are you running
3.98.0

Additional context
I use ZooCode with DeepSeek in VSCodium on CachyOS.

Linguagem predominante
TypeScript
Estrelas
2k
Forks
301
Merge médio
3d 14h
PRs com merge (30d)
103

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Zoo-Code-Org/Zoo-Code

Todas as issues de Zoo-Code-Org/Zoo-Code

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.