config

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config provides configuration for stats-agent-team. It wraps agentkit/config to provide unified configuration loading from config.json, environment variables, and OmniVault secrets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*akconfig.Config

	// Agent URLs (stats-agent-team specific)
	ResearchAgentURL     string
	SynthesisAgentURL    string
	VerificationAgentURL string
	OrchestratorURL      string
	OrchestratorEinoURL  string

	// Observability workspace (stats-agent-team specific)
	ObservabilityWorkspace string

	// HTTP Server Configuration
	HTTPTimeoutSeconds int
}

Config holds the application configuration. It embeds agentkit's Config for core settings and adds stats-agent-team specific fields.

func Load added in v0.6.0

func Load(ctx context.Context) (*Config, error)

Load loads configuration from config.json, environment variables, and OmniVault. This is the recommended way to load configuration as it:

  • Reads settings from config.json (LLM_PROVIDER, SEARCH_PROVIDER, etc.)
  • Allows environment variable overrides
  • Loads secrets from OmniVault (API keys from env or AWS Secrets Manager)

func LoadConfig

func LoadConfig() *Config

LoadConfig loads configuration from environment variables only. Deprecated: Use Load(ctx) instead for config.json and OmniVault support.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL