Skip to content

.NET: [Bug]: AGUIChatClient doesnt forward/populate AdditionalProperties #6600

@MD-V

Description

@MD-V

Description

When the AGUIChatClient constructs the RunAgentInput it doesn't populate the ForwardedProperties property.

Currently there seems no way to supply those ForwardedProperties in any way.

Code Sample

AGUIChatClient:

// Create the input for the AGUI service
var input = new RunAgentInput
{
    // AG-UI requires a thread ID to work, but for FunctionInvokingChatClient that
    // implies the underlying client is managing the history.
    ThreadId = threadId,
    RunId = runId,
    Messages = messagesList.AsAGUIMessages(this._jsonSerializerOptions),
    State = state,
};

Error Messages / Stack Traces

Package Versions

Microsoft.Agents.AI.AGUI

.NET Version

.NET 10

Additional Context

No response

Metadata

Metadata

Assignees

Labels

.NETIssues related to the .NET codebasereproducedSpecified when the automated triage workflow successfully reproduces a bug report

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions