feat: bump majordomo + support llama-swap(s) provider spellings
Build & push image / build-and-push (pull_request) Successful in 6s
Adversarial Review (Gadfly) / review (pull_request) Successful in 6m8s

- Bump majordomo to the latest build (...225659).
- Accept every llama-swap spelling in gadfly's endpoint switches —
  "llama-swap"/"llama-swaps" (mirroring majordomo's DSN schemes: http vs
  https TLS) plus the un-hyphenated "llamaswap"/"llamaswaps" — in both the
  GADFLY_PROVIDER+GADFLY_BASE_URL override and the
  GADFLY_ENDPOINT_<NAME>="llama-swap|url[|key]" form. Previously only the
  un-hyphenated "llamaswap" matched, so a majordomo-canonical "llama-swap"
  hit "unknown provider".
- The LLM_* DSN path (llama-swap:// / llama-swaps://) already works via
  majordomo.Parse — no gadfly change needed there.
- README providers table + error messages updated; new endpointProvider
  alias tests.

gofmt clean, go vet quiet, go test -race green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-27 19:09:19 -04:00
parent a4cdc905c9
commit a59e61f93c
5 changed files with 26 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ module gitea.stevedudenhoeffer.com/steve/gadfly
go 1.26.2
require (
gitea.stevedudenhoeffer.com/steve/majordomo v0.0.0-20260627201401-b2487a1a370c
gitea.stevedudenhoeffer.com/steve/majordomo v0.0.0-20260627225659-aa25b2c33462
gopkg.in/yaml.v3 v3.0.1
)