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

未关闭
#2,158 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Java
星标
10.5k
派生
1.5k
平均合并
1 天 11 小时
30 天内合并 PR
128

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
java, linux
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。