Files
magpie/internal
yetone d67ccbd3c7 agent: a provider named magpie at another machine's address is not this magpie's Alma wiring
Alex on Discord: any provider named magpie in Alma, one pointing at a
magpie on a VPS included, was taken as this magpie's own, and the Agents
page said "Alma no longer goes through magpie, its config was changed".
almaMagpie now takes a provider by the name magpie only when its base URL
is on this machine (onAnotherMachine, as ZCode's check does). One at
another machine's address is the user's own provider and left alone; the
second match, an OpenAI-shaped provider at this gateway, is unchanged.

Run (mote), at base f1a4de736; rebased onto 4f94b8a82, which changes two internal/agent files, and the Alma tests run again there: ok.
- go test -count=1 ./internal/agent/: ok (225.9s)
- GOOS=linux and GOOS=windows go vet ./internal/agent/: ok; gofmt -l clean.
Broken by hand: without the onAnotherMachine check,
TestAlmaMagpieOnAServer FAILs ("a magpie on a server taken for this one").
Not tried: a real Alma with a remote magpie provider; the test uses the
reporter's shape (id vps, name magpie, https URL, set as default).
2026-11-17 20:39:31 +08:00
..
…
…
…
…
…
…
…
…
2026-11-17 15:09:29 +08:00
…