Codex.Options (Codex SDK v0.3.0)
View SourceGlobal configuration for Codex interactions.
Options are built from caller-supplied values merged with environment defaults.
Summary
Types
Functions
Determines the executable path to codex-rs.
Order of precedence:
- Explicit override on the struct.
CODEX_PATHenvironment variable.System.find_executable("codex").
Builds a validated options struct.
The API key is required. It can be provided directly or via the CODEX_API_KEY
environment variable.