Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

crazywoola98bf7710e47c
diff --git a/api/controllers/service_api/app/message.py b/api/controllers/service_api/app/message.py
index d9a9fad13c9..ecff804adcd 100644
--- a/api/controllers/service_api/app/message.py
+++ b/api/controllers/service_api/app/message.py
@@ -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 = {