Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Allow Goal to be a struct type
JBD565b7eebe26f
diff --git a/internal/controller/gemini.go b/internal/controller/gemini.goindex b58e0b1..2ca9703 100644--- a/internal/controller/gemini.go+++ b/internal/controller/gemini.go@@ -171,7 +171,7 @@ Guidelines:return &AgentTask{AgentID: agentID,Input: input,- Goal: "Process user request using Gemini-selected agent",+ Goal: &Goal{Description: "Process user request using model selected agent"},StepIndex: session.CurrentStep,}, nil}diff --git a/internal/controller/loop.go b/internal/controller/loop.goindex 7dbe038..78983fd 100644--- a/internal/controller/loop.go+++ b/internal/controller/loop.go@@ -8,11 +8,16 @@ import ("github.com/google/gar/proto")+// Goal represents the objective of an agent task.+type Goal struct {+ Description string+}+// AgentTask represents a task to be executed by an agent.type AgentTask struct {AgentID stringInput []*proto.Content- Goal string+ Goal *GoalStepIndex int}