Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
41
export
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
main
Function · 0.90
Calls
1
isCloudModel
Function · 0.85
Tested by
no test coverage detected