Spaces:
Sleeping
Sleeping
dd
Browse files
chat_history.db
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a97791194fc05dff11a2bb3c9c47daceabbe5b0b59327184275217f7710a77d
|
3 |
+
size 1667072
|
controllers/gra_02_openInterpreter/OpenInterpreter.py
CHANGED
@@ -9,7 +9,7 @@ import duckdb
|
|
9 |
|
10 |
def format_response(chunk, full_response):
|
11 |
# Message
|
12 |
-
if chunk["type"] == "
|
13 |
full_response += chunk.get("content", "")
|
14 |
if chunk.get("end", False):
|
15 |
full_response += "\n"
|
@@ -23,7 +23,7 @@ def format_response(chunk, full_response):
|
|
23 |
full_response += "\n```\n"
|
24 |
|
25 |
# Output
|
26 |
-
if chunk["type"] == "
|
27 |
if chunk.get("start", False):
|
28 |
full_response += "```python\n"
|
29 |
full_response += chunk.get("content", {}).get("code", "")
|
@@ -31,7 +31,7 @@ def format_response(chunk, full_response):
|
|
31 |
full_response += "```\n"
|
32 |
|
33 |
# Console
|
34 |
-
if chunk["type"] == "
|
35 |
if chunk.get("start", False):
|
36 |
full_response += "```python\n"
|
37 |
if chunk.get("format", "") == "active_line":
|
|
|
9 |
|
10 |
def format_response(chunk, full_response):
|
11 |
# Message
|
12 |
+
if chunk["type"] == "messagess":
|
13 |
full_response += chunk.get("content", "")
|
14 |
if chunk.get("end", False):
|
15 |
full_response += "\n"
|
|
|
23 |
full_response += "\n```\n"
|
24 |
|
25 |
# Output
|
26 |
+
if chunk["type"] == "confirmationss":
|
27 |
if chunk.get("start", False):
|
28 |
full_response += "```python\n"
|
29 |
full_response += chunk.get("content", {}).get("code", "")
|
|
|
31 |
full_response += "```\n"
|
32 |
|
33 |
# Console
|
34 |
+
if chunk["type"] == "consoless":
|
35 |
if chunk.get("start", False):
|
36 |
full_response += "```python\n"
|
37 |
if chunk.get("format", "") == "active_line":
|