public run endpoint with error code (#3512)

This commit is contained in:
LawyZheng
2025-09-24 14:49:20 +08:00
committed by GitHub
parent ad731f6175
commit b2848ceaf2
5 changed files with 8 additions and 0 deletions

View File

@@ -427,6 +427,10 @@ class BaseRunResponse(BaseModel):
default=None,
description="The script run result",
)
errors: list[dict[str, Any]] | None = Field(
default=None,
description="The errors for the run",
)
class TaskRunResponse(BaseRunResponse):