Skip to content

armgit / ax

Public Imported from GitHub
0

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

Go

Remove arbitrary metadata fields

JBD516acaa4efcf
diff --git a/gar.yaml b/gar.yaml
index a3ee485..90e7104 100644
--- a/gar.yaml
+++ b/gar.yaml
@@ -54,9 +54,3 @@ health_check_interval: 30s
# address: "localhost:50051"
# metadata:
# version: "1.0"
-# language: "python"
-#
-# - id: "custom-agent"
-# name: "Custom Agent"
-# description: "Custom agent implementation"
-# address: "localhost:50052"
diff --git a/internal/config/config.go b/internal/config/config.go
index a2b2961..94d0fdd 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -11,12 +11,12 @@ import (
// Config represents the main configuration for GAR server.
type Config struct {
- Server ServerConfig `yaml:"server"`
- EventLog EventLogConfig `yaml:"eventlog"`
- MaxSteps int `yaml:"max_steps"` // Maximum steps per trigger
- HealthCheckInterval time.Duration `yaml:"health_check_interval"` // Health check interval for agents
- GeminiPlanner GeminiPlannerConfig `yaml:"gemini_planner,omitempty"`
- RemoteAgents []RemoteAgentConfig `yaml:"remote_agents,omitempty"` // List of remote agents to register
+ Server ServerConfig `yaml:"server"`
+ EventLog EventLogConfig `yaml:"eventlog"`
+ MaxSteps int `yaml:"max_steps"` // Maximum steps per trigger
+ HealthCheckInterval time.Duration `yaml:"health_check_interval"` // Health check interval for agents
+ GeminiPlanner GeminiPlannerConfig `yaml:"gemini_planner,omitempty"`
+ RemoteAgents []RemoteAgentConfig `yaml:"remote_agents,omitempty"` // List of remote agents to register
}
// ServerConfig configures the gRPC server.
@@ -49,10 +49,10 @@ type GeminiPlannerConfig struct {
// RemoteAgentConfig configures a remote agent to register on startup.
type RemoteAgentConfig struct {
- ID string `yaml:"id"` // Unique agent identifier
- Name string `yaml:"name"` // Human-readable name
- Description string `yaml:"description"` // Description of agent capabilities
- Address string `yaml:"address"` // gRPC address (e.g., "localhost:50051")
+ ID string `yaml:"id"` // Unique agent identifier
+ Name string `yaml:"name"` // Human-readable name
+ Description string `yaml:"description"` // Description of agent capabilities
+ Address string `yaml:"address"` // gRPC address (e.g., "localhost:50051")
Metadata map[string]string `yaml:"metadata,omitempty"` // Optional metadata
}