From 2496c2d13f51e0286d510cce77c8beb0df190366 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Tue, 3 Dec 2024 10:42:37 +0330 Subject: [PATCH] fix: black linter issues! --- worker/tasks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/worker/tasks.py b/worker/tasks.py index 8042134..346f542 100644 --- a/worker/tasks.py +++ b/worker/tasks.py @@ -19,9 +19,7 @@ def ask_question_auto_search( response, references = query_data_sources( community_id=community_id, query=query ) - answer_sources = PrepareAnswerSources().prepare_answer_sources( - nodes=references - ) + answer_sources = PrepareAnswerSources().prepare_answer_sources(nodes=references) except Exception: response = "Sorry, We cannot process your question at the moment." answer_sources = None