Skip to content

Commit 2fbb94b

Browse files
committed
fix: bad merge conflict
Signed-off-by: JM Huibonhoa <jm.huibonhoa@solo.io>
1 parent afa7b64 commit 2fbb94b

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

go/core/pkg/app/app.go

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -675,22 +675,6 @@ func Start(getExtensionConfig GetExtensionConfig, migrationRunner MigrationRunne
675675
}
676676

677677
clientRegistry := a2a.NewAgentClientRegistry()
678-
a2aRegistrar, err := a2a.NewA2ARegistrar(
679-
mgr.GetCache(),
680-
a2aHandler,
681-
clientRegistry,
682-
cfg.A2ABaseUrl+httpserver.APIPathA2A,
683-
cfg.A2ABaseUrl+httpserver.APIPathA2ASandboxes,
684-
extensionCfg.Authenticator,
685-
)
686-
if err != nil {
687-
setupLog.Error(err, "unable to create a2a registrar")
688-
os.Exit(1)
689-
}
690-
if err := mgr.Add(a2aRegistrar); err != nil {
691-
setupLog.Error(err, "unable to set up a2a registrar")
692-
os.Exit(1)
693-
}
694678

695679
// Create MCP handler that invokes agents directly via their A2A clients,
696680
// bypassing the controller's own HTTP A2A listener.
@@ -713,9 +697,6 @@ func Start(getExtensionConfig GetExtensionConfig, migrationRunner MigrationRunne
713697
cfg.A2ABaseUrl+httpserver.APIPathA2A,
714698
cfg.A2ABaseUrl+httpserver.APIPathA2ASandboxes,
715699
extensionCfg.Authenticator,
716-
int(cfg.Streaming.MaxBufSize.Value()),
717-
int(cfg.Streaming.InitialBufSize.Value()),
718-
cfg.Streaming.Timeout,
719700
mcpHandler,
720701
)
721702
if err != nil {

0 commit comments

Comments
 (0)