[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-20 07:07:35 +00:00
parent 276528d343
commit 789e975148

View File

@ -114,7 +114,7 @@ def get_latest_chat_id() -> int:
cursor = conn.cursor() cursor = conn.cursor()
cursor.execute( cursor.execute(
""" """
SELECT chat_id FROM ChatDB.Chat_history SELECT chat_id FROM ChatDB.Chat_history
ORDER BY chat_id DESC LIMIT 1 ORDER BY chat_id DESC LIMIT 1
""" """
) )
@ -241,6 +241,6 @@ def chat_session() -> None:
conversation_history = conversation_history[-3:] conversation_history = conversation_history[-3:]
# starting a chat session # starting a chat session
create_tables() create_tables()
chat_session() chat_session()