From 18114c0a15ebe54de87d854db05f2a8e3958282f Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 15 Sep 2025 18:05:11 +0700 Subject: [PATCH] fix: pathname file install BE --- web-app/src/routes/settings/providers/$providerName.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web-app/src/routes/settings/providers/$providerName.tsx b/web-app/src/routes/settings/providers/$providerName.tsx index 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 dashes const fileName = (