github / github/copilot-sdk

LargeToolOutputConfig handler is not used in sub agents

Ouverte
#2,161 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
10.5k
Forks
1.5k
Merge moyen
1 j 11 h
PR mergées (30 j)
128

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?

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

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

Évaluation

Stack technique
csharp
Domaine
api
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

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