MCPcopy Create free account
hub / github.com/echoVic/blade-code / isProviderSupported

Function isProviderSupported

src/config/defaults.ts:133–135  ·  view source on GitHub ↗
(provider: string)

Source from the content-addressed store, hash-verified

131 * 检查提供商是否受支持
132 */
133export function isProviderSupported(provider: string): provider is 'qwen' | 'volcengine' {
134 return getSupportedProviders().includes(provider);
135}
136
137/**
138 * 从环境变量加载配置

Callers 3

configCommandFunction · 0.85
agentLlmCommandFunction · 0.85
llmCommandFunction · 0.85

Calls 1

getSupportedProvidersFunction · 0.85

Tested by

no test coverage detected