Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TanStack/ai
/ slugForFilename
Function
slugForFilename
packages/ai-code-mode/models-eval/run-eval.ts:330–332 ·
view source on GitHub ↗
(model: string)
Source
from the content-addressed store, hash-verified
328
}
329
330
function
slugForFilename(model: string): string {
331
return
model.replace(/[/\\:*?"<>|]/g,
'-'
).replace(/\s+/g,
'_'
)
332
}
333
334
interface
RunLogPayload {
335
writtenAt: string
Callers
1
writeRunLog
Function · 0.85
Calls
1
replace
Method · 0.65
Tested by
no test coverage detected