fix: fields.Nested(message_file_fields) (#9632)

This commit is contained in:
crazywoola 2024-10-22 15:37:53 +08:00 committed by GitHub
parent 7263af13ed
commit 98bf7710e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ class MessageListApi(Resource):
"tool_input": fields.String,
"created_at": TimestampField,
"observation": fields.String,
"message_files": fields.List(fields.String),
"message_files": fields.List(fields.Nested(message_file_fields)),
}
message_fields = {