mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-19 15:33:54 +00:00
fix(oauth): pin Codex client version to 0.159.2
Update the bundled Codex version used for upstream request headers and model discovery from 0.155.1 to 0.159.2. Clarify that blank version overrides probe the installed CLI and do not discover new releases. Saved settings continue to take precedence. Validation: 221 OAuth and plugin scan tests passed. The live runtime resolved 0.159.2 after updating its saved override, and model discovery returned 11 models.
This commit is contained in:
parent
50832e0229
commit
af74550409
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +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` for upstream version headers and catalog discovery without an installed CLI. Existing saved plugin settings take precedence; this default does not migrate blank or explicit overrides.
|
||||
- Ship the tested Codex client version in `default_config.yaml` for upstream version headers and catalog discovery without an installed CLI. Existing saved plugin settings take precedence; this default does not migrate blank or explicit overrides. A blank override probes `codex --version` and omits the version if no CLI is available; it does not discover new releases.
|
||||
- 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.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ codex:
|
|||
forced_workspace_id: ""
|
||||
|
||||
upstream_base_url: "https://chatgpt.com/backend-api/codex"
|
||||
codex_version: "0.155.1"
|
||||
codex_version: "0.159.2"
|
||||
models: []
|
||||
request_timeout_seconds: 120
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue