Ollama-Buddy 0.9.35: Grok, Gemini Integration and Enhanced Sessions
April 24, 2025 09:20
Several improvements in the latest Ollama Buddy updates (versions 0.9.21 through 0.9.35):
April 24, 2025 09:20
Several improvements in the latest Ollama Buddy updates (versions 0.9.21 through 0.9.35):
April 17, 2025 09:00
I'm having issues with isearch!
I've been using fido-mode for a while now (I'm one of those weirdos who transitioned from the Vertico/Marginalia/Orderless stack back to an Emacs built-in) and have become accustomed to the flexible matching that fido offers. For example, I often shorten commands to find them, such as:
April 9, 2025 13:43
ollama-buddy-awesome.el to integrate Awesome ChatGPT Prompts.
ollama-buddy-awesome is an ollama-buddy extension that integrates the popular Awesome ChatGPT Prompts repository, allowing you to leverage hundreds of curated prompts for various tasks and roles right within your Emacs environment, I thought that since I have integrated the fabric set of curated prompts, so then why not these!
April 2, 2025 17:15
I’ve added experimental support for Claude AI, aligning its implementation with my support for ChatGPT, to pave the way for external AI templating which should make it easier to integrate new models in the future. Like the ChatGPT implementation, it doesn’t stream tokens in real time but instead outputs the final result all at once. However, after testing it further, I’m actually starting to prefer it. The response speed is so fast that not seeing a real-time “Typing” indicator isn’t a big deal. I think that streaming feels more relevant for local LLMs running through ollama, where token generation is slower, making real-time output more useful.
March 25, 2025 10:00
This week in ollama-buddy updates, I have mostly been experimenting with ChatGPT integration! Yes, it is not a local LLM, so not ollama, hence entirely subverting the whole notion and fundamental principles of this package! This I know, and I don't care; I'm having fun. I use ChatGPT and would rather use it in Emacs through the now-familiar ollama-buddy framework, so why not? I'm also working on Claude integration too.
March 24, 2025 21:10
The assembly was generally pretty straightforward, but a bit of a slog!
March 19, 2025 16:08
This week in ollama-buddy updates, I have been continuing on the busy bee side of things.
The headlines are :
fabric prompts presets - mainly as I thought generally user curated prompts was a pretty cool idea, and now I have system prompts implemented it seemed like a perfect fit. All I needed to do was to pull the patterns directory and then parse accordingly, of course Emacs is good at this.dired!ollama API - includes model management, so pulling, stopping, deleting and more!sexp usual keybindings and then load back in to the variable.
March 14, 2025 13:21
More improvements to ollama-buddy https://github.com/captainflasmr/ollama-buddy
The main addition is that of system prompts, which allows setting the general tone and guidance of the overall chat. Currently the system prompt can be set at any time and turned on and off but I think to enhance my model/command for each menu item concept, I could also add a :system property to the menu alist definition to allow even tighter control of a menu action to prompt response.
March 11, 2025 18:07
Continuing the development of my local ollama LLM client called ollama-buddy…
https://github.com/captainflasmr/ollama-buddy
The basic functionality, I think, is now there (and now literally zero configuration required). If a default model isn't set I just pick the first one, so LLM chat can take place immediately.
March 7, 2025 13:50
I've been a busy little bee in the last few days, so quite a few improvements to ollama-buddy, my Emacs LLM ollama client, they are listed below:
March 2, 2025 09:35
Some improvements to my ollama LLM package…
With the new multishot mode, you can now send a prompt to multiple models in sequence, and compare their responses, the results are also available in named registers.
February 26, 2025 14:05
Seems to be a common post at the moment, so I thought I would quickly put out there how I updated to Emacs 30.1.
I use an Arch spin called Garuda, running SwayWM, so as its on wayland, this for me is simple, just update the system using pacman -Syu and emacs-wayland will pull in 30.1 automatically!
February 24, 2025 15:42
___ _ _ n _ n ___ _ _ _ _ | | | |__._|o(Y)o|__._| . |_ _ _| |_| | | | | | | | | . | | . | . | | | . | . |__ | |___|_|_|__/_|_|_|_|__/_|___|___|___|___|___|
https://github.com/captainflasmr/ollama-buddy
A friendly Emacs interface for interacting with Ollama models. This package provides a convenient way to integrate Ollama’s local LLM capabilities directly into your Emacs workflow with little or no configuration required.
Latest improvements:
ollama-buddy-menu(use-package ollama-buddy :bind ("C-c o" . ollama-buddy-menu))
(use-package ollama-buddy :bind ("C-c o" . ollama-buddy-menu) :custom ollama-buddy-default-model "llama3.2:1b")
February 21, 2025 07:54
I am currently using vc-mode for my source code configuration needs. I wouldn’t call myself a die-hard vc-mode user, (at least not yet!). To earn that title, I think I would need years of experience with it and scoffing at this newfangled thing they call magit, while my muscle memory recoils at the thought of reading and interacting with a transient menu!
February 7, 2025 09:40
I have been playing around with local LLMs recently through ollama and decided to create the basis for an Emacs package to focus on interfacing to ollama specifically. My idea here is to implement something very minimal and as light-weight as possible and that could be run out-of-the-ollamabox with no configuration (obviously the ollama server just needs to be running). I have a deeper dive into my overall design thoughts and decisions in the github README and there are some simple demos:"hello"
January 30, 2025 07:40
In my continuing quest to replace all my external use packages with my own elisp versions so I can still follow my current workflow on an air-gapped system, I would like to replace a single function I use often from embark
embark allows an action in a certain context, and there are a lot of actions to choose from, but I found I was generally using very few, so to remove my reliance on embark I think I can implement these actions myself.
January 25, 2025 07:50
In this post, as part of my ongoing mission to replace all (or as many as possible) external packages with pure elisp, I’ll demonstrate how to implement a lightweight alternative to the popular rainbow-mode package, which highlights hex colour codes in all their vibrant glory. I use this quite often, especially when "ricing" my tiling window setup.
January 18, 2025 11:08
Navigating through lengthy org files can sometimes feel cumbersome. To address this I have tweaked org-goto to be a little more usable through the minibuffer completion system to jump to any org heading.
I have been aware of the org-goto command for a while now, which technically, allows for the efficient navigation through an org file. Every now and then I give it a go, but it just feels clunky and some of the keybindings don't quite feel intuitively Emacs for some reason.
Now my org files are getting more elaborate, I would like a better way to navigate and especially through the hierarchy of headings.
What about org-imenu-depth I hear you say! Well as far as I can tell, this allows stepping through to a defined subheading level but while going through multiple menu/hierarchical selection steps. For efficiency, I would like a way to flatten the subheadings for a one-shot completion selection method. This is where org-goto can actually be adapted to satisfy this need, and I think leverages the org refile menu system.
January 8, 2025 15:30
ediff is one of my favourite tools in Emacs and I have recently found myself not only using ediff-buffers and vc-ediff often but also now having the need to compare two regions.
January 3, 2025 20:20
Previously, my/quick-window-jump was geared mostly toward managing two or more windows. The behaviour was straightforward:
However, the function didn’t handle a single-window scenario intelligently. A horizontal split from a single window is something I do very frequently, by frequently, I mean at least every minute! This split is currently bound to its own keybinding, but couldn't my ace-window defun clone do this? For example, I find that the transition from a single window to a split never happens vertically for me, so why not make my/quick-window-jump perform a horizontal split from a single window and then move the point to that window?
In addition, it is very rare for me to vertically split into more than two columns. I could probably drop my current horizontal split keybinding now. If I do require another horizontal split, the default C-x 3 is already bound to muscle memory.
Lets take this function to the next level of convenience, with a very simple change, simply an extra (length window-list) and the relevant logic.