Skip to content

Commit ac0f7f4

Browse files
joyme123honglei24
authored andcommitted
fix(flow): fix flow response api
1 parent ce65a0d commit ac0f7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/api/hiagent_api/workflow_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class RunWorkflowResponse(BaseSchema):
170170
description="运行状态, success, stopped, failed, interrupted, processing",
171171
)
172172
output: str = Field(description="end 节点的输出,是一个 json 字符串")
173-
cost_ms: int = Field(description="耗时", validation_alias="costMs")
173+
cost_ms: int = Field(description="耗时", validation_alias="costMs", default=0)
174174

175175

176176
class AsyncRunWorkflowResponse(BaseSchema):

0 commit comments

Comments
 (0)