Try to fix swipes + multigen. Fix horde validation error

This commit is contained in:
SillyLossy
2023-04-30 17:22:39 +03:00
parent 01cda27807
commit 564caf0621
2 changed files with 12 additions and 9 deletions

View File

@@ -8,6 +8,7 @@ export {
loadHordeSettings,
adjustHordeGenerationParams,
getHordeModels,
MIN_AMOUNT_GEN,
}
let models = [];
@@ -21,6 +22,7 @@ let horde_settings = {
const MAX_RETRIES = 100;
const CHECK_INTERVAL = 3000;
const MIN_AMOUNT_GEN = 16;
async function getWorkers() {
const response = await fetch('https://horde.koboldai.net/api/v2/workers?type=text');