fix: change operation id of list internal runs (#5637)
* fix: change operation id of list internal runs * update docs
This commit is contained in:
committed by
Caren Thomas
parent
7057dce156
commit
3d342d402b
@@ -8879,7 +8879,7 @@
|
||||
"tags": ["_internal_runs"],
|
||||
"summary": "List Runs",
|
||||
"description": "List all runs.",
|
||||
"operationId": "list_runs",
|
||||
"operationId": "list_internal_runs",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "agent_id",
|
||||
@@ -9115,7 +9115,7 @@
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Run"
|
||||
},
|
||||
"title": "Response List Runs"
|
||||
"title": "Response List Internal Runs"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11091,7 +11091,7 @@
|
||||
"tags": ["runs"],
|
||||
"summary": "List Runs",
|
||||
"description": "List all runs.",
|
||||
"operationId": "list_runs1",
|
||||
"operationId": "list_runs",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "agent_id",
|
||||
|
||||
@@ -26,7 +26,7 @@ def convert_statuses_to_enum(statuses: Optional[List[str]]) -> Optional[List[Run
|
||||
return [RunStatus(status) for status in statuses]
|
||||
|
||||
|
||||
@router.get("/", response_model=List[Run], operation_id="list_runs")
|
||||
@router.get("/", response_model=List[Run], operation_id="list_internal_runs")
|
||||
async def list_runs(
|
||||
server: "SyncServer" = Depends(get_letta_server),
|
||||
agent_id: Optional[str] = Query(None, description="The unique identifier of the agent associated with the run."),
|
||||
|
||||
Reference in New Issue
Block a user