chore: fix conflict
This commit is contained in:
parent
cbd2651a63
commit
6067ffe107
@ -365,7 +365,9 @@ function ProviderDetail() {
|
|||||||
await installBackend(processedFilePath)
|
await installBackend(processedFilePath)
|
||||||
|
|
||||||
// Extract filename from the selected file path and replace spaces with dashes
|
// 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'), {
|
toast.success(t('settings:backendInstallSuccess'), {
|
||||||
description: `Llamacpp ${fileName} installed`,
|
description: `Llamacpp ${fileName} installed`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user