fix: pass profile selection to Windows sandbox prompt

Co-authored-by: Codex noreply@openai.com
This commit is contained in:
viyatb-oai
2026-05-07 13:53:39 -07:00
parent fcbe453409
commit ffbf320309
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}

View File

@@ -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!(