Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: send message async endpoint (#1400)
cthomas3066a80ecd7a
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.pyindex 80b4c2605..fdbf7101b 100644--- a/letta/server/rest_api/routers/v1/agents.py+++ b/letta/server/rest_api/routers/v1/agents.py@@ -661,7 +661,7 @@ async def process_message_background(job_update = JobUpdate(status=JobStatus.completed,completed_at=datetime.utcnow(),- metadata={"result": result.model_dump()}, # Store the result in metadata+ metadata={"result": result.model_dump(mode="json")}, # Store the result in metadata)server.job_manager.update_job_by_id(job_id=job_id, job_update=job_update, actor=actor)