Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Point remote compaction tests at the mock ChatGPT server (#49114)

oli-oai69043f05c4c5
diff --git a/codex-rs/core/src/session/tests.rs b/codex-rs/core/src/session/tests.rs
index 156225736f..5d440240e8 100644
--- a/codex-rs/core/src/session/tests.rs
+++ b/codex-rs/core/src/session/tests.rs
@@ -11581,6 +11581,7 @@ async fn make_remote_compaction_session(
move |config| {
config.model = Some("gpt-5.2".to_string());
config.model_provider = provider;
+ config.chatgpt_base_url = server_uri.to_string();
let _ = config.features.disable(Feature::TokenBudget);
},
)