Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: pathname file install BE
Faisal Amir18114c0a15eb
diff --git a/web-app/src/routes/settings/providers/$providerName.tsx b/web-app/src/routes/settings/providers/$providerName.tsxindex b5a30acdf..533536281 100644--- a/web-app/src/routes/settings/providers/$providerName.tsx+++ b/web-app/src/routes/settings/providers/$providerName.tsx@@ -357,12 +357,9 @@ function ProviderDetail() {if (selectedFile && typeof selectedFile === 'string') {// Process the file path: replace spaces with dashes and convert to lowercase- const processedFilePath = selectedFile- .replace(/\s+/g, '-')- .toLowerCase()// Install the backend using the llamacpp extension- await installBackend(processedFilePath)+ await installBackend(selectedFile)// Extract filename from the selected file path and replace spaces with dashesconst fileName = (