MCPcopy Create free account
hub / github.com/coder/coder / canonicalModelID

Function canonicalModelID

coderd/x/chatd/chatprovider/chatprovider.go:579–581  ·  view source on GitHub ↗
(provider, modelID string)

Source from the content-addressed store, hash-verified

577}
578
579func canonicalModelID(provider, modelID string) string {
580 return NormalizeProvider(provider) + ":" + strings.TrimSpace(modelID)
581}
582
583func orderProviders(providerSet map[string]struct{}) []string {
584 if len(providerSet) == 0 {

Callers 1

newChatModelFunction · 0.85

Calls 1

NormalizeProviderFunction · 0.85

Tested by

no test coverage detected