Add preset settings for TextGen. Thanks oobabooga for compiling them!

This commit is contained in:
SillyLossy
2023-03-23 22:17:44 +02:00
parent 321ecbec77
commit 9eebe6ce61
20 changed files with 325 additions and 20 deletions

View File

@ -2047,8 +2047,6 @@ async function getSettings(type) {
//Load AI model config settings (temp, context length, anchors, and anchor order)
loadTextGenSettings(settings.textgenerationwebui_settings);
amount_gen = settings.amount_gen;
if (settings.max_context !== undefined)
max_context = parseInt(settings.max_context);
@ -2079,11 +2077,15 @@ async function getSettings(type) {
//console.log('getsettings calling showswipebtns');
showSwipeButtons();
// Kobold
loadKoboldSettings(settings);
//Novel
// Novel
loadNovelSettings(settings);
// TextGen
loadTextGenSettings(settings);
// OpenAI
loadOpenAISettings(data, settings);