Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: drop unused values from env_flags (#4188)

Michael Bolin87b299aa3fa2
diff --git a/codex-rs/core/src/flags.rs b/codex-rs/core/src/flags.rs
index 60201a3b18..de693868df 100644
--- a/codex-rs/core/src/flags.rs
+++ b/codex-rs/core/src/flags.rs
@@ -1,16 +1,6 @@
-use std::time::Duration;
-
use env_flags::env_flags;
env_flags! {
- pub OPENAI_API_BASE: &str = "https://api.openai.com/v1";
-
- /// Fallback when the provider-specific key is not set.
- pub OPENAI_API_KEY: Option<&str> = None;
- pub OPENAI_TIMEOUT_MS: Duration = Duration::from_millis(300_000), |value| {
- value.parse().map(Duration::from_millis)
- };
-
/// Fixture path for offline tests (see client.rs).
pub CODEX_RS_SSE_FIXTURE: Option<&str> = None;
}