Versions in this module Expand all Collapse all v0 v0.1.0 Aug 9, 2025 Changes in this version + type AgentManager struct + func NewAgentManager(llmManager *llm.ProviderManager, toolRegistry *tools.ToolRegistry) *AgentManager + func (am *AgentManager) CreateAgent(config *agent.AgentConfig) (*agent.Agent, error) + func (am *AgentManager) DeleteAgent(id string) + func (am *AgentManager) GetAgent(id string) (*agent.Agent, bool) + func (am *AgentManager) ListAgents() []string + type AutoServer struct + func NewAutoServer(config *AutoServerConfig) *AutoServer + func (as *AutoServer) GenerateEndpoints() error + func (as *AutoServer) LoadAgentsFromConfig(configPath string) error + func (as *AutoServer) LoadAgentsFromDirectory(directory string) error + func (as *AutoServer) RegisterAgent(id string, definition agent.AgentDefinition) error + func (as *AutoServer) Start(ctx context.Context) error + type AutoServerConfig struct + BasePath string + EnableCORS bool + EnableMetricsAPI bool + EnablePlayground bool + EnableSchemaAPI bool + EnableWebUI bool + Host string + LLMProviders map[string]interface{} + MaxRequestSize int64 + Middleware []string + OllamaEndpoint string + Port int + SchemaValidation bool + ServerTimeout time.Duration + func DefaultAutoServerConfig() *AutoServerConfig + type Server struct + func NewServer(config *ServerConfig) *Server + func (s *Server) SetAgentManager(manager *AgentManager) + func (s *Server) SetLLMManager(manager *llm.ProviderManager) + func (s *Server) SetSessionManager(manager *persistence.SessionManager) + func (s *Server) SetToolRegistry(registry *tools.ToolRegistry) + func (s *Server) Start() error + func (s *Server) Stop(ctx context.Context) error + type ServerConfig struct + DevMode bool + EnableCORS bool + Host string + LogLevel string + MaxHeaderBytes int + Port int + ReadTimeout time.Duration + StaticDir string + WriteTimeout time.Duration + func DefaultServerConfig() *ServerConfig