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

Function getModelsWithDescriptions

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

Source from the content-addressed store, hash-verified

225 * 获取所有模型及其说明
226 */
227export function getModelsWithDescriptions(
228 provider: 'qwen' | 'volcengine'
229): Array<{ id: string; description: string }> {
230 const config = getProviderConfig(provider);
231 return config.supportedModels.map(modelId => ({
232 id: modelId,
233 description: getModelDescription(provider, modelId),
234 }));
235}

Callers 2

configCommandFunction · 0.85
llmCommandFunction · 0.85

Calls 2

getProviderConfigFunction · 0.85
getModelDescriptionFunction · 0.85

Tested by

no test coverage detected