Created
August 9, 2025 18:15
-
-
Save jwiegley/4cf742782424c76e9f7236d714b86447 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugger entered--Lisp error: "Making gptel-model buffer-local while locally let-bound!" | |
make-local-variable(gptel-model) | |
gptel--sanitize-model() | |
gptel-request(("*** TASK Provide roadmap options to John tomorrow including lean path and alternatives :Jesse:\n:PROPERTIES:\n:OFFSET: 32:35\n:LAST_REVIEW: [2025-08-09 Sat]\n:NEXT_REVIEW: [2025-08-09 Sat]\n:REVIEWS: 1\n:ID: 7BA3D39A-3D68-4042-B206-BE96C24163CA\n:CREATED: [2025-08-09 Sat 10:54]\n:LOCATION: 38.569498,-121.388618\n:END:\n*** TASK Schedule follow-up meeting next week to continue prioritization discussions :Jesse:\n:PROPERTIES:\n:OFFSET: 33:01\n:LAST_REVIEW: [2025-08-09 Sat]\n:NEXT_REVIEW: [2025-08-09 Sat]\n:REVIEWS: 1\n:ID: 4AF0BAC1-0253-4BC8-9534-075183776F47\n:CREATED: [2025-08-09 Sat 10:54]\n:LOCATION: 38.569498,-121.388618\n:END:\n" "What is the required change?" "Shorten it as described.") :dry-run nil :system "Given a list of tasks, shorten the title so that it is no longer than 67 characters long. You can move the overflow into the body of the task. Here is an example input task:\n\n*** TASK Schedule a meeting with Issa, Linda, and John to discuss Issa's team placement and frame the conversation positively, focusing on what excites Issa within engineering :Linda:\n:PROPERTIES:\n:OFFSET: 01:59\n:LAST_REVIEW: [2025-05-05 Mon]\n:NEXT_REVIEW: [2025-05-05 Mon]\n:REVIEWS: 1\n:ID: 68753CB1-B20F-4D9E-953D-647EADD4E06D\n:CREATED: [2025-05-05 Mon 20:39]\n:END:\n\nAnd here is what the contraction would look like:\n\n*** TASK Schedule meeting to discuss Issa's team placement :Linda:\n:PROPERTIES:\n:OFFSET: 01:59\n:LAST_REVIEW: [2025-05-05 Mon]\n:NEXT_REVIEW: [2025-05-05 Mon]\n:REVIEWS: 1\n:ID: 68753CB1-B20F-4D9E-953D-647EADD4E06D\n:CREATED: [2025-05-05 Mon 20:39]\n:END:\nSchedule a meeting with Issa, Linda, and John to discuss Issa's team placement\nand frame the conversation positively, focusing on what excites Issa within\nengineering.\n\nHere are some rules you MUST follow:\n\n- Copy the original title into the body of the task\n- Replace the title with a summary that reflects the task well enough that it remains actionable\n- Remove all filler words and definite and indefinite articles, like “the”, “a”, “an”, etc.\n- Retain metadata and any other content already in the body of the task.\n- Do not include a final newline at the end of the task body, after inserting the original title.\n- Maintain the same list of tags to the right of the title, that look like \":Linda:\". Do not add or remove these tags.\n- Never place the word :PROPERTIES: on the same line as the title.\n- Avoid using any abbreviations (such as \"w/\" instead of \"with\", or \"&\" - instead of \"and\")\n- Maintain all original tags, which are words enclosed by colons for example :Hafsah: or :Stuart:\n- Split long verb phrases into concise action-oriented titles\n- Preserve all metadata and IDs\n- Add original full title to each task body without final newline\n- Kept all titles under 67 characters (longest is 66 chars in last task)\n\nThe user will provide the list of tasks to modify." :stream nil :context (#<overlay from 5498 to 6146 in 202508070930-spv-design.org> . #<buffer *gptel-rewrite*-609301>) :transforms (gptel-litellm-add-litellm-session gptel--transform-apply-preset gptel--transform-add-context) :callback gptel--rewrite-callback) | |
gptel--suffix-rewrite() | |
#f(compiled-function () #<bytecode -0x15d666f145a2f8be>)() | |
funcall(#f(compiled-function () #<bytecode -0x15d666f145a2f8be>)) | |
(let ((gptel--rewrite-message 'nil) (gptel--rewrite-directive 'nil) (gptel-tools 'nil) (gptel-include-reasoning 'nil) (gptel-max-tokens 'nil) (gptel-temperature 'nil) (gptel-model 'nil) (gptel-backend 'nil)) (funcall '#f(compiled-function () #<bytecode -0x15d666f145a2f8be>))) | |
eval((let ((gptel--rewrite-message 'nil) (gptel--rewrite-directive 'nil) (gptel-tools 'nil) (gptel-include-reasoning 'nil) (gptel-max-tokens 'nil) (gptel-temperature 'nil) (gptel-model 'nil) (gptel-backend 'nil)) (funcall '#f(compiled-function () #<bytecode -0x15d666f145a2f8be>)))) | |
gptel-ext-shorten() | |
funcall-interactively(gptel-ext-shorten) | |
command-execute(gptel-ext-shorten) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment