config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAgentConfig

func GetAgentConfig() *types.AgentConfig

GetAgentConfig returns the agent configuration.

func GetAppConfig

func GetAppConfig() *types.AppConfig

GetAppConfig returns the application configuration.

func GetAutoPlannerConfig added in v0.1.2

func GetAutoPlannerConfig() *types.AutoPlannerConfig

GetAutoPlannerConfig returns the auto planner configuration for Data Agent.

func GetAutoPlannerLLMModel added in v0.1.2

func GetAutoPlannerLLMModel() string

GetAutoPlannerLLMModel returns the LLM model used for auto planning.

func GetConfig

func GetConfig() *types.Config

GetConfig returns the global configuration instance.

func GetDataAgentConfig added in v0.1.2

func GetDataAgentConfig() *types.DataAgentConfig

GetDataAgentConfig returns the Data Agent configuration.

func GetEnvironment

func GetEnvironment() string

GetEnvironment returns the current running environment.

func GetExecutionConfig added in v0.1.2

func GetExecutionConfig() *types.ExecutionConfig

GetExecutionConfig returns the execution engine configuration.

func GetExecutionGlobalConfig added in v0.1.2

func GetExecutionGlobalConfig() *types.GlobalExecutionConfig

GetExecutionGlobalConfig returns the global execution settings.

func GetExecutionPlanConfig added in v0.1.2

func GetExecutionPlanConfig() *types.PlanExecutionConfig

GetExecutionPlanConfig returns the execution plan configuration.

func GetExecutionStepConfig added in v0.1.2

func GetExecutionStepConfig() *types.StepExecutionConfig

GetExecutionStepConfig returns the execution step configuration.

func GetLogConfig added in v0.1.2

func GetLogConfig() *types.LogConfig

GetLogConfig returns the logging configuration.

func GetMCPConfig added in v0.1.2

func GetMCPConfig() *types.MCPConfig

GetMCPConfig returns the global MCP configuration.

func GetMCPGlobalConfig added in v0.1.2

func GetMCPGlobalConfig() *types.GlobalMCPConfig

GetMCPGlobalConfig returns the global MCP settings.

func GetMCPServerConfig added in v0.1.2

func GetMCPServerConfig(serverName string) (*types.MCPRef, bool)

GetMCPServerConfig returns a specific MCP server configuration.

func GetMCPServerDefinition added in v0.1.2

func GetMCPServerDefinition(serverName string) (*types.MCPServerDefinition, bool)

GetMCPServerDefinition returns a specific MCP server definition.

func GetMCPServerDefinitions added in v0.1.2

func GetMCPServerDefinitions() map[string]types.MCPServerDefinition

GetMCPServerDefinitions returns all MCP server definitions.

func GetMCPServersByType added in v0.1.2

func GetMCPServersByType(serverType string) map[string]types.MCPServerDefinition

GetMCPServersByType returns all MCP servers of a specific type.

func GetMCPServersConfig added in v0.1.2

func GetMCPServersConfig() map[string]*types.MCPRef

GetMCPServersConfig returns the MCP servers configuration for Data Agent.

func GetMasterAgentConfig added in v0.1.2

func GetMasterAgentConfig() *types.MasterAgentConfig

GetMasterAgentConfig returns the Master Agent configuration.

func GetModelsConfig

func GetModelsConfig() *types.ModelsConfig

GetModelsConfig returns the models configuration.

func GetResearchAgentConfig added in v0.1.2

func GetResearchAgentConfig() *types.ResearchAgentConfig

GetResearchAgentConfig returns the Research Agent configuration.

func GetResearchConfig

func GetResearchConfig() *types.ResearchAgentConfig

GetResearchConfig returns the research agent configuration.

func GetResultMergerConfig added in v0.1.2

func GetResultMergerConfig() *types.ResultMergerConfig

GetResultMergerConfig returns the result merger configuration.

func GetSearchConfig

func GetSearchConfig() *types.SearchConfig

GetSearchConfig returns the search configuration.

func GetStreamMergerConfig added in v0.1.2

func GetStreamMergerConfig() *types.StreamMergerConfig

GetStreamMergerConfig returns the stream merger configuration.

func GetTaskAnalyzerConfig added in v0.1.2

func GetTaskAnalyzerConfig() *types.TaskAnalyzerConfig

GetTaskAnalyzerConfig returns the task analyzer configuration.

func GetWebConfig

func GetWebConfig() *types.WebConfig

GetWebConfig returns the web configuration.

func IsAutoPlannerEnabled added in v0.1.2

func IsAutoPlannerEnabled() bool

IsAutoPlannerEnabled checks if the auto planner is enabled.

func IsDebugMode

func IsDebugMode() bool

IsDebugMode checks if the application is in debug mode.

func IsDevelopment

func IsDevelopment() bool

IsDevelopment checks if the application is in development environment.

func IsProduction

func IsProduction() bool

IsProduction checks if the application is in production environment.

func IsTesting

func IsTesting() bool

IsTesting checks if the application is in testing environment.

func LoadConfig

func LoadConfig(configPath string) *types.Config

LoadConfig loads the configuration from a given path. It uses Viper to support multiple configuration formats and environment variables.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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