mirror of
https://github.com/mudler/LocalAI
synced 2026-04-21 13:27:21 +00:00
The gallery-agent lives under .github/, which Go tooling treats as a hidden directory and excludes from './...' expansion. That means 'go mod tidy' (run on every dependabot dependency bump) repeatedly strips github.com/ghodss/yaml from go.mod/go.sum, breaking 'go run ./.github/gallery-agent' with a missing go.sum entry error. Switch to sigs.k8s.io/yaml — API-compatible with ghodss/yaml and already pulled in as a transitive dependency via non-hidden packages, so tidy can no longer remove it. |
||
|---|---|---|
| .. | ||
| gallery.go | ||
| helpers.go | ||
| main.go | ||
| testing.go | ||