karthink
karthink
I'm closing this as this is not a gptel bug -- the model is not acting in accordance with Ollama's tool calling API.
> - Upon opening the screen flashes like it doesn't do when I interactively run gptel-mode after org-mode has completed loading > - Some of the existing org-mode properties such...
> I managed to work around the issue with flashing for now by using > > ```emacs-lisp > (defun gptel-setup-hook:nordlow () > "Setup `gptel-mode' in `org-mode' or `markdown-mode' buffers. >...
> In what way does gptel work better with curl, btw? It supports streaming responses, it's better tested, and the processing runs a little faster (at least on Linux). The...
> Ok, thanks. > > I'm also using > > ```emacs-lisp > (defun gptel-post-response-adjust:nordlow (_begin _end) > ;; break long lines > ;; (fill-paragraph nil (cons begin end)) > ;;...
> or do you use visual-line-mode? I don't modify or post-process the response in any way. > ..making them syntactically incorrect. Do you have a solution to that? No, but...
> > Is there anything else in your org-mode-hook that might be interfering with turning on gptel-mode? > > My current org-mode-hook looks like > > ``` > (#f(compiled-function ()...
I tried to reproduce this error (duplicate `GPTEL_SYSTEM` property, flashing screen) again but couldn't. Could you try to reproduce it in stock Emacs, with `emacs -q`? You can install the...
Did you have a chance to try this with `emacs -q`?
Is the original issue -- with `org-mode-hook` -- still present?