forgor to actually implement token rotation 💀

pull/1/head
Drake 2 years ago
parent 70b195463c
commit f16eb7dd24

@ -47,6 +47,10 @@ class HuggingFaceAI {
},
method: "POST",
});
this.tokenNum++
if (this.tokenNum > this.tokens.length - 1) {
this.tokenNum = 0
}
return await res.json();
}

Loading…
Cancel
Save