MCPcopy Create free account
hub / github.com/continuedev/continue / getModelClass

Function getModelClass

core/config/yaml/models.ts:44–48  ·  view source on GitHub ↗
(
  model: ModelConfig,
)

Source from the content-addressed store, hash-verified

42}
43
44function getModelClass(
45 model: ModelConfig,
46): (typeof LLMClasses)[number] | undefined {
47 return LLMClasses.find((llm) => llm.providerName === model.provider);
48}
49
50async function modelConfigToBaseLLM({
51 model,

Callers 1

modelConfigToBaseLLMFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected