mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Fix using format string for logger in chat API endpoint
This commit is contained in:
@@ -242,7 +242,7 @@ async def chat(
|
|||||||
) -> Response:
|
) -> Response:
|
||||||
user: KhojUser = request.user.object
|
user: KhojUser = request.user.object
|
||||||
q = unquote(q)
|
q = unquote(q)
|
||||||
logger.info("Chat request by {user.username}: {q}")
|
logger.info(f"Chat request by {user.username}: {q}")
|
||||||
|
|
||||||
await is_ready_to_chat(user)
|
await is_ready_to_chat(user)
|
||||||
conversation_commands = [get_conversation_command(query=q, any_references=True)]
|
conversation_commands = [get_conversation_command(query=q, any_references=True)]
|
||||||
|
|||||||
Reference in New Issue
Block a user