fix: include apiKey in codex provider catalog to unblock models.json loading

This commit is contained in:
Bruce MacDonald
2026-04-13 19:11:29 -07:00
parent 44da6d2e90
commit ce61934ac9
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,