Spaces:
Running
on
Zero
Running
on
Zero
for chunk in chunks
Browse files
chat_history.db
CHANGED
Binary files a/chat_history.db and b/chat_history.db differ
|
|
controllers/gpt_enginner20240619120722
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 44c32e68ef506f3526564d5e779804c566e0fcfd
|
controllers/gpt_enginner20240619121011
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 2a78c408adf61ac8928c4674e0b86fcd32eec906
|
controllers/gpt_enginner20240619121417
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit bd313452a79007485ee57ddf598f13c42ea510ce
|
controllers/gra_02_openInterpreter/OpenInterpreter.py
CHANGED
@@ -153,7 +153,7 @@ def chat_with_interpreter_no_stream(message, history=None, a=None, b=None, c=Non
|
|
153 |
full_response = format_response(chunk, full_response)
|
154 |
else:
|
155 |
raise TypeError("Expected chunk to be a dictionary")
|
156 |
-
yield full_response
|
157 |
assistant_entry = {"role": "assistant", "type": "message", "content": str(full_response)}
|
158 |
interpreter.messages.append(assistant_entry)
|
159 |
add_message_to_db("assistant", "message", str(full_response))
|
|
|
153 |
full_response = format_response(chunk, full_response)
|
154 |
else:
|
155 |
raise TypeError("Expected chunk to be a dictionary")
|
156 |
+
#yield full_response
|
157 |
assistant_entry = {"role": "assistant", "type": "message", "content": str(full_response)}
|
158 |
interpreter.messages.append(assistant_entry)
|
159 |
add_message_to_db("assistant", "message", str(full_response))
|