Browser steps that needed a yes ran on the brain, not on the hands named

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uirha3oEtWeHh58zA7ErHa
This commit is contained in:
王性驊 2026-11-05 08:24:36 +08:00
parent f2d89ca358
commit d2f1c76d01
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ pub fn spawn(job: Job, bot_id: u64, tx: Sender<(u64, StreamEvent)>, cancel: Arc<
let ids = tools::RunIds { conversation: bot_id.to_string(), request: call.id.clone() };
let (out, ok) = if is_mac {
crate::macapps::run(&call.name, &call.args)
} else if let (true, Some(host)) = (is_screen, on_device.as_ref()) {
} else if let (true, Some(host)) = (is_screen || is_web, on_device.as_ref()) {
match crate::remote::run_on_device(host, &call.name, &call.args, &job.via_name) {
Ok(v) => {
image = v["image"].as_str().map(String::from);