Model-level authProfileId override not respected when switching models via /model command
Resolved 💬 1 comment Opened Jan 31, 2026 by jaceyang2026-droid Closed Jan 31, 2026
Description
When switching models using the /model command, the per-model authProfileId configuration is not being respected. Instead, the first profile in auth.order is always used.
Configuration
{
"auth": {
"order": {
"google-antigravity": [
"google-antigravity:jaceyang2026@gmail.com",
"google-antigravity:dharmendraalmarzooq496@gmail.com",
"google-antigravity:manual"
]
}
},
"agents": {
"defaults": {
"models": {
"google-antigravity/gemini-3-flash": {
"alias": "flash",
"params": {
"authProfileId": "google-antigravity:dharmendraalmarzooq496@gmail.com"
}
},
"google-antigravity/claude-opus-4-5-thinking": {
"alias": "opus",
"params": {
"authProfileId": "google-antigravity:dharmendraalmarzooq496@gmail.com"
}
}
}
}
}
}
Expected Behavior
When using /model flash or /model opus, the model should use dharmendraalmarzooq496@gmail.com as specified in the model's params.authProfileId.
Actual Behavior
The model uses jaceyang2026@gmail.com (the first profile in auth.order) instead of the explicitly configured authProfileId.
Verified via /status:
🧠 Model: google-antigravity/claude-opus-4-5-thinking · 🔑 oauth (google-antigravity:jaceyang2026@gmail.com)
Environment
- OpenClaw: 2026.1.30 (76b5208)
- OS: macOS (Darwin 25.1.0, arm64)
- Node: v25.5.0
Steps to Reproduce
- Configure multiple auth profiles for google-antigravity
- Set
auth.orderwith profile A first - Configure a model with
params.authProfileIdpointing to profile B - Use
/model <alias>to switch to that model - Check
/status- it shows profile A instead of profile B
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗