Compare commits
1 Commits
dev
...
fix/path-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9af984db9 |
@ -517,41 +517,41 @@ __metadata:
|
||||
|
||||
"@janhq/core@file:../../core/package.tgz::locator=%40janhq%2Fassistant-extension%40workspace%3Aassistant-extension":
|
||||
version: 0.1.10
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=9fbce2&locator=%40janhq%2Fassistant-extension%40workspace%3Aassistant-extension"
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=d923df&locator=%40janhq%2Fassistant-extension%40workspace%3Aassistant-extension"
|
||||
dependencies:
|
||||
rxjs: "npm:^7.8.1"
|
||||
ulidx: "npm:^2.3.0"
|
||||
checksum: 10c0/e59c11201e0e95ea4ed567e3a34921c7fd2901cf32d07d13bdc8254992b6a4b51de7c1e3be633a3c2f558fe533065fa69455b065230dac87f31cb9b86649e932
|
||||
checksum: 10c0/a80740234bbd4f157d8af8c8446fbc8af45f6069d1d912ed0cb40f81380b2d281d9053befa0fc7f6c1f22f53d99eacea14bad0b2ff6e03232846c2dba261e95f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@janhq/core@file:../../core/package.tgz::locator=%40janhq%2Fconversational-extension%40workspace%3Aconversational-extension":
|
||||
version: 0.1.10
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=9fbce2&locator=%40janhq%2Fconversational-extension%40workspace%3Aconversational-extension"
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=d923df&locator=%40janhq%2Fconversational-extension%40workspace%3Aconversational-extension"
|
||||
dependencies:
|
||||
rxjs: "npm:^7.8.1"
|
||||
ulidx: "npm:^2.3.0"
|
||||
checksum: 10c0/e59c11201e0e95ea4ed567e3a34921c7fd2901cf32d07d13bdc8254992b6a4b51de7c1e3be633a3c2f558fe533065fa69455b065230dac87f31cb9b86649e932
|
||||
checksum: 10c0/a80740234bbd4f157d8af8c8446fbc8af45f6069d1d912ed0cb40f81380b2d281d9053befa0fc7f6c1f22f53d99eacea14bad0b2ff6e03232846c2dba261e95f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@janhq/core@file:../../core/package.tgz::locator=%40janhq%2Fdownload-extension%40workspace%3Adownload-extension":
|
||||
version: 0.1.10
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=9fbce2&locator=%40janhq%2Fdownload-extension%40workspace%3Adownload-extension"
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=d923df&locator=%40janhq%2Fdownload-extension%40workspace%3Adownload-extension"
|
||||
dependencies:
|
||||
rxjs: "npm:^7.8.1"
|
||||
ulidx: "npm:^2.3.0"
|
||||
checksum: 10c0/e59c11201e0e95ea4ed567e3a34921c7fd2901cf32d07d13bdc8254992b6a4b51de7c1e3be633a3c2f558fe533065fa69455b065230dac87f31cb9b86649e932
|
||||
checksum: 10c0/a80740234bbd4f157d8af8c8446fbc8af45f6069d1d912ed0cb40f81380b2d281d9053befa0fc7f6c1f22f53d99eacea14bad0b2ff6e03232846c2dba261e95f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@janhq/core@file:../../core/package.tgz::locator=%40janhq%2Fllamacpp-extension%40workspace%3Allamacpp-extension":
|
||||
version: 0.1.10
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=9fbce2&locator=%40janhq%2Fllamacpp-extension%40workspace%3Allamacpp-extension"
|
||||
resolution: "@janhq/core@file:../../core/package.tgz#../../core/package.tgz::hash=d923df&locator=%40janhq%2Fllamacpp-extension%40workspace%3Allamacpp-extension"
|
||||
dependencies:
|
||||
rxjs: "npm:^7.8.1"
|
||||
ulidx: "npm:^2.3.0"
|
||||
checksum: 10c0/e59c11201e0e95ea4ed567e3a34921c7fd2901cf32d07d13bdc8254992b6a4b51de7c1e3be633a3c2f558fe533065fa69455b065230dac87f31cb9b86649e932
|
||||
checksum: 10c0/a80740234bbd4f157d8af8c8446fbc8af45f6069d1d912ed0cb40f81380b2d281d9053befa0fc7f6c1f22f53d99eacea14bad0b2ff6e03232846c2dba261e95f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -355,14 +355,13 @@ function ProviderDetail() {
|
||||
],
|
||||
})
|
||||
|
||||
console.log(selectedFile, 'selectedFile')
|
||||
|
||||
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 = (
|
||||
|
||||
23
yarn.lock
23
yarn.lock
@ -3590,6 +3590,7 @@ __metadata:
|
||||
react-textarea-autosize: "npm:^8.5.9"
|
||||
rehype-katex: "npm:^7.0.1"
|
||||
rehype-raw: "npm:^7.0.0"
|
||||
remark-breaks: "npm:^4.0.0"
|
||||
remark-emoji: "npm:^5.0.1"
|
||||
remark-gfm: "npm:^4.0.1"
|
||||
remark-math: "npm:^6.0.0"
|
||||
@ -13625,6 +13626,7 @@ __metadata:
|
||||
cpx: "npm:^1.5.0"
|
||||
cross-env: "npm:^7.0.3"
|
||||
husky: "npm:^9.1.5"
|
||||
jsdom: "npm:^26.1.0"
|
||||
rimraf: "npm:^3.0.2"
|
||||
run-script-os: "npm:^1.1.6"
|
||||
tar: "npm:^4.4.19"
|
||||
@ -14549,6 +14551,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mdast-util-newline-to-break@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "mdast-util-newline-to-break@npm:2.0.0"
|
||||
dependencies:
|
||||
"@types/mdast": "npm:^4.0.0"
|
||||
mdast-util-find-and-replace: "npm:^3.0.0"
|
||||
checksum: 10c0/756a5660b0a821e0d6d6a0b2d9b13ac32e41cc028c485a91bccf6300977e2557236c6cc93dbd55c68b785f1ed6eae69209a4ffe182533cd1cdfda369021bebd2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mdast-util-phrasing@npm:^4.0.0":
|
||||
version: 4.1.0
|
||||
resolution: "mdast-util-phrasing@npm:4.1.0"
|
||||
@ -17295,6 +17307,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"remark-breaks@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "remark-breaks@npm:4.0.0"
|
||||
dependencies:
|
||||
"@types/mdast": "npm:^4.0.0"
|
||||
mdast-util-newline-to-break: "npm:^2.0.0"
|
||||
unified: "npm:^11.0.0"
|
||||
checksum: 10c0/d7b319a7993b54c5d574e9255080c5de68cfa24f993873b0ee296af13f478521c41d4b7ae0fc14b4607ea70c8f6967e998ab7a467de13139141e66a1a34cb6be
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"remark-emoji@npm:^5.0.1":
|
||||
version: 5.0.1
|
||||
resolution: "remark-emoji@npm:5.0.1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user