MCPcopy Create free account
hub / github.com/codehamr/codehamr / ModelNames

Method ModelNames

internal/config/config.go:347–349  ·  view source on GitHub ↗

ModelNames returns the profile names sorted, so the popover cycles deterministically regardless of map iteration order.

()

Source from the content-addressed store, hash-verified

345
346// ModelNames returns the profile names sorted, so the popover cycles
347// deterministically regardless of map iteration order.
348func (c *Config) ModelNames() []string {
349 return slices.Sorted(maps.Keys(c.Models))
350}
351
352// SetActive switches the active profile and persists. Fails on an unknown name,

Callers 4

BootstrapFunction · 0.95
slash.goFile · 0.80
printModelListMethod · 0.80

Calls

no outgoing calls

Tested by 1