From 094d86d7cd2bd8d24b8ee790c59ccc7aac7d3602 Mon Sep 17 00:00:00 2001 From: cthomas Date: Wed, 15 Jan 2025 11:31:18 -0800 Subject: [PATCH] fix: async message doc return type (#664) --- letta/server/rest_api/routers/v1/agents.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.py index 23a97102..390b0eee 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)