MCPcopy 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
330function slugForFilename(model: string): string {
331 return model.replace(/[/\\:*?"<>|]/g, '-').replace(/\s+/g, '_')
332}
333
334interface RunLogPayload {
335 writtenAt: string

Callers 1

writeRunLogFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected