codex-bridge-python 2026.6.5
Overview
This release adds forced default model routing so codex-bridge-python can rewrite every incoming request model to one configured upstream model.
It is useful when Codex sends different model ids but you want the bridge to pin all traffic to a single provider model without changing the client-side request flow.
Highlights
- Adds
--force-default-modelandCODEX_BRIDGE_FORCE_DEFAULT_MODEL - Adds
--default-modelandCODEX_BRIDGE_DEFAULT_MODEL - Rewrites all incoming request models to the configured default model when the switch is enabled
- Falls back to
deepseek-v4-flashwhen no default model is configured - Preserves the existing
CODEX_BRIDGE_MODEL_MAPbehavior when forced routing is disabled - Adds request translation and app-level tests for forced model routing
- Updates English and Simplified Chinese documentation with CLI reference and usage examples
Package
- Version:
2026.6.5 - Release tag:
v2026.6.5 - Wheel:
codex_bridge-2026.6.5-py3-none-any.whl - SHA256:
33ff27e762937f2977873f1141e389577c4371caf6e1747a63c3af3b7ece511d
The uploaded wheel is a universal pure-Python build with tag py3-none-any.
Validation
- Local test suite:
14 passed - Verified wheel metadata reports
Root-Is-Purelib: trueandTag: py3-none-any - Built a release wheel locally with
python3 -m build --wheel
Notes
Use CODEX_BRIDGE_FORCE_DEFAULT_MODEL=true to enable forced routing. If CODEX_BRIDGE_DEFAULT_MODEL is unset or empty, the bridge defaults to deepseek-v4-flash.