diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 614d2e5f2..2dd35f857 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -30,6 +30,7 @@ Providing the logs from the browser DevTools console (opened by pressing the F12 **Desktop (please complete the following information):** - OS/Device: [e.g. Windows 11] - Environment: [cloud, local] + - Node.js version (if applicable): [run `node --version` in cmd] - Browser [e.g. chrome, safari] - Generation API [e.g. KoboldAI, OpenAI] - Branch [main, dev] diff --git a/package-lock.json b/package-lock.json index af472b031..94ce9514b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,16 @@ { "name": "sillytavern", - "version": "1.5.1", + "version": "1.5.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sillytavern", - "version": "1.5.1", + "version": "1.5.3", "license": "AGPL-3.0", "dependencies": { "@dqbd/tiktoken": "^1.0.2", + "@zeldafan0225/ai_horde": "^4.0.1", "axios": "^1.3.4", "command-exists": "^1.2.9", "compression": "^1", @@ -34,6 +35,7 @@ "png-chunks-extract": "^1.0.0", "rimraf": "^3.0.2", "sanitize-filename": "^1.6.3", + "uniqolor": "^1.1.0", "webp-converter": "2.3.2", "ws": "^8.13.0", "yargs": "^17.7.1" @@ -417,6 +419,11 @@ "regenerator-runtime": "^0.13.3" } }, + "node_modules/@thunder04/supermap": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@thunder04/supermap/-/supermap-3.0.2.tgz", + "integrity": "sha512-SjlUrfe45mwiAgKZHRRhh+oHRwXsjrCg6NI2HJxymTJt+9SwJw422yse/A5lr5WBpTky6qEce+H6Ec1sytm93A==" + }, "node_modules/@tokenizer/token": { "version": "0.3.0", "license": "MIT" @@ -433,6 +440,16 @@ "node": ">=10.0.0" } }, + "node_modules/@zeldafan0225/ai_horde": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@zeldafan0225/ai_horde/-/ai_horde-4.0.1.tgz", + "integrity": "sha512-mf1cknnBYzKCvgH4KAkdVY3J7sLkR2b79W6I9ZEA2aJCyua28bpZzNaCDSHKKyaNj+0wyHViC+L53X32jw9pMg==", + "dependencies": { + "@thunder04/supermap": "^3.0.2", + "centra": "^2.5.0", + "esbuild": "^0.12.28" + } + }, "node_modules/accepts": { "version": "1.3.8", "license": "MIT", @@ -620,6 +637,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/centra": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/centra/-/centra-2.6.0.tgz", + "integrity": "sha512-dgh+YleemrT8u85QL11Z6tYhegAs3MMxsaWAq/oXeAmYJ7VxL3SI9TZtnfaEvNDMAPolj25FXIb3S+HCI4wQaQ==" + }, "node_modules/cliui": { "version": "8.0.1", "license": "ISC", @@ -871,6 +893,15 @@ "node": ">= 0.8" } }, + "node_modules/esbuild": { + "version": "0.12.29", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.29.tgz", + "integrity": "sha512-w/XuoBCSwepyiZtIRsKsetiLDUVGPVw1E/R3VTFSecIy8UR7Cq3SOtwKHJMFoVqqVG36aGkzh4e8BvpO1Fdc7g==", + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + } + }, "node_modules/escalade": { "version": "3.1.1", "license": "MIT", @@ -1935,6 +1966,11 @@ "version": "0.0.6", "license": "MIT" }, + "node_modules/uniqolor": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/uniqolor/-/uniqolor-1.1.0.tgz", + "integrity": "sha512-j2XyokF24fsj+L5u6fbu4rM3RQc6VWJuAngYM2k0ZdG3yiVxt0smLkps2GmQIYqK8VkELGdM9vFU/HfOkK/zoQ==" + }, "node_modules/unpipe": { "version": "1.0.0", "license": "MIT", diff --git a/package.json b/package.json index b46c5a721..30bf2571b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "dependencies": { "@dqbd/tiktoken": "^1.0.2", + "@zeldafan0225/ai_horde": "^4.0.1", "axios": "^1.3.4", "command-exists": "^1.2.9", "compression": "^1", @@ -25,6 +26,7 @@ "png-chunks-extract": "^1.0.0", "rimraf": "^3.0.2", "sanitize-filename": "^1.6.3", + "uniqolor": "^1.1.0", "webp-converter": "2.3.2", "ws": "^8.13.0", "yargs": "^17.7.1" @@ -40,7 +42,7 @@ "type": "git", "url": "https://github.com/Cohee1207/SillyTavern.git" }, - "version": "1.5.1", + "version": "1.5.3", "scripts": { "start": "node server.js" }, diff --git a/public/TextGen Settings/LLaMa-Precise.settings b/public/TextGen Settings/LLaMa-Precise.settings new file mode 100644 index 000000000..1eedb3d74 --- /dev/null +++ b/public/TextGen Settings/LLaMa-Precise.settings @@ -0,0 +1,15 @@ +{ + "temp": 0.7, + "top_p": 0.1, + "top_k": 40, + "typical_p": 1, + "rep_pen": 1.18, + "no_repeat_ngram_size": 0, + "penalty_alpha": 0, + "num_beams": 1, + "length_penalty": 1, + "min_length": 200, + "encoder_rep_pen": 1, + "do_sample": true, + "early_stopping": false +} \ No newline at end of file diff --git a/public/index.html b/public/index.html index b9214dd96..67f960f47 100644 --- a/public/index.html +++ b/public/index.html @@ -366,6 +366,15 @@ +