Final changes FOR SURE

This commit is contained in:
The Ghost of FOSS' Past 2024-10-02 17:36:03 -05:00
parent 71ab0488f5
commit 54153bc991

View file

@ -219,19 +219,21 @@ async function learningLoop() {
async function talkLoop() {
while (true) {
let q = await ask(`To ${modelID}: `);
userAGIInput += await `
delay(256);
let q = ask(`To ${modelID}: `);
userAGIInput += `
USER: ${q}`;
let a = await ollama.chat({
model: `${modelID}`,
messages: [{ role: 'user', content: `${q}` }],
});
userAGIInput += await `
userAGIInput += `
AI: ${a.message.content}`;
console.log(`${a.message.content}`);
await generateModelfile(contexts);
await runPublishCommands();
delay(1000);
}
}