Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
chat_history.db
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2269184
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17962362d49c2ce2d6d0ce72e53381a5dbdd1c311abd65d427fdf8ff89b32204
|
3 |
size 2269184
|
routers/gra_02_openInterpreter/OpenInterpreter.py
CHANGED
@@ -102,6 +102,9 @@ 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 message == "reset":
|
106 |
interpreter.reset()
|
107 |
return "Interpreter reset", history
|
|
|
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 != "12345":
|
106 |
+
return
|
107 |
+
|
108 |
if message == "reset":
|
109 |
interpreter.reset()
|
110 |
return "Interpreter reset", history
|