github / github/copilot-cli

Clear the context after handoff to other agents

Aperta
#1,180 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub
area:agents area:context-memory
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Agent A has `handoff:true` for the Agent B. After the Agent A completes the task, the context window is nearly full. It leads to the agent B won't have enough context window to properly do the task.

### Proposed solution

Should compact the conversation and give the next agent a clear context window

### Example prompts or workflows

_No response_

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.