mirror of
https://github.com/langgenius/dify.git
synced 2026-03-16 12:27:42 +08:00
fix file render
This commit is contained in:
@ -47,7 +47,10 @@ class TokenBufferMemory:
|
||||
if self.conversation.mode not in [AppMode.ADVANCED_CHAT.value, AppMode.WORKFLOW.value]:
|
||||
file_extra_config = FileUploadConfigManager.convert(message.app_model_config.to_dict())
|
||||
else:
|
||||
file_extra_config = FileUploadConfigManager.convert(message.workflow_run.workflow.features_dict)
|
||||
file_extra_config = FileUploadConfigManager.convert(
|
||||
message.workflow_run.workflow.features_dict,
|
||||
is_vision=False
|
||||
)
|
||||
|
||||
if file_extra_config:
|
||||
file_objs = message_file_parser.transform_message_files(
|
||||
|
||||
Reference in New Issue
Block a user