Replies: 1 comment 1 reply
-
Yes, you can use However (defvar title nil)
(gptel-request "Generate a title for a book about..."
:callback (lambda (response _)
(when (stringp response)
(setq title response)))) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I like to use gptel programmatically in my own package. Something like:
I don't want any output inserted in the active buffer or any of the standard prompts in gptel being used, just the API mechanisms.
P:)
Beta Was this translation helpful? Give feedback.
All reactions