We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb61481 commit 6c3058aCopy full SHA for 6c3058a
interpreter/core/respond.py
@@ -181,18 +181,16 @@ def respond(interpreter):
181
except:
182
pass
183
184
+ # print(code)
185
+ # print("---")
186
+ # time.sleep(2)
187
+
188
if code.strip().endswith("executeexecute"):
- edited_code = code.replace("executeexecute", "")
189
+ code = code.replace("executeexecute", "")
190
try:
- code_dict = json.loads(edited_code)
- language = code_dict.get("language", language)
- code = code_dict.get("code", code)
191
interpreter.messages[-1][
192
"content"
193
] = code # So the LLM can see it.
- interpreter.messages[-1][
194
- "format"
195
- ] = language # So the LLM can see it.
196
197
198
0 commit comments