mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-27 00:00:49 +00:00
Return model_not_found with HTTP 404 when all scoped provider catalogs confirm the requested or mapped model is absent. Explain missing mapping targets separately and preserve unavailable-provider errors for circuit blocks, empty account scopes, and unsupported operations. Cover missing models, aliases, empty and unknown catalogs, provider fallback, and streaming and buffered HTTP error responses. Validation: gateway-core and gateway-api tests (541 passed), strict Clippy for both crates with all targets and features, workspace rustfmt, and diff whitespace checks passed. Co-authored-by: Codex <noreply@openai.com>