Update lollms_discussion.py

This commit is contained in:
Saifeddine ALOUI 2024-05-03 14:34:45 +02:00 committed by GitHub
parent 3ffaf28156
commit dbe1161b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,7 +151,7 @@ async def delete_discussion(discussion: DiscussionDelete):
try:
client_id = discussion.client_id
discussion_id = sanitize_path(discussion.id)
discussion_id = discussion.id
discussion_path = lollmsElfServer.lollms_paths.personal_discussions_path/lollmsElfServer.config.discussion_db_name/discussion_id
lollmsElfServer.session.get_client(client_id).discussion = Discussion(lollmsElfServer, discussion_id, lollmsElfServer.db)