# Configuration Reference

### Configuration Reference

#### Environment Variables

| Variable                       | Default                                         | Description                    |
| ------------------------------ | ----------------------------------------------- | ------------------------------ |
| `SECRET_AI_API_KEY`            | *required*                                      | Your Secret AI API key         |
| `SECRET_NODE_URL`              | `https://lcd.secret.tactus.starshell.net/`      | Secret Network LCD endpoint    |
| `SECRET_CHAIN_ID`              | `secret-4`                                      | Secret Network chain ID        |
| `SECRET_WORKER_SMART_CONTRACT` | `secret1xv90yettghx8uv6ug23knaf5mjqwlsghau6aqa` | Worker contract address        |
| `SECRET_AI_REQUEST_TIMEOUT`    | `30`                                            | Request timeout in seconds     |
| `SECRET_AI_CONNECT_TIMEOUT`    | `10`                                            | Connection timeout in seconds  |
| `SECRET_AI_MAX_RETRIES`        | `3`                                             | Maximum retry attempts         |
| `SECRET_AI_RETRY_DELAY`        | `1`                                             | Initial retry delay in seconds |
| `SECRET_AI_RETRY_BACKOFF`      | `2`                                             | Backoff multiplier for retries |
| `SECRET_AI_MAX_RETRY_DELAY`    | `60`                                            | Maximum retry delay in seconds |
|                                |                                                 |                                |
