Configuration¶
OrqestConfig
dataclass
¶
Immutable runtime configuration.
load_config ¶
Load configuration from environment variables.
Optionally loads a .env file first. Validates that required values are present so callers get a clear error at startup rather than a cryptic failure mid-run.
Raises:
| Type | Description |
|---|---|
ValueError
|
If LLM_API_KEY is not set. |
Source code in orqest/config.py
get_default_config
cached
¶
Cached convenience wrapper around load_config().
Use load_config() directly when you need explicit control over the dotenv path or want a fresh (non-cached) config.