Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simstudioai/sim
/ utils.ts
File
utils.ts
apps/sim/app/(landing)/models/utils.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ ComponentType } from
'react'
2
import
{
type
ModelCapabilities, PROVIDER_DEFINITIONS } from
'@/providers/models'
3
4
const
PROVIDER_PREFIXES: Record<string, string[]> = {
Callers
nothing calls this directly
Calls
8
buildCapabilityTags
Function · 0.85
stripProviderPrefix
Function · 0.85
buildBestForLine
Function · 0.85
formatModelDisplayName
Function · 0.85
buildModelSummary
Function · 0.85
assertUniqueGeneratedRoutes
Function · 0.85
join
Method · 0.80
slugify
Function · 0.70
Tested by
no test coverage detected