File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 24
24
)
25
25
26
26
config = Config ()
27
+ VERBOSE = config .verbose
27
28
28
29
29
30
def main (model : str , terminal_prompt : str , voice_mode : bool = False ):
Original file line number Diff line number Diff line change 18
18
19
19
20
20
def operate (operations , verbose : bool = VERBOSE ):
21
- if VERBOSE :
21
+ if verbose :
22
22
print ("[Self Operating Computer][operate]" )
23
23
for operation in operations :
24
- if VERBOSE :
24
+ if verbose :
25
25
print ("[Self Operating Computer][operate] operation" , operation )
26
26
# wait one second
27
27
time .sleep (1 )
28
28
operate_type = operation .get ("operation" ).lower ()
29
29
operate_thought = operation .get ("thought" )
30
30
operate_detail = ""
31
- if VERBOSE :
31
+ if verbose :
32
32
print ("[Self Operating Computer][operate] operate_type" , operate_type )
33
33
34
34
if operate_type == "press" or operate_type == "hotkey" :
You can’t perform that action at this time.
0 commit comments