MCPcopy Create free account
hub / github.com/simstudioai/sim / tokenizeModelName

Function tokenizeModelName

apps/sim/app/(landing)/models/utils.ts:255–260  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

253}
254
255function tokenizeModelName(value: string): string[] {
256 return value
257 .replace(/[./:_]+/g, '-')
258 .split('-')
259 .filter(Boolean)
260}
261
262function mergeVersionTokens(tokens: string[]): string[] {
263 const merged: string[] = []

Callers 2

formatModelDisplayNameFunction · 0.85
getRelatedModelsFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected