Update brain.mjs
This commit is contained in:
parent
699bb7df77
commit
27ff7547ef
1 changed files with 0 additions and 2 deletions
|
@ -37,7 +37,6 @@ class ConsciousnessApp {
|
|||
|
||||
// Helper function for asking questions
|
||||
async asker() {
|
||||
return new Promise((resolve) => {
|
||||
this.rl.question('<Query>: ', (query) => {
|
||||
if (query == "exit" || query == "quit") {
|
||||
console.log("Goodbye!")
|
||||
|
@ -46,7 +45,6 @@ class ConsciousnessApp {
|
|||
this.userTalks(query).then(resolve); // Call userTalks and resolve when done
|
||||
this.asker()
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
async intentUpdater() {
|
||||
|
|
Loading…
Reference in a new issue