Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: ci fail

Louis56b3af401ca7
diff --git a/Makefile b/Makefile
index bca38b21a..571774868 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,7 @@ endif
yarn test
yarn copy:assets:tauri
yarn build:icon
+ yarn build:mlx-server
cargo test --manifest-path src-tauri/Cargo.toml --no-default-features --features test-tauri -- --test-threads=1
cargo test --manifest-path src-tauri/plugins/tauri-plugin-hardware/Cargo.toml
cargo test --manifest-path src-tauri/plugins/tauri-plugin-llamacpp/Cargo.toml
diff --git a/web-app/src/lib/model-factory.ts b/web-app/src/lib/model-factory.ts
index de5977e78..f0f37f55c 100644
--- a/web-app/src/lib/model-factory.ts
+++ b/web-app/src/lib/model-factory.ts
@@ -245,7 +245,7 @@ export class ModelFactory {
Origin: 'tauri://localhost',
}),
url: ({ path }) => {
- const url = new URL(`http://localhost:${sessionInfo.port}/v1/${path}`)
+ const url = new URL(`http://localhost:${sessionInfo.port}/v1${path}`)
return url.toString()
},