Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Remove excessive logging from the remote agent example
Jaana Dogan349cfa526734
diff --git a/examples/remote_agent/main.go b/examples/remote_agent/main.goindex f745e43..87eb5c9 100644--- a/examples/remote_agent/main.go+++ b/examples/remote_agent/main.go@@ -37,23 +37,16 @@ type server struct {// Process implements bidirectional streaming for content processing.// This RPC is called by the gar controller when a session triggers this agent.func (s *server) Process(stream proto.AgentService_ProcessServer) error {- log.Println("Process stream started - gar controller connected")-for {// Receive input content from gar controllercontent, err := stream.Recv()if err == io.EOF {- log.Println("Process stream closed by gar controller")return nil}if err != nil {- log.Printf("Error receiving from controller: %v", err)return err}- log.Printf("Received from controller: role=%s, type=%s, data=%s",- content.Role, content.Type, content.Data)-// Process the content (simple uppercase echo)response := &proto.Content{Role: "assistant",@@ -64,7 +57,6 @@ func (s *server) Process(stream proto.AgentService_ProcessServer) error {// Send response back to gar controllerif err := stream.Send(response); err != nil {- log.Printf("Error sending to controller: %v", err)return err}