mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 13:22:12 +00:00
Log when conversation turn is saved to DB
This commit is contained in:
@@ -122,6 +122,7 @@ def save_to_conversation_log(
|
||||
conversation_id=conversation_id,
|
||||
user_message=q,
|
||||
)
|
||||
logger.info(f'Saved Conversation Turn\nYou ({user.username}): "{q}"\n\nKhoj: "{chat_response}"')
|
||||
|
||||
|
||||
def generate_chatml_messages_with_context(
|
||||
|
||||
Reference in New Issue
Block a user