mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 07:16:20 +08:00
completed workflow engine main logic
This commit is contained in:
@ -11,8 +11,6 @@ workflow_run_for_log_fields = {
|
||||
"error": fields.String,
|
||||
"elapsed_time": fields.Float,
|
||||
"total_tokens": fields.Integer,
|
||||
"total_price": fields.Float,
|
||||
"currency": fields.String,
|
||||
"total_steps": fields.Integer,
|
||||
"created_at": TimestampField,
|
||||
"finished_at": TimestampField
|
||||
@ -29,8 +27,6 @@ workflow_run_for_list_fields = {
|
||||
"error": fields.String,
|
||||
"elapsed_time": fields.Float,
|
||||
"total_tokens": fields.Integer,
|
||||
"total_price": fields.Float,
|
||||
"currency": fields.String,
|
||||
"total_steps": fields.Integer,
|
||||
"created_by_account": fields.Nested(simple_account_fields, attribute='created_by_account', allow_null=True),
|
||||
"created_at": TimestampField,
|
||||
@ -56,8 +52,6 @@ workflow_run_detail_fields = {
|
||||
"error": fields.String,
|
||||
"elapsed_time": fields.Float,
|
||||
"total_tokens": fields.Integer,
|
||||
"total_price": fields.Float,
|
||||
"currency": fields.String,
|
||||
"total_steps": fields.Integer,
|
||||
"created_by_role": fields.String,
|
||||
"created_by_account": fields.Nested(simple_account_fields, attribute='created_by_account', allow_null=True),
|
||||
|
||||
Reference in New Issue
Block a user