From d9c7da643a26025eb479a9d0034a46bc353b0dcf Mon Sep 17 00:00:00 2001 From: cthomas Date: Wed, 1 Oct 2025 21:30:12 -0700 Subject: [PATCH] feat: remove redundant docstring for runs steps (#5092) --- fern/openapi.json | 8 ++++---- letta/server/rest_api/routers/v1/runs.py | 10 ---------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/fern/openapi.json b/fern/openapi.json index 9f454efb..e7b4f096 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -10295,7 +10295,7 @@ "get": { "tags": ["runs"], "summary": "List Run Steps", - "description": "Get steps associated with a run with filtering options.\n\nArgs:\n run_id: ID of the run\n before: A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n after: A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n limit: Maximum number of steps to return\n order: Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n\nReturns:\n A list of steps associated with the run.", + "description": "Get steps associated with a run with filtering options.", "operationId": "list_run_steps", "parameters": [ { @@ -24574,7 +24574,7 @@ "template": { "type": "boolean", "title": "Template", - "description": "Deprecated: Whether the agent is a template", + "description": "Deprecated: No longer used", "default": false }, "project": { @@ -27767,7 +27767,7 @@ "template": { "type": "boolean", "title": "Template", - "description": "Deprecated: Whether the agent is a template", + "description": "Deprecated: No longer used", "default": false }, "project": { @@ -35945,7 +35945,7 @@ "template": { "type": "boolean", "title": "Template", - "description": "Deprecated: Whether the agent is a template", + "description": "Deprecated: No longer used", "default": false }, "project": { diff --git a/letta/server/rest_api/routers/v1/runs.py b/letta/server/rest_api/routers/v1/runs.py index cb4874f0..3f406702 100644 --- a/letta/server/rest_api/routers/v1/runs.py +++ b/letta/server/rest_api/routers/v1/runs.py @@ -232,16 +232,6 @@ async def list_run_steps( ): """ Get steps associated with a run with filtering options. - - Args: - run_id: ID of the run - before: A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. - after: A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. - limit: Maximum number of steps to return - order: Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order. - - Returns: - A list of steps associated with the run. """ actor = await server.user_manager.get_actor_or_default_async(actor_id=headers.actor_id) runs_manager = RunManager()