mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
Stop using AuthManager as the source of codex_home (#8846)
This commit is contained in:
@@ -286,7 +286,11 @@ pub async fn run_main(cli: Cli, codex_linux_sandbox_exe: Option<PathBuf>) -> any
|
||||
true,
|
||||
config.cli_auth_credentials_store_mode,
|
||||
);
|
||||
let thread_manager = ThreadManager::new(auth_manager.clone(), SessionSource::Exec);
|
||||
let thread_manager = ThreadManager::new(
|
||||
config.codex_home.clone(),
|
||||
auth_manager.clone(),
|
||||
SessionSource::Exec,
|
||||
);
|
||||
let default_model = thread_manager
|
||||
.get_models_manager()
|
||||
.get_model(&config.model, &config)
|
||||
|
||||
Reference in New Issue
Block a user