Skip to content

armgit / ax

Public Imported from GitHub
0

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

Go

Make agent ID a constant

JBD4dedfe9cacb8
diff --git a/examples/remote_agent/main.go b/examples/remote_agent/main.go
index 6abab1b..0a25ba6 100644
--- a/examples/remote_agent/main.go
+++ b/examples/remote_agent/main.go
@@ -123,7 +123,7 @@ func (s *server) HealthCheck(ctx context.Context, req *proto.HealthCheckRequest)
}
func main() {
- agentID := "remote-echo-agent"
+ const agentID = "remote-echo-agent"
fmt.Printf("Listening on port: %s\n", port)
lis, err := net.Listen("tcp", port)