Documentation
¶
Overview ¶
Package config centralizes Prism runtime configuration.
Index ¶
Constants ¶
const DefaultOllamaHost = "http://127.0.0.1:11434"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
RootDir string
AgentDir string
SkillsDir string
OllamaHost string
GitHubToken string
LinearMCPURL string
ModelRuntime runtime.RuntimeConfig
EventStore string
PolicyFile string
StateDir string
}
Settings holds process-level configuration read from defaults, .env, and env.
func Load ¶
Load reads configuration from defaults, an optional .env file in the current working directory, an optional Prism config env file, and environment variables.
func LoadForStateDir ¶ added in v0.1.22
LoadForStateDir loads runtime configuration for an explicitly selected state directory. Command-line state selection takes precedence over the state directory configured in .env or the environment, while explicit model environment variables still take precedence over the selected config file.