mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-26 16:01:13 +00:00
Route native requests only to providers that support their wire protocol. Convert Chat Completions directly to Responses, Messages or GenAI while preserving the shared request lifecycle and native continuation ownership. Remove provider-side cross-protocol adaptation outside compat modules and update protocol, provider, routing and delivery regression coverage. Validation: workspace fmt and strict Clippy; 4,741 tests passed, none skipped. Live-tested native Codex, AGY and Grok harnesses plus Chat JSON/SSE and tools. BREAKING CHANGE: Built-in cross-protocol conversion is available only through Chat Completions. Native callers must use a matching provider protocol. Co-authored-by: Codex <noreply@openai.com>