MCPcopy Index your code
hub / github.com/coder/coder / ProviderDisplayName

Function ProviderDisplayName

coderd/x/chatd/chatprovider/chatprovider.go:72–78  ·  view source on GitHub ↗

ProviderDisplayName returns a default display name for a provider.

(provider string)

Source from the content-addressed store, hash-verified

70
71// ProviderDisplayName returns a default display name for a provider.
72func ProviderDisplayName(provider string) string {
73 normalized := NormalizeProvider(provider)
74 if displayName, ok := providerDisplayNameByName[normalized]; ok {
75 return displayName
76 }
77 return normalized
78}
79
80// ProviderAllowsAmbientCredentials reports whether provider can use
81// ambient credentials from the Coder server instead of an explicit

Calls 1

NormalizeProviderFunction · 0.85