Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: patch lettuce bug (#5335)
cthomas1353bcd5244b
diff --git a/letta/server/rest_api/routers/v1/runs.py b/letta/server/rest_api/routers/v1/runs.pyindex f79318e41..8822722bc 100644--- a/letta/server/rest_api/routers/v1/runs.py+++ b/letta/server/rest_api/routers/v1/runs.py@@ -157,7 +157,7 @@ async def retrieve_run(use_lettuce = run.metadata and run.metadata.get("lettuce")if use_lettuce and run.status not in [RunStatus.completed, RunStatus.failed, RunStatus.cancelled]:lettuce_client = await LettuceClient.create()- status = await lettuce_client.get_status()+ status = await lettuce_client.get_status(run_id=run_id)# Map the status to our enumrun_status = run.status