diff --git a/web-app/src/lib/utils.ts b/web-app/src/lib/utils.ts index ed2ec2bab..3d896b883 100644 --- a/web-app/src/lib/utils.ts +++ b/web-app/src/lib/utils.ts @@ -157,5 +157,5 @@ export function formatDuration(startTime: number, endTime?: number): string { } export function sanitizeModelId(modelId: string): string { - return modelId.replace(/[^a-zA-Z0-9/_\-.]/g, '').replace(".", "_") + return modelId.replace(/[^a-zA-Z0-9/_\-.]/g, '').replace(/\./g, "_") }