MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / SortedNames

Method SortedNames

internal/providers/providers.go:43–50  ·  view source on GitHub ↗

SortedNames returns the endpoint names sorted for deterministic output.

()

Source from the content-addressed store, hash-verified

41
42// SortedNames returns the endpoint names sorted for deterministic output.
43func (f File) SortedNames() []string {
44 names := make([]string, 0, len(f.Endpoints))
45 for name := range f.Endpoints {
46 names = append(names, name)
47 }
48 sort.Strings(names)
49 return names
50}
51
52// IsEnabled reports whether the endpoint participates in tool launches. A nil
53// Enabled field is treated as "true" to match Python.

Callers 12

ListProvidersForToolMethod · 0.80
RunMethod · 0.80
printEndpointTableFunction · 0.80
autoResolveFunction · 0.80
doctorCommandMethod · 0.80
providerListCommandMethod · 0.80
providerAddCommandMethod · 0.80
providerUpdateCommandMethod · 0.80
buildEndpointStepMethod · 0.80
ListMethod · 0.80

Calls

no outgoing calls

Tested by 1