Skip to content

armgit / ax

Public Imported from GitHub
0

Agent Executor (AX) is Google's open agentic orchestration runtime

Go

todo: add TODO to consider removing hardcoded default gemini agent (#327)

JoyceLiucc08d9b3ef61
diff --git a/internal/controller/controller.go b/internal/controller/controller.go
index d7c44e1..a645829 100644
--- a/internal/controller/controller.go
+++ b/internal/controller/controller.go
@@ -177,6 +177,8 @@ func (d *Controller) Exec(ctx context.Context, req *proto.ExecRequest, handler E
}
registry := maps.Clone(d.registry.Map())
registry[plannerAgentID] = planner
+
+ // TODO(lhuan): consider remove this.
registry["gemini"] = gemini.NewGeminiAgent()
// For testing only! Remove this once the project is stable.