Skip to content

Commit

Permalink
fix: citations always appear in the chatflow app (#3844)
Browse files Browse the repository at this point in the history
  • Loading branch information
takatost authored Apr 25, 2024
1 parent 019d706 commit 34bfb71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/core/app/task_pipeline/message_cycle_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ def _handle_retriever_resources(self, event: QueueRetrieverResourcesEvent) -> No
: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:
"""
Expand Down

0 comments on commit 34bfb71

Please sign in to comment.