Skip to content

Commit

Permalink
v0.8.1-prerelease5
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Jul 18, 2023
1 parent 862c588 commit 9971a1c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 0 additions & 4 deletions src/services/languageModel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion template/wiki

0 comments on commit 9971a1c

Please sign in to comment.