fix invalid entry in response dict (#780)

This commit is contained in:
ifsheldon
2024-01-04 16:01:41 +08:00
committed by GitHub
parent 21c69debca
commit 8ae632fd6f

View File

@@ -81,7 +81,7 @@ def send_message(message: str):
# Can also handle other types "function_call", "function_return", "function_message"
if "assistant_message" in r:
print("ASSISTANT:", r["assistant_message"])
elif "thoughts" in r:
elif "internal_monologue" in r:
print("THOUGHTS:", r["internal_monologue"])
# Send a message and see the response