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) |
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
agent-framework/dotnet/src/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore/AGUIEndpointRouteBuilderExtensions.cs
Lines 31 to 34 in 7e5de8f