mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
v0.8.1-prerelease5
This commit is contained in:
parent
862c588495
commit
9971a1c38d
3 changed files with 2 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"name": "tidgi",
|
||||
"productName": "TidGi",
|
||||
"description": "Customizable personal knowledge-base with Github as unlimited storage and blogging platform.",
|
||||
"version": "0.8.1-prerelease4",
|
||||
"version": "0.8.1-prerelease5",
|
||||
"license": "MPL 2.0",
|
||||
"scripts": {
|
||||
"start": "pnpm run clean && pnpm run init:git-submodule && pnpm run start:without-clean",
|
||||
|
|
|
|||
|
|
@ -125,14 +125,10 @@ export class LanguageModel implements ILanguageModelService {
|
|||
const texts = { timeout: i18n.t('LanguageModel.GenerationTimeout') };
|
||||
switch (runner) {
|
||||
case LanguageModelRunner.llamaCpp: {
|
||||
// DEBUG: console modelPath
|
||||
console.log(`modelPath`, modelPath);
|
||||
observable = worker.runLLama({ completionOptions, loadConfig: { modelPath, ...config }, conversationID }, texts);
|
||||
break;
|
||||
}
|
||||
case LanguageModelRunner.rwkvCpp: {
|
||||
// DEBUG: console RWKV_CPP_TOKENIZER_PATH
|
||||
console.log(`RWKV_CPP_TOKENIZER_PATH`, RWKV_CPP_TOKENIZER_PATH);
|
||||
observable = worker.runRwkv({ completionOptions, loadConfig: { modelPath, tokenizerPath: RWKV_CPP_TOKENIZER_PATH, ...config }, conversationID }, texts);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit cc2b396b66621052ae5f339d8f8cd9ce6df07885
|
||||
Subproject commit 29b57e0f470793d7d8a7dff50a77143b8cac9a24
|
||||
Loading…
Add table
Add a link
Reference in a new issue