A lightweight local proxy + GUI for Codex-compatible Responses API routing.
- Runs a local proxy server.
- Lets you create multiple model rewrite rules in GUI.
- Each rule is exact-match:
- If
incoming model == source model, rewrite totarget model. - If no rule matches, request is forwarded unchanged.
- If
- Splits logs into two pages:
Event Log: startup/shutdown/config/rule/error + request summaryRequest Log: per-request timestamp, source model, final model, matched rule, status
Rule:
- Source:
gpt-5.3-codex - Target:
gpt-5.3-codex-xhigh
Result:
- Incoming
gpt-5.3-codex-> rewritten togpt-5.3-codex-xhigh - Incoming
gpt-5.5-> unchanged
python rightcode_proxy_gui.pyThen set your Codex/ccswitch provider base_url to:
http://127.0.0.1:8787/codex/v1
python -m pip install pyinstaller
python -m PyInstaller --noconfirm --clean --onefile --windowed --name rightcode-proxy-gui rightcode_proxy_gui.pyOutput:
dist/rightcode-proxy-gui.exe
rightcode_proxy_config.jsonrightcode_proxy_events.jsonlrightcode_proxy_requests.jsonl
- Authorization headers are forwarded to your configured upstream.
- Rules are order-sensitive; first exact match wins.
MIT