From ef4dcb7d9e98026fda8ab69595aaaddff37cf43f Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 16 Dec 2024 22:10:58 +0700 Subject: [PATCH] chore: bump cortex and engine --- extensions/inference-cortex-extension/bin/version.txt | 2 +- extensions/inference-cortex-extension/download.bat | 4 ++-- extensions/inference-cortex-extension/download.sh | 2 +- extensions/inference-cortex-extension/rollup.config.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/inference-cortex-extension/bin/version.txt b/extensions/inference-cortex-extension/bin/version.txt index a6a3a43c3..25837a183 100644 --- a/extensions/inference-cortex-extension/bin/version.txt +++ b/extensions/inference-cortex-extension/bin/version.txt @@ -1 +1 @@ -1.0.4 \ No newline at end of file +1.0.5-rc1 diff --git a/extensions/inference-cortex-extension/download.bat b/extensions/inference-cortex-extension/download.bat index 7d9a9213a..0e7eef20e 100644 --- a/extensions/inference-cortex-extension/download.bat +++ b/extensions/inference-cortex-extension/download.bat @@ -2,7 +2,7 @@ set BIN_PATH=./bin set SHARED_PATH=./../../electron/shared set /p CORTEX_VERSION=<./bin/version.txt -set ENGINE_VERSION=0.1.40 +set ENGINE_VERSION=0.1.42 @REM Download cortex.llamacpp binaries set DOWNLOAD_URL=https://github.com/janhq/cortex.llamacpp/releases/download/v%ENGINE_VERSION%/cortex.llamacpp-%ENGINE_VERSION%-windows-amd64 @@ -38,4 +38,4 @@ for %%F in (%SUBFOLDERS%) do ( ) ) -echo DLL files moved successfully. \ No newline at end of file +echo DLL files moved successfully. diff --git a/extensions/inference-cortex-extension/download.sh b/extensions/inference-cortex-extension/download.sh index f62e5961b..b0f3b36e3 100755 --- a/extensions/inference-cortex-extension/download.sh +++ b/extensions/inference-cortex-extension/download.sh @@ -2,7 +2,7 @@ # Read CORTEX_VERSION CORTEX_VERSION=$(cat ./bin/version.txt) -ENGINE_VERSION=0.1.40 +ENGINE_VERSION=0.1.42 CORTEX_RELEASE_URL="https://github.com/janhq/cortex.cpp/releases/download" ENGINE_DOWNLOAD_URL="https://github.com/janhq/cortex.llamacpp/releases/download/v${ENGINE_VERSION}/cortex.llamacpp-${ENGINE_VERSION}" CUDA_DOWNLOAD_URL="https://github.com/janhq/cortex.llamacpp/releases/download/v${ENGINE_VERSION}" diff --git a/extensions/inference-cortex-extension/rollup.config.ts b/extensions/inference-cortex-extension/rollup.config.ts index 8fa61e91d..266281a75 100644 --- a/extensions/inference-cortex-extension/rollup.config.ts +++ b/extensions/inference-cortex-extension/rollup.config.ts @@ -120,7 +120,7 @@ export default [ SETTINGS: JSON.stringify(defaultSettingJson), CORTEX_API_URL: JSON.stringify('http://127.0.0.1:39291'), CORTEX_SOCKET_URL: JSON.stringify('ws://127.0.0.1:39291'), - CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.40'), + CORTEX_ENGINE_VERSION: JSON.stringify('v0.1.42'), }), // Allow json resolution json(),