mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: citations always appear in the chatflow app (#3844)
This commit is contained in:
parent
019d7069f8
commit
34bfb715e1
|
@ -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:
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user