mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-15 15:10:31 -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",
|
"name": "tidgi",
|
||||||
"productName": "TidGi",
|
"productName": "TidGi",
|
||||||
"description": "Customizable personal knowledge-base with Github as unlimited storage and blogging platform.",
|
"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",
|
"license": "MPL 2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "pnpm run clean && pnpm run init:git-submodule && pnpm run start:without-clean",
|
"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') };
|
const texts = { timeout: i18n.t('LanguageModel.GenerationTimeout') };
|
||||||
switch (runner) {
|
switch (runner) {
|
||||||
case LanguageModelRunner.llamaCpp: {
|
case LanguageModelRunner.llamaCpp: {
|
||||||
// DEBUG: console modelPath
|
|
||||||
console.log(`modelPath`, modelPath);
|
|
||||||
observable = worker.runLLama({ completionOptions, loadConfig: { modelPath, ...config }, conversationID }, texts);
|
observable = worker.runLLama({ completionOptions, loadConfig: { modelPath, ...config }, conversationID }, texts);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case LanguageModelRunner.rwkvCpp: {
|
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);
|
observable = worker.runRwkv({ completionOptions, loadConfig: { modelPath, tokenizerPath: RWKV_CPP_TOKENIZER_PATH, ...config }, conversationID }, texts);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit cc2b396b66621052ae5f339d8f8cd9ce6df07885
|
Subproject commit 29b57e0f470793d7d8a7dff50a77143b8cac9a24
|
||||||
Loading…
Add table
Add a link
Reference in a new issue