kenken999 commited on
Commit
d2e8f31
·
1 Parent(s): f023718
chat_history.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60480537d9f77b3681f5294e468a0bbfe35834401f3fd648a29631617f351bda
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("'''") or 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