You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is expected behavior in v2.6.x, not a regression — the injection design changed intentionally.
Older versions wrote a full [model_providers.opencodex] table and re-pointed model_provider. The problem: threads created while that was active got tagged with the opencodex provider id in Codex history, so an unclean shutdown (or uninstall) could leave chat history pointing at a provider that no longer exists.
v2.6.x uses what we call history-safe injection (src/codex/inject.ts): on local installs the proxy points Codex's built-in openai provider at itself with a single root line —
plus model_catalog_json for the model catalog. New threads keep their native provider tag, history is never remapped, and ocx stop restores everything cleanly. Threads that were re-tagged by older versions get migrated back once on first start. The old [model_providers.opencodex] section is only used for remote/LAN binds (they need an API-key header).
So the two lines you're seeing are the complete, intended config. Routing works exactly as before — if you're seeing an actual routing failure (requests not reaching the proxy), please share ocx doctor output and I'll dig in. Otherwise I'll close this as working-as-intended in a few days.
Activity
Wibias commentedon Jul 9, 2026
So whats the problem exactly?
lidge-jun commentedon Jul 9, 2026
This is expected behavior in v2.6.x, not a regression — the injection design changed intentionally.
Older versions wrote a full
[model_providers.opencodex]table and re-pointedmodel_provider. The problem: threads created while that was active got tagged with theopencodexprovider id in Codex history, so an unclean shutdown (or uninstall) could leave chat history pointing at a provider that no longer exists.v2.6.x uses what we call history-safe injection (
src/codex/inject.ts): on local installs the proxy points Codex's built-inopenaiprovider at itself with a single root line —plus
model_catalog_jsonfor the model catalog. New threads keep their native provider tag, history is never remapped, andocx stoprestores everything cleanly. Threads that were re-tagged by older versions get migrated back once on first start. The old[model_providers.opencodex]section is only used for remote/LAN binds (they need an API-key header).So the two lines you're seeing are the complete, intended config. Routing works exactly as before — if you're seeing an actual routing failure (requests not reaching the proxy), please share
ocx doctoroutput and I'll dig in. Otherwise I'll close this as working-as-intended in a few days.lidge-jun commentedon Jul 9, 2026
추가 문의가 없어 의도된 동작으로 정리하고 닫겠습니다. v2.6.x의 history-safe injection은 위 설명대로 정상입니다. 혹시 라우팅 실패 등 실제 문제가 발견되면 다시 열어주세요.