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

Method Is

core/gallery/importers/importers.go:57–59  ·  view source on GitHub ↗

Is lets callers match with errors.Is(err, ErrAmbiguousImport) without caring about the typed shape.

(target error)

Source from the content-addressed store, hash-verified

55// Is lets callers match with errors.Is(err, ErrAmbiguousImport) without caring
56// about the typed shape.
57func (e *AmbiguousImportError) Is(target error) bool {
58 return target == ErrAmbiguousImport
59}
60
61// ambiguousModalities enumerates the HF pipeline_tag values that are narrow
62// enough to be confident we should surface ambiguity instead of a generic

Callers 15

PasswordErrorFunction · 0.45
handleStreamResumeFunction · 0.45
isThaiLaoFunction · 0.45
UpdateTaskEndpointFunction · 0.45
DeleteTaskEndpointFunction · 0.45
CancelJobEndpointFunction · 0.45
DeleteJobEndpointFunction · 0.45
piiScanErrorFunction · 0.45
FaceForgetEndpointFunction · 0.45

Calls

no outgoing calls