mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
## Why A user-configured `model_providers.gcp.base_url` previously blocked GCP setup, requiring manual removal before configuring a project and location. ## What changed Have `account/gcp/setup` clear the active user configuration’s `base_url` override after obtaining an access token, allowing the requested project and location to determine the Vertex AI endpoint. Continue rejecting configuration layers that would still supply an endpoint override or otherwise conflict with the request. Document this behavior. ## Testing Update integration tests to cover clearing an existing override on success, preserving it when authentication fails, and rejecting a managed endpoint override. GitOrigin-RevId: 26a725133d9069ad63dfb0bb06ddf3c5d1545cad