mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
The proactive health-check refresh deactivation branch nulled the stored refresh_token on any unrecoverable error (e.g. invalid_grant). That was only meant for rotating one-time-use tokens (Codex/OpenAI); for non-rotating Google-family providers (gemini-cli/antigravity/gemini) it destroyed the user's only recovery artifact, leaving the connection permanently showing 'No valid refresh token available'. Gate the null on isRotatingProvider so non-rotating tokens are preserved. Closes #3679