Skip to content

Commit

Permalink
fix: black linter issues!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Dec 3, 2024
1 parent 3a7f2a1 commit 2496c2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions worker/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2496c2d

Please sign in to comment.