Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: change operation id of list internal runs (#5637)

Christina Tong3d342d402b7e
diff --git a/fern/openapi.json b/fern/openapi.json
index 856359977..e3874fa55 100644
--- a/fern/openapi.json
+++ b/fern/openapi.json
@@ -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",
diff --git a/letta/server/rest_api/routers/v1/internal_runs.py b/letta/server/rest_api/routers/v1/internal_runs.py
index 545698c4e..bd303c8c4 100644
--- a/letta/server/rest_api/routers/v1/internal_runs.py
+++ b/letta/server/rest_api/routers/v1/internal_runs.py
@@ -26,7 +26,7 @@ def convert_statuses_to_enum(statuses: Optional[List[str]]) -> Optional[List[Run
return [RunStatus(status) for status in statuses]
[email protected]("/", response_model=List[Run], operation_id="list_runs")
[email protected]("/", 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."),