Skip to content

LargeToolOutputConfig handler is not used in sub agents #2161

Description

@assing

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions