fix workflow run / observer schema (#1571)

This commit is contained in:
Shuchang Zheng
2025-01-15 19:43:56 -08:00
committed by GitHub
parent 5687fa4e52
commit 1d5dc9029f
2 changed files with 2 additions and 1 deletions

View File

@@ -744,6 +744,7 @@ async def get_workflow_run(
)
@base_router.get(
"/workflows/{workflow_id}/runs/{workflow_run_id}/timeline/",
include_in_schema=False,
)
async def get_workflow_run_timeline(
workflow_run_id: str,

View File

@@ -138,4 +138,4 @@ class WorkflowRunStatusResponse(BaseModel):
outputs: dict[str, Any] | None = None
total_steps: int | None = None
total_cost: float | None = None
observer_cruise: ObserverTask | None = None
observer_task: ObserverTask | None = None