MCPcopy
hub / github.com/TanStack/ai / getModelCategory

Function getModelCategory

packages/ai-code-mode/models-eval/eval-config.ts:41–43  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

39}
40
41export function getModelCategory(model: string): ModelCategory {
42 return isCloudModel(model) ? 'cloud' : 'local'
43}
44
45/**
46 * Default models to benchmark (see pull-models.sh for Ollama pulls).

Callers 1

mainFunction · 0.90

Calls 1

isCloudModelFunction · 0.85

Tested by

no test coverage detected