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

Method FindNodesWithModel

core/services/nodes/interfaces.go:39–39  ·  view source on GitHub ↗
(ctx context.Context, modelName string)

Source from the content-addressed store, hash-verified

37 FindLeastLoadedNodeFromSet(ctx context.Context, nodeIDs []string) (*BackendNode, error)
38 GetNodeLabels(ctx context.Context, nodeID string) ([]NodeLabel, error)
39 FindNodesWithModel(ctx context.Context, modelName string) ([]BackendNode, error)
40 LoadedReplicaStats(ctx context.Context, modelName string, candidateNodeIDs []string) ([]ReplicaCandidate, error)
41}
42

Implementers 3

fakeModelRouterForSmartRoutercore/services/nodes/model_router_test.
fakeModelRoutercore/services/nodes/router_test.go
NodeRegistrycore/services/nodes/registry.go

Calls

no outgoing calls

Tested by

no test coverage detected