github / github/copilot-cli

Agents cancelling sub-agent

Đang mở
#2,460 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
area:agents
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the feature or problem you'd like to solve

Agents cannot cancel background sub-agents they launched — only users can, via the /tasks UI

### Proposed solution

A cancel tool taking an agent_id would mirror what the /tasks UI already gives users, letting agents actively manage delegated work — not just wait for it.

### Example prompts or workflows

1. An orchestrator runs parallel research agents; when one returns a definitive finding, the others become redundant — it should be able to cancel them rather than wait them out.
2. An orchestrator enforces a time budget: after 15 minutes without completion, cancel and re-dispatch with a more focused prompt.
3. A user correction arrives mid-flight; the orchestrator should abort in-progress sub-agents before acting on the new direction.

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.