Finished timer implementation

This commit is contained in:
jeffser
2024-09-02 02:55:02 -06:00
parent daf56c2de4
commit 0d3b544a73
3 changed files with 17 additions and 9 deletions

View File

@@ -450,6 +450,7 @@ class message(Gtk.Overlay):
self.dt = datetime.datetime.now()
self.add_footer(self.dt)
window.show_notification(chat.get_name(), self.text[:200] + (self.text[200:] and '...'), Gio.ThemedIcon.new("chat-message-new-symbolic"))
window.ollama_instance.start_timer()
window.save_history(chat)
else:
sys.exit()