Files
openclaw/src/agents
Muhammed Mukhthar CM 9e49c762e0 fix(auth): prioritize round-robin over lastGood for multi-account rotation (#281)
* fix(auth): prioritize round-robin over lastGood for multi-account rotation

When multiple OAuth accounts are configured, the round-robin rotation was
not working because lastGood was always prioritized, defeating the sort by
lastUsed.

Changes:
- Remove lastGood prioritization in resolveAuthProfileOrder
- Always apply orderProfilesByMode (sorts by lastUsed, oldest first)
- Only respect configuredOrder when explicitly set in config
- preferredProfile still takes priority for explicit user choice

Tested with 2 Google Antigravity accounts - verified alternating usage.

Follow-up to PR #269.

* style: fix formatting
2026-01-06 08:16:35 +00:00
..
2026-01-04 14:38:51 +00:00
2026-01-06 03:05:56 +01:00
2025-12-25 03:29:36 +01:00
2026-01-04 14:57:57 +00:00
2026-01-04 14:57:57 +00:00
2026-01-01 17:30:15 +01:00