feat: Modify the Gemini account verification logic by zhengkunwang223 · Pull Request #12155 · 1Panel-dev/1Panel

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Gemini provider config synced when patching OpenClaw

This Gemini patch no longer includes Models, and writeOpenclawConfig only rewrites conf["models"] when patch.Models is non-nil. For upgraded agents that already have models.providers.google from the previous behavior, changing Gemini accounts now leaves stale API/baseURL values in openclaw.json, so runtime credentials can remain out of sync with the selected account.

Useful? React with 👍 / 👎.