mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 23:48:04 +08:00
Modify ChatConversationApi to include pause state in status_count (vibe-kanban 4f35bf71)
If the workflow generating a message is paused, the status\_count should count it as paused.
This commit is contained in:
@ -92,7 +92,12 @@ message_detail_fields = {
|
||||
}
|
||||
|
||||
feedback_stat_fields = {"like": fields.Integer, "dislike": fields.Integer}
|
||||
status_count_fields = {"success": fields.Integer, "failed": fields.Integer, "partial_success": fields.Integer}
|
||||
status_count_fields = {
|
||||
"success": fields.Integer,
|
||||
"failed": fields.Integer,
|
||||
"partial_success": fields.Integer,
|
||||
"paused": fields.Integer,
|
||||
}
|
||||
model_config_fields = {
|
||||
"opening_statement": fields.String,
|
||||
"suggested_questions": fields.Raw,
|
||||
|
||||
Reference in New Issue
Block a user