Spaces:
Running
on
Zero
Running
on
Zero
testd
Browse files
routers/gra_02_openInterpreter/OpenInterpreter.py
CHANGED
@@ -102,7 +102,7 @@ def format_responses(chunk, full_response):
|
|
102 |
return full_response + chunk.get("content", "")
|
103 |
|
104 |
def chat_with_interpreter(message, history=None, a=None, b=None, c=None, d=None,f=None):
|
105 |
-
if c != "
|
106 |
return message, history
|
107 |
|
108 |
if message == "reset":
|
|
|
102 |
return full_response + chunk.get("content", "")
|
103 |
|
104 |
def chat_with_interpreter(message, history=None, a=None, b=None, c=None, d=None,f=None):
|
105 |
+
if c != os.getenv("openinterpreter_secret"):
|
106 |
return message, history
|
107 |
|
108 |
if message == "reset":
|