Fixes
This commit is contained in:
parent
9485f603a6
commit
2817dd1c59
|
@ -90,15 +90,12 @@ def main(interpreter: OpenInterpreter):
|
||||||
try:
|
try:
|
||||||
data = check_for_new_messages(task)
|
data = check_for_new_messages(task)
|
||||||
except:
|
except:
|
||||||
print("lel"*1000)
|
|
||||||
if data:
|
if data:
|
||||||
save_conversation(interpreter.messages)
|
save_conversation(interpreter.messages)
|
||||||
break
|
break
|
||||||
|
|
||||||
# Send out chunks
|
# Send out chunks
|
||||||
print("!!!!!"*1000)
|
|
||||||
await websocket.send_json(chunk)
|
await websocket.send_json(chunk)
|
||||||
print("xxxxx!"*1000)
|
|
||||||
await asyncio.sleep(0.01) # Add a small delay
|
await asyncio.sleep(0.01) # Add a small delay
|
||||||
|
|
||||||
# If the interpreter just finished sending a message, save it
|
# If the interpreter just finished sending a message, save it
|
||||||
|
|
Loading…
Reference in New Issue