mirror of
https://github.com/openai/codex.git
synced 2026-05-17 09:43:19 +00:00
codex: address PR review feedback (#22186)
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -603,9 +603,10 @@ impl Codex {
|
||||
account_plan_type,
|
||||
config.features.enabled(Feature::FastMode),
|
||||
);
|
||||
let cwd = environment_selections
|
||||
.primary()
|
||||
.map(|turn_environment| turn_environment.cwd.clone())
|
||||
let cwd = primary_environment
|
||||
.as_deref()
|
||||
.and_then(Environment::default_cwd)
|
||||
.cloned()
|
||||
.unwrap_or_else(|| config.cwd.clone());
|
||||
let session_configuration = SessionConfiguration {
|
||||
provider: config.model_provider.clone(),
|
||||
|
||||
Reference in New Issue
Block a user