up
Browse files
chat_history.db
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1839104
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0abc6190ea1988d8946d096e2076a7bf0bfa0180b60e75567685b7d3d7a2a710
|
3 |
size 1839104
|
controllers/gra_02_openInterpreter/OpenInterpreter.py
CHANGED
@@ -121,8 +121,8 @@ def format_responses(chunk, full_response):
|
|
121 |
return full_response + chunk.get("content", "")
|
122 |
|
123 |
def ensure_triple_quotes(s):
|
124 |
-
if not (s.rstrip().endswith("
|
125 |
-
s += "
|
126 |
return s
|
127 |
|
128 |
|
|
|
121 |
return full_response + chunk.get("content", "")
|
122 |
|
123 |
def ensure_triple_quotes(s):
|
124 |
+
if not (s.rstrip().endswith("```") or s.rstrip().endswith('"""')):
|
125 |
+
s += "```"
|
126 |
return s
|
127 |
|
128 |
|