Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix response args
Caren Thomas9bcb1f87e702
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.pyindex 79f35afff..986c8512f 100644--- a/letta/server/rest_api/routers/v1/agents.py+++ b/letta/server/rest_api/routers/v1/agents.py@@ -182,7 +182,7 @@ def delete_agent(actor = server.user_manager.get_user_or_default(user_id=user_id)try:server.agent_manager.delete_agent(agent_id=agent_id, actor=actor)- return JSONResponse(status_code=status.HTTP_200_OK)+ return JSONResponse(status_code=status.HTTP_200_OK, content={"message": f"Agent id={agent_id} successfully deleted"})except NoResultFound:raise HTTPException(status_code=404, detail=f"Agent agent_id={agent_id} not found for user_id={actor.id}.")