Configuration
Environment Variables
API Keys
Section titled “API Keys”| Variable | Description |
|---|---|
ZAI_API_KEY | z.ai API key (default provider) |
ANTHROPIC_API_KEY | Anthropic API key (alternative provider) |
OPENAI_API_KEY | OpenAI API key (alternative provider) |
Configuration
Section titled “Configuration”| Variable | Description |
|---|---|
SANDCODE_CONFIG_DIR | Override config directory (default: ~/.sandcode) |
SANDCODE_MODEL | Override model selection |
SANDCODE_PROVIDER | Override provider |
Telemetry
Section titled “Telemetry”| Variable | Description |
|---|---|
SANDCODE_METRICS_ENDPOINT | Custom telemetry endpoint (all built-in telemetry is disabled by default) |
SANDCODE_DISABLE_TELEMETRY | Set to true to explicitly disable (already disabled) |
Development
Section titled “Development”| Variable | Description |
|---|---|
SANDCODE_DEV | Enable development mode |
SANDCODE_DEBUG | Enable debug logging |
Runtime
Section titled “Runtime”| Variable | Description |
|---|---|
NO_COLOR | Disable colored output |
FORCE_COLOR | Force colored output |
TERM | Terminal type (affects theme selection) |