kenken999 commited on
Commit
4b2e4bb
·
1 Parent(s): 1a38cd1
chat_history.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f44953968fac540f03d40a83a363a2fe6003c62e5cc084f782fdb68a5e047492
3
- size 1662976
 
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"] == "message":
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"] == "confirmation":
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"] == "console":
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":