From 2e40ebb08b4d3e0434d05b2d4b0b528d2b2e7b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Mon, 21 Sep 2026 18:43:46 -0400 Subject: [PATCH] docs(agents): the codex table is five models, and how to refresh it --- AGENTS.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b000d94..0f58a48 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -385,11 +385,15 @@ client-side, no backend surface. carries the thinking level. NO websocket, NO base_instructions. CATALOG is HARDCODED (`PlatformId::hardcoded_catalog` → `openai_codex_wire_models`, mapped through the SAME - `platform_wire_model_to_entry` output): exactly the 4 `visibility=list` && - `supported_in_api=true` models (`gpt-5.6-sol/terra/luna`, `gpt-5.5`, ctx - 272000, per-model efforts) — NO live `/models` fetch, NO codex-CLI / - `~/.codex` dependency; `gpt-5.3-codex-spark` (api=false) and - `gpt-5.4`/`gpt-5.4-mini`/`codex-auto-review` (hidden) are EXCLUDED. + `platform_wire_model_to_entry` output): the 5 `visibility=list` && + `supported_in_api=true` models the backend served on 2026-09-21 + (`gpt-6-astra`, `gpt-5.6-sol/terra/luna`, `gpt-5.5`, ctx 272000, + per-model efforts) — NO live `/models` fetch, NO codex-CLI / `~/.codex` + dependency; the hidden `gpt-reserve` and `codex-auto-review` are + EXCLUDED. Refresh the table by reading + `GET {base}/models?client_version=` with a + ChatGPT bearer: an old `client_version` is answered with a truncated + list, so a stale version reads as "the model does not exist". - `OAuthFlow::GithubDeviceCopilot` → `auth::github_copilot` (TWO-STAGE). Provider: `github-copilot` (`scope_key oauth/github-copilot`, base `api.individual.githubcopilot.com`, ChatCompletions wire). Stage 1 is an