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:
QuantumGhost
2026-01-27 18:12:13 +08:00
parent d289cf4824
commit 6cd62971c8
5 changed files with 230 additions and 1 deletions

View File

@ -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,