mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-18 19:57:35 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
276528d343
commit
789e975148
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user