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

Function getProviderConfig

src/config/defaults.ts:115–121  ·  view source on GitHub ↗
(provider: 'qwen' | 'volcengine')

Source from the content-addressed store, hash-verified

113 * 获取指定提供商的配置
114 */
115export function getProviderConfig(provider: 'qwen' | 'volcengine'): LLMProviderConfig {
116 const config = DEFAULT_CONFIG.llm[provider];
117 if (!config) {
118 throw new Error(`不支持的 LLM 提供商: ${provider}`);
119 }
120 return config;
121}
122
123/**
124 * 获取所有支持的提供商列表

Callers 7

configCommandFunction · 0.85
agentLlmCommandFunction · 0.85
llmCommandFunction · 0.85
initMethod · 0.85
validateApiKeyFunction · 0.85
setCurrentProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected