add workflow runs & workflow node executions api

This commit is contained in:
takatost
2024-02-27 21:39:13 +08:00
parent bf4a5f6b33
commit 20cf075b2d
9 changed files with 365 additions and 21 deletions

View File

@ -13,16 +13,3 @@ workflow_fields = {
'updated_by': fields.Nested(simple_account_fields, attribute='updated_by_account', allow_null=True),
'updated_at': TimestampField
}
workflow_run_fields = {
"id": fields.String,
"version": fields.String,
"status": fields.String,
"error": fields.String,
"elapsed_time": fields.Float,
"total_tokens": fields.Integer,
"total_price": fields.Float,
"currency": fields.String,
"total_steps": fields.Integer,
"finished_at": TimestampField
}