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

Ouverte
#2,158 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Java
Étoiles
10.5k
Forks
1.5k
Merge moyen
1 j 11 h
PR mergées (30 j)
127

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java, linux
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
52/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.