MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / getProviderDescription

Function getProviderDescription

src/components/ProviderPicker.tsx:54–77  ·  view source on GitHub ↗
(provider: ResolvedProviderConfig)

Source from the content-addressed store, hash-verified

52}
53
54function getProviderDescription(provider: ResolvedProviderConfig): string {
55 switch (provider.type) {
56 case 'firstParty':
57 return 'Anthropic direct API and Claude account auth'
58 case 'github-models':
59 return 'GitHub Models via gh auth token or GITHUB_TOKEN'
60 case 'github-copilot':
61 return 'GitHub Copilot account-backed Claude models'
62 case 'bedrock':
63 return 'Amazon Bedrock credentials from your AWS environment'
64 case 'vertex':
65 return 'Google Vertex AI project and credentials'
66 case 'foundry':
67 return 'Azure AI Foundry resource and credentials'
68 case 'anthropic-compatible':
69 return provider.baseURL
70 ? `Custom Anthropic-compatible provider · ${provider.baseURL}`
71 : 'Custom Anthropic-compatible provider'
72 case 'openai-compatible':
73 return provider.baseURL
74 ? `Custom OpenAI-compatible provider · ${provider.baseURL}`
75 : 'Custom OpenAI-compatible provider'
76 }
77}
78
79export function ProviderPicker({
80 initial,

Callers 1

ProviderPickerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected