Fix tests

This commit is contained in:
Javier Calvarro Nelson
2025-12-02 16:20:22 +01:00
parent dd267778b9
commit 09c0648486
5 changed files with 10 additions and 10 deletions
@@ -26,18 +26,18 @@ app.UseHttpLogging();
ChatClientAgentFactory.Initialize(app.Configuration);
// Map the AG-UI agent endpoints for different scenarios
app.MapAGUI("/agentic_chat", ChatClientAgentFactory.CreateAgenticChat());
app.MapAGUI(ChatClientAgentFactory.CreateAgenticChat(), "/agentic_chat");
app.MapAGUI("/backend_tool_rendering", ChatClientAgentFactory.CreateBackendToolRendering());
app.MapAGUI(ChatClientAgentFactory.CreateBackendToolRendering(), "/backend_tool_rendering");
app.MapAGUI("/human_in_the_loop", ChatClientAgentFactory.CreateHumanInTheLoop());
app.MapAGUI(ChatClientAgentFactory.CreateHumanInTheLoop(), "/human_in_the_loop");
app.MapAGUI("/tool_based_generative_ui", ChatClientAgentFactory.CreateToolBasedGenerativeUI());
app.MapAGUI(ChatClientAgentFactory.CreateToolBasedGenerativeUI(), "/tool_based_generative_ui");
app.MapAGUI("/agentic_generative_ui", ChatClientAgentFactory.CreateAgenticUI());
app.MapAGUI(ChatClientAgentFactory.CreateAgenticUI(), "/agentic_generative_ui");
var jsonOptions = app.Services.GetRequiredService<IOptions<Microsoft.AspNetCore.Http.Json.JsonOptions>>();
app.MapAGUI("/shared_state", ChatClientAgentFactory.CreateSharedState(jsonOptions.Value.SerializerOptions));
app.MapAGUI(ChatClientAgentFactory.CreateSharedState(jsonOptions.Value.SerializerOptions), "/shared_state");
await app.RunAsync();