Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
Apply suggestion from @ellipsis-dev[bot]
Louis83bb765bcce0
diff --git a/web-app/src/lib/utils.ts b/web-app/src/lib/utils.tsindex 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, "_")}