kenken999 commited on
Commit
7624d32
1 Parent(s): 202535f
controllers/gra_02_openInterpreter/OpenInterpreter.py CHANGED
@@ -147,7 +147,7 @@ def chat_with_interpreter_no_stream(message, history=None, a=None, b=None, c=Non
147
  interpreter.messages.append(user_entry)
148
  add_message_to_db("user", "message", message)
149
 
150
- full_response = interpreter.chat(message, display=False, stream=False):
151
 
152
  assistant_entry = {"role": "assistant", "type": "message", "content": full_response}
153
  interpreter.messages.append(assistant_entry)
 
147
  interpreter.messages.append(user_entry)
148
  add_message_to_db("user", "message", message)
149
 
150
+ full_response = interpreter.chat(message, display=False, stream=False)
151
 
152
  assistant_entry = {"role": "assistant", "type": "message", "content": full_response}
153
  interpreter.messages.append(assistant_entry)