Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: fix conflict

Faisal Amir6067ffe10708
diff --git a/web-app/src/routes/settings/providers/$providerName.tsx b/web-app/src/routes/settings/providers/$providerName.tsx
index 539b4fa72..b5a30acdf 100644
--- a/web-app/src/routes/settings/providers/$providerName.tsx
+++ b/web-app/src/routes/settings/providers/$providerName.tsx
@@ -365,7 +365,9 @@ function ProviderDetail() {
await installBackend(processedFilePath)
// Extract filename from the selected file path and replace spaces with dashes
- const fileName = (selectedFile.split(/[/\\]/).pop() || selectedFile).replace(/\s+/g, '-')
+ const fileName = (
+ selectedFile.split(/[/\\]/).pop() || selectedFile
+ ).replace(/\s+/g, '-')
toast.success(t('settings:backendInstallSuccess'), {
description: `Llamacpp ${fileName} installed`,