Final changes FOR SURE
This commit is contained in:
parent
71ab0488f5
commit
54153bc991
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue