mirror of
https://github.com/openai/codex.git
synced 2026-05-29 15:30:22 +00:00
fix: pass profile selection to Windows sandbox prompt
Co-authored-by: Codex noreply@openai.com
This commit is contained in:
@@ -9114,7 +9114,7 @@ impl ChatWidget {
|
||||
.into_iter()
|
||||
.find(|preset| preset.id == "auto")
|
||||
{
|
||||
self.open_windows_sandbox_enable_prompt(preset);
|
||||
self.open_windows_sandbox_enable_prompt(preset, /*profile_selection*/ None);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -345,7 +345,7 @@ async fn windows_auto_mode_prompt_requests_enabling_sandbox_feature() {
|
||||
.into_iter()
|
||||
.find(|preset| preset.id == "auto")
|
||||
.expect("auto preset");
|
||||
chat.open_windows_sandbox_enable_prompt(preset);
|
||||
chat.open_windows_sandbox_enable_prompt(preset, /*profile_selection*/ None);
|
||||
|
||||
let popup = render_bottom_popup(&chat, /*width*/ 120);
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user