mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
refactor: isolate code mode v8 runtime
This commit is contained in:
@@ -473,6 +473,7 @@ impl TestCodexBuilder {
|
||||
codex_core::test_support::auth_manager_from_auth(auth.clone()),
|
||||
SessionSource::Exec,
|
||||
Arc::clone(&environment_manager),
|
||||
Arc::new(codex_code_mode_runtime::InProcessCodeModeSessionProvider),
|
||||
empty_extension_registry(),
|
||||
/*analytics_events_client*/ None,
|
||||
thread_store,
|
||||
|
||||
@@ -1131,7 +1131,7 @@ async fn prefers_apikey_when_config_prefers_apikey_even_with_chatgpt_tokens() {
|
||||
let installation_id = resolve_installation_id(&config.codex_home)
|
||||
.await
|
||||
.expect("resolve installation id");
|
||||
let thread_manager = ThreadManager::new(
|
||||
let thread_manager = ThreadManager::new_without_code_mode_runtime(
|
||||
&config,
|
||||
auth_manager,
|
||||
SessionSource::Exec,
|
||||
|
||||
Reference in New Issue
Block a user