mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
fix(extension): human-loop fixed
This commit is contained in:
@@ -501,16 +501,12 @@ async function finishHelpFromContent(
|
|||||||
const match = await findHelpForTab(tabId, deps);
|
const match = await findHelpForTab(tabId, deps);
|
||||||
if (match !== help) return;
|
if (match !== help) return;
|
||||||
}
|
}
|
||||||
finishHelp(
|
finishHelp(help, {
|
||||||
help,
|
outcome: message.outcome,
|
||||||
{
|
...(message.note ? { note: message.note } : {}),
|
||||||
outcome: message.outcome,
|
tab_id: help.primaryTabId,
|
||||||
...(message.note ? { note: message.note } : {}),
|
resolved_targets: help.resolvedTargets,
|
||||||
tab_id: help.primaryTabId,
|
});
|
||||||
resolved_targets: help.resolvedTargets,
|
|
||||||
},
|
|
||||||
false,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function attachHelpTabListener(deps: RequestHelpDeps): () => void {
|
function attachHelpTabListener(deps: RequestHelpDeps): () => void {
|
||||||
|
|||||||
Reference in New Issue
Block a user