github / github/copilot-sdk

Setting `LargeOutput` but if subagent started, it won't inherit the LargeOutput but use the operating system's default tmp directory

Aperta
#2,158 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Java
Stelle
10.5k
Fork
1.5k
Merge medio
1g 11h
PR unite (30g)
127

Descrizione

When using the copilot sdk, we want to specify the LargeOutput dir to limit the large output from Tools be saved to specified directory. It works for the main agent, but sometimes subagents are launched, and the subagents will also call MCP Tools, whose large output will be saved to /tmp in Linux.

This is not ideal, because we want all large output to be saved to the specified directory. Our read tools are not allowed to read any directory in the operainng system, if the large output is saved to the default tmp dir (like /tmp in Linux), some customed defined read tools will fail since we only allow them to read specific directory

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

No file or test is named. Start by tracing how LargeOutput is propagated from the main agent to launched subagents and their MCP tool calls. Done means large output from both the main agent and subagents is saved in the specified directory rather than the operating system's default temporary directory.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, linux
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.