fix: citations always appear in the chatflow app (#3844)

This commit is contained in:
takatost 2024-04-25 18:31:38 +08:00 committed by GitHub
parent 019d7069f8
commit 34bfb715e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,8 @@ class MessageCycleManage:
:param event: event
:return:
"""
self._task_state.metadata['retriever_resources'] = event.retriever_resources
if self._application_generate_entity.app_config.additional_features.show_retrieve_source:
self._task_state.metadata['retriever_resources'] = event.retriever_resources
def _get_response_metadata(self) -> dict:
"""