mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why Model catalog decode errors can include the full response body and payload values from deserialization errors. Catalog request deadlines also report a generic timeout instead of a request timeout. ## What changed - Report only the JSON error category, line, column, and response byte count when model catalog decoding fails. - Return `CodexErr::RequestTimeout` when the model catalog refresh deadline expires. ## Testing Add regression tests for invalid response shapes, large payload values, malformed and truncated JSON, and a delayed catalog response that must return `RequestTimeout`. GitOrigin-RevId: 6fe5111a3e3b113d79942b3c213f8e94d773eb5a