mirror of
https://github.com/openai/codex.git
synced 2026-05-03 04:42:20 +03:00
Stop using AuthManager as the source of codex_home (#8846)
This commit is contained in:
@@ -344,7 +344,11 @@ impl App {
|
||||
let (app_event_tx, mut app_event_rx) = unbounded_channel();
|
||||
let app_event_tx = AppEventSender::new(app_event_tx);
|
||||
|
||||
let thread_manager = Arc::new(ThreadManager::new(auth_manager.clone(), SessionSource::Cli));
|
||||
let thread_manager = Arc::new(ThreadManager::new(
|
||||
config.codex_home.clone(),
|
||||
auth_manager.clone(),
|
||||
SessionSource::Cli,
|
||||
));
|
||||
let mut model = thread_manager
|
||||
.get_models_manager()
|
||||
.get_model(&config.model, &config)
|
||||
|
||||
Reference in New Issue
Block a user