Skip to content

Commit

Permalink
fix: ask_question_auto_search return type annotation!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Oct 9, 2024
1 parent 8b8ab37 commit 658c237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def ask_question_auto_search_discord_interaction(
def ask_question_auto_search(
community_id: str,
query: str,
) -> str:
) -> dict[str, str]:
response = query_data_sources(community_id=community_id, query=query)
return {
"community_id": community_id,
Expand Down

0 comments on commit 658c237

Please sign in to comment.