From 6450b91f17ddd1ff5ba2e06d02e4f7e91c9f8eab Mon Sep 17 00:00:00 2001 From: David Date: Sun, 26 May 2024 00:18:22 +0200 Subject: [PATCH] docs: Update python_client.md (#1413) --- 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 bf79b3d2..f4fd8730 100644 --- a/docs/python_client.md +++ b/docs/python_client.md @@ -46,7 +46,7 @@ def send_message(message: str): sends a message and prints the assistant output only. :param message: the message to send """ - response = client.user_message(agent_id=agent_state.id, message=message) + response = client.user_message(agent_id=agent_info.id, message=message) for r in response: # Can also handle other types "function_call", "function_return", "function_message" if "assistant_message" in r: