mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
The _isRetryableError() regex used literal spaces ("server error",
"internal error") but Codex SSE error events use underscores
("server_error"). Change to .? so both space and underscore (and
direct concatenation) are matched, enabling automatic retry on
transient Codex SSE errors.
fixes #2091