mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 00:05:30 +00:00
Remove hardcoded DEFAULT_CODEX_CLIENT_VERSION. The download UI now sends format=codex so the gateway uses its automatically maintained Codex identity. Explicit client_version negotiation is preserved. - Frontend: codex.ts drops default version; uses format param - Backend: gateway.go accepts format=codex alongside client_version - Tests: 44 vitest + Go route/service regressions Upstream PR: https://github.com/Wei-Shaw/sub2api/pull/7557