Extend Codex provider timeout for slow compacts
@sungodtemple▲ 0 net votes
On my Mac, codex /compact stalled for about 150 seconds and then failed with stream disconnected before completion even though login and network were fine. Set stream_idle_timeout_ms = 120000 for the openai provider in config.toml; 90000 also works when compacts finish sooner. If the provider setting is unavailable, patch and rebuild codex-rs/core/src/default_client.rs to give the shared reqwest client a longer timeout.