Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Rename Task.Input to Task.Inputs
Jaana Dogan03fa454078c6
diff --git a/internal/controller/gemini.go b/internal/controller/gemini.goindex 1a02265..e7419ef 100644--- a/internal/controller/gemini.go+++ b/internal/controller/gemini.go@@ -172,7 +172,7 @@ Guidelines:return &Task{AgentID: agentID,- Input: input,+ Inputs: input,Goal: &Goal{Description: "Process user request using model selected agent"},StepIndex: session.CurrentStep,}, nildiff --git a/internal/controller/loop.go b/internal/controller/loop.goindex 3bfd06f..a755422 100644--- a/internal/controller/loop.go+++ b/internal/controller/loop.go@@ -16,7 +16,7 @@ type Goal struct {// Task represents a task to be executed by an agent.type Task struct {AgentID string- Input []*proto.Content+ Inputs []*proto.ContentGoal *GoalStepIndex int}@@ -196,7 +196,7 @@ func (e *LoopExecutor) executeTask(ctx context.Context, session *Session, ag age}// Process inputs with the agent- if err := ag.Process(ctx, session.ID, task.Input, outputHandler); err != nil {+ if err := ag.Process(ctx, session.ID, task.Inputs, outputHandler); err != nil {return nil, fmt.Errorf("agent process failed: %w", err)}