mirror of
https://github.com/openai/codex.git
synced 2026-09-10 20:26:47 +00:00
## Why Paginated thread history could reject valid rollout records when rate-limit percentages were encoded as floating-point JSON values, preventing later final answers from being projected. ## What changed Deserialize each rollout line through `serde_json::Value` before converting it to `RolloutLine`, preserving floating-point rate-limit values during history materialization. ## Testing Added coverage for projecting fractional, integral, very small, and large floating-point rate-limit percentages across both catch-up materialization and subsequent history appends. GitOrigin-RevId: 68da907987ffe59f4a3033ef90f3b88c39734cb1