From 761ea58759cd1ce1a56d2633346ae976db7ca356 Mon Sep 17 00:00:00 2001 From: aibrahim-oai Date: Thu, 17 Jul 2025 21:18:02 -0700 Subject: [PATCH] Update codex-rs/core/src/model_provider_info.rs Co-authored-by: Michael Bolin --- codex-rs/core/src/model_provider_info.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codex-rs/core/src/model_provider_info.rs b/codex-rs/core/src/model_provider_info.rs index d51f1521b4..84296a3593 100644 --- a/codex-rs/core/src/model_provider_info.rs +++ b/codex-rs/core/src/model_provider_info.rs @@ -17,9 +17,9 @@ use crate::openai_api_key::get_openai_api_key; /// Value for the `OpenAI-Originator` header that is sent with requests to /// OpenAI. const OPENAI_ORIGINATOR_HEADER: &str = "codex_cli_rs"; -const OPENAI_STREAM_IDLE_TIMEOUT_MS: u64 = 300_000; -const OPENAI_STREAM_MAX_RETRIES: u64 = 10; -const OPENAI_REQUEST_MAX_RETRIES: u64 = 4; +const DEFAULT_STREAM_IDLE_TIMEOUT_MS: u64 = 300_000; +const DEFAULT_STREAM_MAX_RETRIES: u64 = 10; +const DEFAULT_REQUEST_MAX_RETRIES: u64 = 4; /// Wire protocol that the provider speaks. Most third-party services only /// implement the classic OpenAI Chat Completions JSON schema, whereas OpenAI