karthink

Results 854 comments of karthink

> It would be nice to see the status of what gptel is doing in the modeline or header line if gptel is operating on a regular Emacs buffer. In...

Based on the comments, I can modify `gptel--update-status` to optionally show a `mode-line-process` indicator in any buffer, but only when a request is running. I'm noting this down as a...

@ahmed-shariff Thanks! This is the right way to add this feature. Two questions: ------ Where do you place this in the `mode-line-format`? I tried ``` emacs-lisp (push '(:eval my/gptel--current-status) mode-line-misc-info)...

Here is an updated version of @ahmed-shariff's solution for showing the state of an ongoing request: ```emacs-lisp ;; Variable to hold status indicator (defvar gptel--mode-line-format " ") (defun gptel--mode-line-format (msg...

> you are right, let me see if I can figure out whats happening there. ~~You need to add some more entries to `gptel-request--handlers`. See my update to your code...

> I had copied what some of the other mode line functions were doing. I hadn't really profiled the cost of using that, but I hadn't noticed any negative consequences...

> Maybe it's a good idea to include this configuration in the readme/documentation somewhere? The best place for it right now is the wiki: https://github.com/karthink/gptel/wiki. I'm working on the manual...

@ProjectMoon I don't have the hardware to run a vision-capable model in Ollama right now, so I can't test this. Could you do the following: 1. `(setq gptel-expert-commands t)` 2....

Please ensure gptel is up to date. On Sun, Apr 20, 2025, 12:08 PM ProjectMoon ***@***.***> wrote: > Tried doing this. The only output was: > > org-element-context: Wrong type...

1. Images included through `gptel-add`: should be fixed now. 2. Images included as Org/Markdown links: I'm not able to reproduce your error.