Skip to content

.NET: Add Support for Passing Agent Name (String) Instead of AIAgent Instance to MapAGUI Method #2179

Description

@Varorbc

It would be great to enhance this API by allowing MapAGUI to accept an agent's name (string) instead of requiring the actual AIAgent instance.

cc @javiercn

public static IEndpointConventionBuilder MapAGUI(
this IEndpointRouteBuilder endpoints,
[StringSyntax("route")] string pattern,
AIAgent aiAgent)

Metadata

Metadata

Assignees

Labels

.NETUsage: [Issues, PRs], Target: .Netag-uiUsage: [Issues, PRs], Target: AG-UI protocol integrationquestionUsage: [Issues, PRs], Target: all issues or PRs where additional context is needed from the author

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions