mirror of
https://github.com/langgenius/dify.git
synced 2026-03-16 04:17:43 +08:00
add workflow app log api
This commit is contained in:
@ -13,3 +13,16 @@ 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
|
||||
}
|
||||
Reference in New Issue
Block a user