# config
Read and write LLM and behavior settings.
## Synopsis
```
oxo-call config login
oxo-call config set <KEY> <VALUE>
oxo-call config get <KEY>
oxo-call config show
oxo-call config verify
oxo-call config path
oxo-call config model <SUBCOMMAND>
```
## Subcommands
### `config login`
Interactive OAuth login for GitHub Copilot (recommended for GitHub Copilot users):
```bash
oxo-call config login
```
This command:
1. Initiates OAuth device flow with GitHub
2. Opens a browser window for authentication
3. Waits for you to authorize the application
4. Stores the GitHub App token (`ghu_`) securely
5. Prompts you to select a GitHub Copilot model (default: `gpt-5-mini`, lightweight free tier ⭐)
6. Saves all available models to `llm.models` for quick switching
**Important**: For GitHub Copilot, you must use a GitHub App token (`ghu_`), not a Personal Access Token (`ghp_`). The `config login` command handles this automatically.
### `config set`
Persist a configuration value:
```bash
oxo-call config set llm.provider openai
oxo-call config set llm.api_token sk-...
oxo-call config set llm.temperature 0.2
```
### `config get`
Show the effective value (with environment variable overrides applied):
```bash
oxo-call config get llm.provider
```
### `config show`
Display all stored and effective values side-by-side:
```bash
oxo-call config show
```
### `config verify`
Make a real API call to confirm the LLM configuration works:
```bash
oxo-call config verify
```
### `config path`
Print the path to `config.toml`:
```bash
oxo-call config path
```
### `config model`
Manage the configured model list and switch the active model without re-running login.
The active model is displayed with a ★ marker.
```bash
# List configured models
oxo-call config model list
# Add a model to your list
oxo-call config model add gpt-5.4
# Switch the active model
oxo-call config model use gpt-4.1 # alias: switch
oxo-call config model switch gemini-2.5-pro
# Remove a model from the list
oxo-call config model remove claude-sonnet-4
```
After `config login`, the full list of supported GitHub Copilot models is automatically populated.
You can use `config model add <id>` to add models not included in the login selection (e.g., preview models).
## Configuration Reference
See the [Configuration tutorial](../tutorials/configuration.md) for complete details on all keys, defaults, and environment variables.