Skip to content

Commit

Permalink
Correct the formatting for extract questions
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Sep 28, 2024
1 parent aed0651 commit 4d87c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/khoj/routers/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ async def extract_references_and_questions(
using_offline_chat = False
logger.debug(f"Filters in query: {filters_in_query}")

personality_context = prompts.personality_context(personality=agent.personality) if agent else ""
personality_context = prompts.personality_context.format(personality=agent.personality) if agent else ""

# Infer search queries from user message
with timer("Extracting search queries took", logger):
Expand Down

0 comments on commit 4d87c9e

Please sign in to comment.