Skip to content

Commit

Permalink
chore: update local module link to reflect core update
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-menlo committed Nov 22, 2023
1 parent ca3c6f7 commit 081c37b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/inference-plugin/nitro/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.8
0.1.11
4 changes: 3 additions & 1 deletion plugins/inference-plugin/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function loadLLMModel(): Promise<Response> {
llama_model_path: currentModelFile,
ctx_len: 2048,
ngl: 100,
cont_batching: false,
embedding: false, // Always enable embedding mode on
};

Expand Down Expand Up @@ -117,7 +118,8 @@ async function validateModelStatus(): Promise<InitModelResponse> {
return { error: "Model loading failed" };
})
.catch((err) => {
return { error: `Model loading failed. ${err.message}` };
log.error("Model loading failed" + err.toString());
return { error: `Model loading failed.` };
});
}

Expand Down
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@headlessui/react": "^1.7.15",
"@heroicons/react": "^2.0.18",
"@hookform/resolvers": "^3.3.2",
"@janhq/core": "./core",
"@janhq/uikit": "./uikit",
"@janhq/core": "link:./core",
"@janhq/uikit": "link:./uikit",
"autoprefixer": "10.4.16",
"class-variance-authority": "^0.7.0",
"framer-motion": "^10.16.4",
Expand Down

0 comments on commit 081c37b

Please sign in to comment.