github / github/copilot-sdk

LargeToolOutputConfig handler is not used in sub agents

Offen
#2,161 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
10.5k
Forks
1.5k
Ø Merge
1 T. 11 Std.
Gemergte PRs (30 T.)
127

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
api
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.