feat: remove redundant docstring for runs steps (#5092)

This commit is contained in:
cthomas
2025-10-01 21:30:12 -07:00
committed by Caren Thomas
parent 0794a6db69
commit d9c7da643a
2 changed files with 4 additions and 14 deletions

View File

@@ -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": {

View File

@@ -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()