wow i forgot to loop it.

This commit is contained in:
The Ghost of FOSS' Past 2024-10-02 15:22:47 -05:00
parent bf3e13c212
commit f3977438cb

View file

@ -244,6 +244,7 @@ async function learningLoop() {
}
async function talkLoop() {
while (true) {
let q = await ask(`To ${modelID}: `)
userAGIInput += `USER: ${q}`;
let a = await ollama.chat({
@ -254,6 +255,7 @@ async function talkLoop() {
console.log(`${a}`)
generateModelfile(contexts)
return [q, a]
}
}