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

Function aiProviderDisplayName

coderd/x/chatd/integration_test.go:52–61  ·  view source on GitHub ↗
(providerType codersdk.AIProviderType)

Source from the content-addressed store, hash-verified

50}
51
52func aiProviderDisplayName(providerType codersdk.AIProviderType) string {
53 switch providerType {
54 case codersdk.AIProviderTypeAnthropic:
55 return "Anthropic"
56 case codersdk.AIProviderTypeOpenAI:
57 return "OpenAI"
58 default:
59 return string(providerType)
60 }
61}
62
63// TestAnthropicWebSearchRoundTrip is an integration test that verifies
64// provider-executed tool results (web_search) survive the full

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected