File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2424)
2525
2626config = Config ()
27+ VERBOSE = config .verbose
2728
2829
2930def main (model : str , terminal_prompt : str , voice_mode : bool = False ):
Original file line number Diff line number Diff line change 1818
1919
2020def operate (operations , verbose : bool = VERBOSE ):
21- if VERBOSE :
21+ if verbose :
2222 print ("[Self Operating Computer][operate]" )
2323 for operation in operations :
24- if VERBOSE :
24+ if verbose :
2525 print ("[Self Operating Computer][operate] operation" , operation )
2626 # wait one second
2727 time .sleep (1 )
2828 operate_type = operation .get ("operation" ).lower ()
2929 operate_thought = operation .get ("thought" )
3030 operate_detail = ""
31- if VERBOSE :
31+ if verbose :
3232 print ("[Self Operating Computer][operate] operate_type" , operate_type )
3333
3434 if operate_type == "press" or operate_type == "hotkey" :
You can’t perform that action at this time.
0 commit comments