Files
magpie/internal/tui
timonwong 79099d6adb provider, gui, tui: Ollama, LM Studio and oMLX take an address, so a server on another port or computer is the preset's provider (#1165)
The three On this machine presets were pinned to localhost and their
default port: one started on another port, or on another computer on
the LAN, had to be rebuilt as a custom provider or typed URL by URL in
the CLI. They now take an Address (scheme, host and port), and each of
their URLs keeps its own path there (provider.AtAddress, AddressOf; no
scheme means http, only http/https, port 1-65535, a pasted path is
dropped, anything else refused with nothing changed).

- GUI: the add and edit editors have a Server address section under the
  key, folded unless the saved address isn't the preset's, opened and
  focused on a refused one. The Endpoints, Test and Refresh follow what
  is typed; URLs are sent only when the address changed, so ones set
  apart (an import, the CLI) are left alone. zh, zh-TW, ja, de.
- TUI: adding a local preset asks for its address before the key (Enter
  keeps the default), and w edits it.
- CLI: the usage shows provider add ollama url=... anthropic=....
- LM Studio's and oMLX's notes say "port N by default".

timonwong's PR head e63cf18e, merged onto main, which had given oMLX a
decision API (#1641) since: presets.go keeps main's oMLX Decide; app.js
keeps both the Vertex block and the address one; the docs row and -run
list take both.

Run: see the next commit.
2026-10-13 13:47:58 +08:00
..