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.

fix: async message doc return type (#664)

cthomas1e020479375c
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.py
index 23a971020..390b0eee0 100644
--- a/letta/server/rest_api/routers/v1/agents.py
+++ b/letta/server/rest_api/routers/v1/agents.py
@@ -609,8 +609,8 @@ async def send_message_async(
user_id: Optional[str] = Header(None, alias="user_id"),
):
"""
- Asynchronously process a user message and return a job ID.
- The actual processing happens in the background, and the status can be checked using the job ID.
+ Asynchronously process a user message and return a run object.
+ The actual processing happens in the background, and the status can be checked using the run ID.
"""
actor = server.user_manager.get_user_or_default(user_id=user_id)