• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 27735749761 / 6
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 18 Jun 2026 04:02AM UTC
Files 352
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jun 2026 03:59AM UTC coverage: 31.516% (+0.007%) from 31.509%
27735749761.6

push

github

web-flow
refactor: remove Codex SDK aliasing, use real model IDs (#2130)

* refactor: remove Codex SDK aliasing, use real model IDs

Following the GLM/Kimi pattern from task #606, Codex models now use real
model IDs directly instead of aliasing to Anthropic SDK IDs.

Changes:
- Removed CODEX_TO_SDK_ANTHROPIC_MODEL mapping (replaced with CODEX_TO_SDK_MODEL identity mapping)
- Removed SDK_ANTHROPIC_TO_CODEX_MODEL reverse mapping (no longer needed)
- translateModelIdForSdk() now returns 'default' (matches GLM/Kimi pattern)
- ANTHROPIC_DEFAULT_*_MODEL env vars now use real Codex IDs (e.g., 'gpt-5.5' instead of 'claude-opus-4-7')
- Removed Anthropic alias models from bridge /v1/models response
- Updated all tests to expect real Codex IDs

Benefits:
- Removes alias indirection complexity
- Ensures SDK uses correct 272k context window from /v1/models metadata
- Avoids token counting mismatch from wrong model ID
- Matches proven GLM/Kimi pattern

Context window is read from /v1/models metadata (preferContextWindowMetadata: true)
instead of SDK's hardcoded database, eliminating the need for Anthropic aliases.

* docs: clean up orphaned comments referencing removed Codex aliasing

Remove stale documentation and test fixtures that still reference the removed
`claude-opus-4-7` / `claude-sonnet-4-20250514` aliasing pattern, as requested
in PR review.

Changes:
- openai-responses-bridge/server.ts: Updated interface docs for setSessionModelConfig
  to reflect that Codex now uses identity mapping
- model-service.ts: Updated step-5 comment about sdkModelIds
- query-options-builder.ts: Updated NATIVE_CONTEXT_WINDOW_PROVIDER_IDS doc for Codex
- context-fetcher.ts: Updated capacity-mismatch comment (no longer relevant)
- Test fixtures: Updated 5 test files to use real Codex IDs instead of Anthropic aliases

All tests pass (61 openai-responses-bridge + 75 context-fetcher/model-service).

32320 of 102552 relevant lines covered (31.52%)

16.45 hits per line

Source Files on job daemon-online-space-2 - 27735749761.6
  • Tree
  • List 352
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27735749761
  • b2f66beb on github
  • Prev Job for on dev (#27729989034.15)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc