Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assistant/src/daemon/computer-use-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ export class ComputerUseSession {
};
}

// Inject targetAppBundleId when the LLM didn't provide one
if (!input.app_bundle_id && this.targetAppBundleId) {
// Inject targetAppBundleId only when the requested app matches the target app
if (!input.app_bundle_id && this.targetAppBundleId && (!requestedApp || this.isTargetAppMatch(requestedApp))) {
input = { ...input, app_bundle_id: this.targetAppBundleId };
}
}
Expand Down
Loading