feat(catalog): support native OpenAI display name overrides - #3627
feat(catalog): support native OpenAI display name overrides#3627everton-dgn wants to merge 1 commit into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 54 / 80이 PR은 이미 있는 핵심은 테스트( 지금 라인 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This PR stays in draft until every box above is ticked. |
Summary
Allow
providers.openai.modelDisplayNamesto label supported bare native GPT rows in the local Codex catalog. For example,"gpt-6-astra": "GPT 6 Astra"changes the picker label while keeping the model ID and capabilities intact.Both retained synchronization and catalog convergence apply the configured labels. A small catalog marker preserves the original name so removing an override restores it before native metadata normalization. Template-derived rows discard this marker. Combo aliases, account-qualified rows, virtual
*-prorows, and HTTP model listings remain outside this local catalog feature.Verification
bun test tests/codex-integration/codex-catalog.test.ts: 278 passed, 0 failed. Covers replacement, removal, blank labels, repeated serialization, pinned metadata upgrades, external label changes, combo isolation, and template marker isolation.bun run typecheck: passed on the final code.bun run privacy:scanandgit diff --check: passed.cd docs-site && bun install --frozen-lockfile && bun run build: passed, 425 pages.bun run test:changed: 10,913 passed, 3 skipped, 2 failed. The final template cleanup and pinned-name test were then validated by the complete catalog test file above.tests/usage/quota-reset-notify.test.ts:515still fails because its HTTP webhook fixture is rejected by the HTTPS-only schema atsrc/config.ts:1049. Both files are unchanged from base commit55395a9dc8a252a01f606b7b65859579e4f2e53d.This PR remains a draft. The broader suite is not fully green, and the repository-wide review-readiness gate has not been attested.
Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.