Versions in this module Expand all Collapse all v0 v0.1.12 Jan 14, 2026 v0.1.11 Jan 12, 2026 v0.1.10 Jan 12, 2026 v0.1.9 Jan 11, 2026 v0.1.8 Jan 10, 2026 v0.1.7 Jan 9, 2026 v0.1.6 Jan 9, 2026 Changes in this version type LLMConfig + MetaLlama *MetaLlamaConfig + type MetaLlamaConfig struct + APIKey string + BaseURL string + FrequencyPenalty float64 + MaxTokens int + Model string + PresencePenalty float64 + Retry *RetryConfig + RetryAttempts int + Temperature float64 + Timeout time.Duration + TopP float64 + func DefaultMetaLlamaConfig() *MetaLlamaConfig v0.1.4 Jan 9, 2026 v0.1.3 Jan 8, 2026 v0.1.2 Jan 8, 2026 v0.1.1 Jan 8, 2026 v0.1.0 Jan 8, 2026 Changes in this version + func GetMaxThinkingDepth(cfg *Config) int + func IsExtendedThinkingEnabled(cfg *Config) bool + func ShouldAutoExpandThinking(cfg *Config) bool + func ValidateExtendedThinkingConfig(cfg *ExtendedThinkingConfig) error + func WriteConfig(cfg *Config, filePath string) error + type AnthropicConfig struct + APIKey string + APIVersion string + BaseURL string + ExtendedThinking *ExtendedThinkingConfig + MaxTokens int + Model string + Retry *RetryConfig + RetryAttempts int + Temperature float64 + Timeout time.Duration + TopK int + TopP float64 + func DefaultAnthropicConfig() *AnthropicConfig + type AppConfig struct + Debug bool + Environment string + Name string + Version string + func DefaultAppConfig() AppConfig + type AuthConfig struct + APIKey string + ClientID string + ClientSecret string + Method string + RefreshToken string + Scopes []string + Timeout time.Duration + Token string + TokenURL string + func DefaultAuthConfig() AuthConfig + type AzureConfig struct + APIKey string + APIVersion string + DeploymentName string + Endpoint string + MaxTokens int + RetryAttempts int + Temperature float64 + Timeout time.Duration + TopP float64 + func DefaultAzureConfig() *AzureConfig + type BedrockConfig struct + AccessKeyID string + MaxTokens int + Model string + Profile string + Region string + RetryAttempts int + SecretAccessKey string + SessionToken string + Temperature float64 + Timeout time.Duration + TopP float64 + func DefaultBedrockConfig() *BedrockConfig + type BrowserToolConfig struct + Enabled bool + Headless bool + Timeout time.Duration + UserAgent string + func DefaultBrowserToolConfig() *BrowserToolConfig + type CacheConfig struct + Enabled bool + MaxSize int64 + MemcachedURL string + RedisURL string + TTL time.Duration + Type string + func DefaultCacheConfig() CacheConfig + type CircuitBreakerConfig struct + Enabled bool + FailureThreshold int + ResetTimeout time.Duration + SuccessThreshold int + Timeout time.Duration + func DefaultCircuitBreakerConfig() CircuitBreakerConfig + type CodeAnalysisToolConfig struct + Enabled bool + IncludeTests bool + Languages []string + MaxFileSize int64 + func DefaultCodeAnalysisToolConfig() *CodeAnalysisToolConfig + type ConcurrencyConfig struct + MaxQueueSize int + MaxWorkers int + WorkerTimeout time.Duration + func DefaultConcurrencyConfig() ConcurrencyConfig + type Config struct + App AppConfig + LLM LLMConfig + Logging LoggingConfig + Performance PerformanceConfig + Platform PlatformConfig + Security SecurityConfig + Services ServicesConfig + Tools ToolsConfig + func DefaultConfig() *Config + type DesignConfig struct + APIKey string + Enabled bool + Endpoint string + RetryAttempts int + Timeout time.Duration + func DefaultDesignConfig() *DesignConfig + type ExtendedThinkingConfig struct + AutoExpand bool + Enabled bool + MaxDepth int + func DefaultExtendedThinkingConfig() *ExtendedThinkingConfig + func GetExtendedThinkingConfig(cfg *Config) *ExtendedThinkingConfig + type FallbackConfig struct + Enabled bool + MaxRetries int + Providers []string + RetryDelay time.Duration + func DefaultFallbackConfig() *FallbackConfig + type FileSystemToolConfig struct + AllowedExtensions []string + AllowedPaths []string + BlockedPaths []string + Enabled bool + MaxFileSize int64 + func DefaultFileSystemToolConfig() *FileSystemToolConfig + type GoogleConfig struct + APIKey string + BaseURL string + Location string + MaxTokens int + Model string + ProjectID string + Retry *RetryConfig + RetryAttempts int + SafetySettings map[string]string + Temperature float64 + Timeout time.Duration + TopK int + TopP float64 + func DefaultGoogleConfig() *GoogleConfig + type ImplicitFeedbackConfig struct + ContinueScore float64 + CopyResponseScore float64 + EditResponseScore float64 + Enabled bool + RegenerateScore float64 + type LLMConfig struct + Anthropic *AnthropicConfig + Azure *AzureConfig + Bedrock *BedrockConfig + DefaultProvider string + Fallback *FallbackConfig + Google *GoogleConfig + Ollama *OllamaConfig + OpenAI *OpenAIConfig + func DefaultLLMConfig() LLMConfig + type Loader struct + func New() *Loader + func NewLoader(opts ...LoaderOption) *Loader + func (l *Loader) GetConfigFilePath() string + func (l *Loader) GetViper() *viper.Viper + func (l *Loader) Load() (*Config, error) + func (l *Loader) LoadFromFile(filePath string) (*Config, error) + func (l *Loader) SetConfigFile(filePath string) + type LoaderOption func(*Loader) + func WithConfigName(name string) LoaderOption + func WithConfigPaths(paths ...string) LoaderOption + func WithConfigType(configType string) LoaderOption + func WithEnvPrefix(prefix string) LoaderOption + func WithResolver(resolver *Resolver) LoaderOption + type LoggingConfig struct + Compress bool + FilePath string + Format string + Level string + MaxAge int + MaxBackups int + MaxSize int + Output string + SensitiveKeys []string + func DefaultLoggingConfig() LoggingConfig + type OllamaConfig struct + BaseURL string + KeepAlive string + MaxTokens int + Model string + RetryAttempts int + Temperature float64 + Timeout time.Duration + TopK int + TopP float64 + func DefaultOllamaConfig() *OllamaConfig + type OpenAIConfig struct + APIKey string + BaseURL string + FrequencyPenalty float64 + MaxTokens int + Model string + Organization string + PresencePenalty float64 + Retry *RetryConfig + RetryAttempts int + Temperature float64 + Timeout time.Duration + TopP float64 + func DefaultOpenAIConfig() *OpenAIConfig + type OrgConfig struct + ID string + Name string + Workspace string + func DefaultOrgConfig() OrgConfig + type PerformanceConfig struct + Cache CacheConfig + CircuitBreaker CircuitBreakerConfig + Concurrency ConcurrencyConfig + RateLimit RateLimitConfig + func DefaultPerformanceConfig() PerformanceConfig + type PlatformConfig struct + Authentication AuthConfig + Organization OrgConfig + func DefaultPlatformConfig() PlatformConfig + type RLHFConfig struct + APIKey string + AutoCollect bool + BatchInterval time.Duration + BatchSize int + Enabled bool + Endpoint string + ImplicitFeedback *ImplicitFeedbackConfig + ModelID string + OptOut bool + PromptInterval int + RetryAttempts int + ReviewBeforeSubmit bool + Timeout time.Duration + func DefaultRLHFConfig() *RLHFConfig + type RateLimitConfig struct + BurstSize int + Enabled bool + EndpointLimits map[string]int + IPAllowlist []string + IPBlocklist []string + PerEndpoint bool + PerUser bool + RedisURL string + RequestsPerMinute int + SkipPaths []string + Storage string + TimeWindow time.Duration + func DefaultRateLimitConfig() RateLimitConfig + type Resolver struct + func NewResolver(opts ...ResolverOption) *Resolver + func (r *Resolver) Resolve(value string) (string, error) + func (r *Resolver) ResolveAll(values map[string]string) (map[string]string, error) + type ResolverOption func(*Resolver) + func WithAllowedCommands(commands ...string) ResolverOption + func WithCommandExecution(enabled bool) ResolverOption + func WithCommandTimeout(timeout time.Duration) ResolverOption + type RetryConfig struct + EnableAPIKeyResolution bool + EnableJitter bool + EnableTimeoutIncrease bool + EnableTokenReduction bool + InitialDelay time.Duration + MaxAttempts int + MaxDelay time.Duration + Multiplier float64 + TimeoutIncreasePercent int + TokenReductionPercent int + func DefaultRetryConfig() *RetryConfig + type SecurityConfig struct + AllowedOrigins []string + EncryptConfig bool + EncryptionKey string + SecretRotation time.Duration + TLSCertPath string + TLSEnabled bool + TLSKeyPath string + func DefaultSecurityConfig() SecurityConfig + type ServicesConfig struct + Design *DesignConfig + RLHF *RLHFConfig + Strapi *StrapiConfig + ZeroDB *ZeroDBConfig + func DefaultServicesConfig() ServicesConfig + type StrapiConfig struct + APIKey string + Enabled bool + Endpoint string + RetryAttempts int + Timeout time.Duration + func DefaultStrapiConfig() *StrapiConfig + type TerminalToolConfig struct + AllowedCommands []string + BlockedCommands []string + Enabled bool + Timeout time.Duration + WorkingDir string + func DefaultTerminalToolConfig() *TerminalToolConfig + type ToolsConfig struct + Browser *BrowserToolConfig + CodeAnalysis *CodeAnalysisToolConfig + FileSystem *FileSystemToolConfig + Terminal *TerminalToolConfig + func DefaultToolsConfig() ToolsConfig + type Validator struct + func NewValidator(cfg *Config) *Validator + func (v *Validator) Validate() error + type ZeroDBConfig struct + ConnMaxLifetime time.Duration + ConnectionString string + Database string + Enabled bool + Endpoint string + IdleConnections int + MaxConnections int + Password string + ProjectID string + RetryAttempts int + RetryDelay time.Duration + SSL bool + SSLMode string + Timeout time.Duration + Username string + func DefaultZeroDBConfig() *ZeroDBConfig