-
-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity
Description
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:[email protected]",
"google-antigravity:[email protected]",
"google-antigravity:manual"
]
}
},
"agents": {
"defaults": {
"models": {
"google-antigravity/gemini-3-flash": {
"alias": "flash",
"params": {
"authProfileId": "google-antigravity:[email protected]"
}
},
"google-antigravity/claude-opus-4-5-thinking": {
"alias": "opus",
"params": {
"authProfileId": "google-antigravity:[email protected]"
}
}
}
}
}
}Expected Behavior
When using /model flash or /model opus, the model should use [email protected] as specified in the model's params.authProfileId.
Actual Behavior
The model uses [email protected] (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:[email protected])
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity