mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
- Fixes guard by using optional chaining to safely check chunk.choices?.[0] before accessing. - Currently, accessing chunk.choices[0] without checking could throw if choices was missing from the chunk.