diff --git a/src/custom_widgets/chat_widget.py b/src/custom_widgets/chat_widget.py index 8ff784c..bcb12b2 100644 --- a/src/custom_widgets/chat_widget.py +++ b/src/custom_widgets/chat_widget.py @@ -419,5 +419,3 @@ class chat_list(Gtk.ListBox): if len(row.chat_window.messages) > 0: last_model_used = row.chat_window.messages[list(row.chat_window.messages)[-1]].model window.model_manager.change_model(last_model_used) - with open(os.path.join(data_dir, "chats", "selected_chat.txt"), 'w') as f: - f.write(row.chat_window.get_name())