File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
templates/typescript/cua/lib Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const INVOKE_SAMPLES: Record<
9696 [ TEMPLATE_COMPUTER_USE ] :
9797 'kernel invoke ts-cu cu-task --payload \'{"query": "Return the first url of a search result for NYC restaurant reviews Pete Wells"}\'' ,
9898 [ TEMPLATE_CUA ] :
99- 'kernel invoke ts-cua cua-task --payload \'{"query ": "Go to https://news.ycombinator.com and get the top 5 articles"}\'' ,
99+ 'kernel invoke ts-cua cua-task --payload \'{"task ": "Go to https://news.ycombinator.com and get the top 5 articles"}\'' ,
100100 } ,
101101 [ LANGUAGE_PYTHON ] : {
102102 [ TEMPLATE_SAMPLE_APP ] :
@@ -108,7 +108,7 @@ const INVOKE_SAMPLES: Record<
108108 [ TEMPLATE_COMPUTER_USE ] :
109109 'kernel invoke python-cu cu-task --payload \'{"query": "Return the first url of a search result for NYC restaurant reviews Pete Wells"}\'' ,
110110 [ TEMPLATE_CUA ] :
111- 'kernel invoke python-cua cua-task --payload \'{"query ": "Go to https://news.ycombinator.com and get the top 5 articles"}\'' ,
111+ 'kernel invoke python-cua cua-task --payload \'{"task ": "Go to https://news.ycombinator.com and get the top 5 articles"}\'' ,
112112 } ,
113113} ;
114114
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ export class Agent {
104104 await ( fn as ( ...a : unknown [ ] ) => unknown ) ( ...Object . values ( actionArgs ) ) ;
105105 const screenshot = await this . computer . screenshot ( ) ;
106106 const pending = cc . pending_safety_checks ?? [ ] ;
107- console . dir ( { debug_agent_computer_call : cc } ) ;
108107 for ( const { message } of pending )
109108 if ( ! this . ackCb ( message ) ) throw new Error ( `Safety check failed: ${ message } ` ) ;
110109 const out : Omit < ResponseComputerToolCallOutputItem , 'id' > = {
You can’t perform that action at this time.
0 commit comments