Skip to content

Commit f1d6387

Browse files
committed
Fixed hotkey issues with gemini and openai httpx proxies keyword issue
1 parent 235ece1 commit f1d6387

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/interpreter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def execute_function(self, function_name: str, parameters: dict[str, Any]) -> No
7777
function_to_call(keys_to_press, presses=presses, interval=interval)
7878
elif function_name == 'hotkey':
7979
# 'hotkey' function expects multiple key arguments, not a list
80-
function_to_call(list(parameters.values()))
80+
keys = list(parameters.values())
81+
function_to_call(*keys)
8182
else:
8283
# For other functions, pass the parameters as they are
8384
function_to_call(**parameters)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ idna==3.7
1212
macholib==1.16.3
1313
MouseInfo==0.1.3
1414
moviepy==1.0.3
15-
openai==1.36.1
15+
openai==1.66.3
1616
packaging==24.2
1717
pillow==11.1.0
1818
PyAudio==0.2.14

0 commit comments

Comments
 (0)