fix: include apiKey in codex provider catalog to unblock models.json loading (#66180)

Merged via squash.

Prepared head SHA: ce61934ac9
Co-authored-by: hoyyeva <63033505+hoyyeva@users.noreply.github.com>
Co-authored-by: BruceMacD <5853428+BruceMacD@users.noreply.github.com>
Reviewed-by: @BruceMacD
This commit is contained in:
Eva H
2026-04-13 19:22:09 -07:00
committed by GitHub
parent 44da6d2e90
commit 49d99c7500
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ Docs: https://docs.openclaw.ai
### Fixes
- Models/Codex: include `apiKey` in the codex provider catalog output so the Pi ModelRegistry validator no longer rejects the entry and silently drops all custom models from every provider in `models.json`. (#66180) Thanks @hoyyeva.
## 2026.4.14-beta.1
### Changes

View File

@@ -114,6 +114,7 @@ export async function buildCodexProviderCatalog(
return {
provider: {
baseUrl: CODEX_BASE_URL,
apiKey: "codex-app-server",
auth: "token",
api: "openai-codex-responses",
models,