MCPcopy
hub / github.com/mudler/LocalAI / ListGalleries

Method ListGalleries

pkg/mcp/localaitools/client.go:30–30  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

28 GallerySearch(ctx context.Context, q GallerySearchQuery) ([]gallery.Metadata, error)
29 ListInstalledModels(ctx context.Context, capability Capability) ([]InstalledModel, error)
30 ListGalleries(ctx context.Context) ([]config.Gallery, error)
31 GetJobStatus(ctx context.Context, jobID string) (*JobStatus, error)
32 GetModelConfig(ctx context.Context, name string) (*ModelConfigView, error)
33

Callers 3

registerModelToolsFunction · 0.65
parity_test.goFile · 0.65
client_test.goFile · 0.65

Implementers 4

stubClientcore/http/endpoints/mcp/localai_assist
fakeClientpkg/mcp/localaitools/fakes_test.go
Clientpkg/mcp/localaitools/httpapi/client.go
Clientpkg/mcp/localaitools/inproc/client.go

Calls

no outgoing calls

Tested by

no test coverage detected