Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

docs: Update python_client.md (#1413)

David6450b91f17dd
diff --git a/docs/python_client.md b/docs/python_client.md
index bf79b3d24..f4fd87304 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: