fix retrival resource miss in chatflow (#18307)

This commit is contained in:
Jyong 2025-04-17 18:05:15 +08:00 committed by GitHub
commit e90c532c3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 30 deletions

View file

@ -46,6 +46,7 @@ class MessageListApi(WebApiResource):
"retriever_resources": fields.List(fields.Nested(retriever_resource_fields)),
"created_at": TimestampField,
"agent_thoughts": fields.List(fields.Nested(agent_thought_fields)),
"metadata": fields.Raw(attribute="message_metadata_dict"),
"status": fields.String,
"error": fields.String,
}