preserving older test config

This commit is contained in:
Ahmed Ibrahim
2025-07-17 17:47:48 -07:00
parent fb8622ac6a
commit aa4f9dff7a

View File

@@ -46,7 +46,9 @@ async fn spawn_codex() -> Result<Codex, CodexErr> {
);
let codex_home = TempDir::new().unwrap();
let config = load_default_config_for_test(&codex_home);
let mut config = load_default_config_for_test(&codex_home);
config.model_provider.request_max_retries = Some(2);
config.model_provider.stream_max_retries = Some(2);
let (agent, _init_id) = Codex::spawn(config, std::sync::Arc::new(Notify::new())).await?;
Ok(agent)