github / github/copilot-sdk

LargeToolOutputConfig handler is not used in sub agents

Open
#2,161 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 11h
Merged PRs (30d)
127

Description

I am using custom agents with .NET SDK (Copilot SDK Version: 1.0.8). I am passing LargeToolOutputConfig handler as part of session creation. This works fine if any tool was called as part of orchestrator agent and generated large output. Orchestrator agent handles large out as per LargeToolOutputConfig.

But it doesn't work in case of custom agents. Custom agents are not honoring LargeToolOutputConfig. So, tool calls always write data to disk file in case of large output.

How do we pass LargeToolOutputConfig to custom agents as well?

Contributor guide

Open the contributing guide

Research direction

Start by inspecting .NET SDK session creation and custom-agent setup to trace whether LargeToolOutputConfig is propagated to sub agents. Reproduce a tool call with large output through both the orchestrator and a custom agent; done means custom agents apply the configured handler instead of always writing large results to disk.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.