Commit Graph
7 Commits
Author SHA1 Message Date
Willem van den Ende 183036a333 fix(mac): aim whisper.el at the whisper.cpp server (remote mode)
The human runs homebrew's whisper.cpp server with
ggml-large-v3-turbo; that build serves only whisper.cpp's native
/inference endpoint, not an OpenAI-compatible one.  Switch the block
from 'openai to 'remote mode: whisper.el then POSTs multipart
(file, response_format=json, language) to <baseurl>/inference and
parses the {"text": ...} reply, which matches whisper.cpp exactly
(verified against the installed whisper.el sources).

Drop the openai-mode-only settings (api key/model/baseurl); they are
inert in remote mode.  The comment records the Lemonade-style
alternative and why live-dictate still needs such a backend.

Verified statically only (parens + endpoint/parsing traced in
whisper.el); runtime test pending with the human.
2026-11-05 12:01:20 +00:00
Willem van den Ende 044e8145d5 feat(mac): port whisper/live-dictate speech-to-text from Linux
Mirror the config-linux.el block so both machines have the same
capabilities.  packages.el already declares whisper and websocket, and
lisp/live-dictate.el already picks avfoundation for FFmpeg input on
darwin; this adds the use-package! whisper block, the SPC A leader
keys, the live-dictate autoload, and the mac-specific audio input
device (":0" = no video, default microphone, TCC permission prompt on
first use).

Still needs a backend on this machine: an OpenAI-compatible
transcription server on localhost:13305 (Lemonade as on Linux, or
whisper.cpp's server, or a remote host).  Until then the commands bind
but fail to connect.

Verified statically on the mac only (parens); runtime needs doom sync.
2026-11-05 10:11:59 +00:00
Willem van den Ende 243bc8ba2a fix(mac): configure the elixir server that actually exists
The old hard-coded ~/.elixir-ls path no longer exists on this machine,
so eglot had no usable Elixir server (and .heex files had none at all).

Mirror the Linux logic from config-linux.el: prefer `expert` (installed
at /opt/homebrew/bin/expert), else any language_server.sh on PATH, else
leave eglot at its default.  Covers elixir-mode, elixir-ts-mode and
heex-ts-mode, closing the heex gap left when b425df9 moved server
ownership to the OS files.

Verified on the mac only.
2026-11-05 10:08:59 +00:00
Willem van den Ende b703ccb4b0 adopt: config-mac.el -- ownership note, elixir server, blog roots
Pure additions (18 lines, no deletions) on top of upstream's config-mac.el:

- header note that the file is seeded from 0789326 and is now owned here,
  so re-syncing it with `git checkout mac/master -- config-mac.el' is no
  longer safe
- the eglot entry for elixir-ts-mode that was hard-coded in the Linux repo's
  shared config.el as /Users/willem/.elixir-ls/...  It belongs on the mac
  side; the Linux counterpart is in config-linux.el
- blog export roots, with ~/MyDocuments/... as on macOS

This file only loads on darwin, so nothing changes for the Linux machine.
2026-11-03 12:32:53 +00:00
Willem van den Ende b78dd4f959 update models 2026-06-28 22:28:46 +02:00
Willem van den Ende 9c84faa6aa journelly: roam refs before title 2026-02-08 21:04:04 +00:00
Willem van den EndeandClaude Opus 4.5 bc7aa5ada6 add config-mac.el with gptel configuration
- Global gptel-include-reasoning redirects thinking to *llm-thinking* buffer
- Backends: llama.cpp, Ollama, GLM-think (DeepSeek parser)
- Presets: explain, elixir, glm-fast, glm-think, glm-search
- search_notes tool for org-roam integration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 13:28:03 +00:00