mirror of
https://github.com/openai/codex.git
synced 2026-05-17 09:43:19 +00:00
Merge 797dbb40f7 into sapling-pr-archive-bolinfest
This commit is contained in:
@@ -33,6 +33,11 @@ impl ChatWidget {
|
||||
self.current_rollout_path = session.rollout_path.clone();
|
||||
self.current_cwd = Some(session.cwd.to_path_buf());
|
||||
self.config.cwd = session.cwd.clone();
|
||||
if !self.config.workspace_roots_explicit {
|
||||
let workspace_roots = vec![session.cwd.clone()];
|
||||
self.config.workspace_roots = workspace_roots.clone();
|
||||
self.config.permissions.set_workspace_roots(workspace_roots);
|
||||
}
|
||||
self.effective_service_tier = session.service_tier.clone();
|
||||
if let Err(err) = self
|
||||
.config
|
||||
|
||||
Reference in New Issue
Block a user