File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export class AndroidMidsceneTools extends BaseMidsceneTools {
6464
6565 // If URI is provided, launch the app
6666 if ( uri ) {
67- await agent . page . launchUri ( uri ) ;
67+ await agent . page . launch ( uri ) ;
6868 await new Promise ( ( resolve ) => setTimeout ( resolve , 2000 ) ) ; // Wait for app to launch
6969 }
7070
Original file line number Diff line number Diff line change 1- import path from 'node:path' ;
21import { defineConfig } from '@rslib/core' ;
32import { version } from './package.json' ;
43
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export function generateToolsFromActionSpace(
2626 const agent = await getAgent ( ) ;
2727
2828 // Call the action through agent's action method
29- await agent . action ( `Use the action "${ action . name } "` , {
29+ await agent . aiAction ( `Use the action "${ action . name } "` , {
3030 planType : action . name ,
3131 ...args ,
3232 } ) ;
You can’t perform that action at this time.
0 commit comments