Update brainapi.mjs
This commit is contained in:
parent
681412952d
commit
603f80a3ea
1 changed files with 3 additions and 3 deletions
|
@ -171,10 +171,10 @@ export class ConsciousnessSimulator {
|
||||||
AI MEMORY CONTEXT ARRAY:
|
AI MEMORY CONTEXT ARRAY:
|
||||||
${JSON.stringify(this.memoryLog)}` }]
|
${JSON.stringify(this.memoryLog)}` }]
|
||||||
});
|
});
|
||||||
emotion = emotion.message.content.toLowerCase()
|
emote = emotion.message.content.toLowerCase()
|
||||||
this.currentEmotion = emotion
|
this.currentEmotion = emote
|
||||||
this.logAIContextMemory()
|
this.logAIContextMemory()
|
||||||
return emotion
|
return emote
|
||||||
} catch {
|
} catch {
|
||||||
return "happy"
|
return "happy"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue