Update brainapi.mjs
This commit is contained in:
parent
5f178a1c44
commit
a970fd146d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export class ConsciousnessSimulator {
|
|||
return ollama
|
||||
}
|
||||
|
||||
redefineOpinions(newValues) {
|
||||
async redefineOpinions(newValues) {
|
||||
for (const key in this.opinions) {
|
||||
if (this.opinions.hasOwnProperty(key) && newValues[key]) {
|
||||
this.opinions[key] = newValues[key];
|
||||
|
|
Loading…
Reference in a new issue