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

Function SubjectGalleryCancel

core/services/messaging/subjects.go:127–129  ·  view source on GitHub ↗

SubjectGalleryCancel returns the NATS subject to cancel a gallery download.

(opID string)

Source from the content-addressed store, hash-verified

125
126// SubjectGalleryCancel returns the NATS subject to cancel a gallery download.
127func SubjectGalleryCancel(opID string) string {
128 return subjectGalleryCancelPrefix + sanitizeSubjectToken(opID) + ".cancel"
129}
130
131// Node Backend Lifecycle (Pub/Sub — targeted to specific nodes)
132//

Callers 2

CancelOperationMethod · 0.92

Calls 1

sanitizeSubjectTokenFunction · 0.85

Tested by

no test coverage detected