Skip to content

Commit 3fa6bef

Browse files
committed
fix(gemini-cua): remove redundant comments in runStagehandTask function
1 parent cc51343 commit 3fa6bef

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

templates/typescript/gemini-cua/index.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ if (!GOOGLE_API_KEY) {
3030

3131
async 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 }

0 commit comments

Comments
 (0)