File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
templates/typescript/gemini-cua Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,6 @@ if (!GOOGLE_API_KEY) {
3030
3131async function runStagehandTask ( invocationId ?: string ) : Promise < SearchQueryOutput > {
3232 // Executes a Computer Use Agent (CUA) task using Gemini 2.5 and Stagehand
33- //
34- // This function supports dual execution modes:
35- // - Action Handler Mode: Called with invocation_id from Kernel app action context
36- // - Local Mode: Called without invocation_id for direct script execution
37- //
38- // Args:
39- // invocationId: Optional Kernel invocation ID to associate browser with action
40- //
41- // App Actions Returns:
42- // SearchQueryOutput: Success status and result message from the agent
43- // Local Execution Returns:
44- // Logs the result of the agent execution
4533
4634 const browserOptions = invocationId
4735 ? { invocation_id : invocationId , stealth : true }
You can’t perform that action at this time.
0 commit comments