From 8ae632fd6f9bb4c0e48cc49a52201bd9a37318a4 Mon Sep 17 00:00:00 2001 From: ifsheldon <39153080+ifsheldon@users.noreply.github.com> Date: Thu, 4 Jan 2024 16:01:41 +0800 Subject: [PATCH] fix invalid entry in response dict (#780) --- docs/python_client.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/python_client.md b/docs/python_client.md index c5f63c12..7ca87c05 100644 --- a/docs/python_client.md +++ b/docs/python_client.md @@ -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