diff options
Diffstat (limited to 'src/gizmo/wasp-chatsummary.el')
| -rw-r--r-- | src/gizmo/wasp-chatsummary.el | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/gizmo/wasp-chatsummary.el b/src/gizmo/wasp-chatsummary.el index 169c3a21..71b532d5 100644 --- a/src/gizmo/wasp-chatsummary.el +++ b/src/gizmo/wasp-chatsummary.el @@ -25,17 +25,18 @@ (defun w/chatsummary-update () "Update the chat summary." - (w/ai - (w/friend-journalism-input) - (lambda (d) - (when-let* ((d) - (resp (s-trim d))) - (with-current-buffer (w/chatsummary-get-buffer) - (let ((inhibit-read-only t)) - (erase-buffer) - (w/write-line "Chat summary" 'bold) - (w/write-line resp))))) - "Given a list of recent YouTube chatter activity, produce a summary of the topics discussed. The summary should be very short, maximum two sentences total. Do not introduce yourself. Simply provide a short summary of the chat. Do not mention specific names of chatters. Keep it succinct. Do not mention that you are summarizing YouTube activity. Be laconic.")) + ;; (w/ai + ;; (w/friend-journalism-input) + ;; (lambda (d) + ;; (when-let* ((d) + ;; (resp (s-trim d))) + ;; (with-current-buffer (w/chatsummary-get-buffer) + ;; (let ((inhibit-read-only t)) + ;; (erase-buffer) + ;; (w/write-line "Chat summary" 'bold) + ;; (w/write-line resp))))) + ;; "Given a list of recent YouTube chatter activity, produce a summary of the topics discussed. The summary should be very short, maximum two sentences total. Do not introduce yourself. Simply provide a short summary of the chat. Do not mention specific names of chatters. Keep it succinct. Do not mention that you are summarizing YouTube activity. Be laconic.") + ) (defvar w/chatsummary-timer nil) (defun w/chatsummary-run-timer () |
