Skip to content

Agent Zero AI framework

Set the tested Codex client version by default

Alessandroc9ab7c5f17d4
diff --git a/plugins/_oauth/AGENTS.md b/plugins/_oauth/AGENTS.md
index 3f54f78cd..c2dd97d43 100644
--- a/plugins/_oauth/AGENTS.md
+++ b/plugins/_oauth/AGENTS.md
@@ -22,6 +22,7 @@
## Local Contracts
- Core model code such as `models.py` must stay provider-agnostic. Do not add Codex, GitHub Copilot, Gemini, xAI, or other OAuth provider knowledge outside plugin-owned config or plugin hooks.
+- Ship the tested Codex client version in `default_config.yaml` so default catalog discovery does not require an installed CLI. Existing saved plugin settings take precedence; this default does not migrate blank or explicit overrides.
- Add OAuth model providers in `_oauth/conf/model_providers.yaml`, not `_model_config/provider_metadata.yaml`.
- Provider cards and model slot actions must be driven by backend provider status. Do not reintroduce hardcoded frontend provider lists or fallback provider catalogs.
- OAuth account surfaces in settings, discovery, and onboarding must use the provider registry/status summary rather than Codex-only frontend state.
diff --git a/plugins/_oauth/default_config.yaml b/plugins/_oauth/default_config.yaml
index 9bce8b09c..ea4b502b2 100644
--- a/plugins/_oauth/default_config.yaml
+++ b/plugins/_oauth/default_config.yaml
@@ -21,7 +21,7 @@ codex:
forced_workspace_id: ""
upstream_base_url: "https://chatgpt.com/backend-api/codex"
- codex_version: ""
+ codex_version: "0.153.3"
models: []
request_timeout_seconds: 120