Update brainapi.mjs
This commit is contained in:
parent
39b3266b53
commit
33cdc3c565
1 changed files with 1 additions and 2 deletions
|
@ -270,8 +270,7 @@ export class ConsciousnessSimulator {
|
||||||
// Method to simulate consciousness
|
// Method to simulate consciousness
|
||||||
async simulateConsciousness(prompt) {
|
async simulateConsciousness(prompt) {
|
||||||
console.log(`Current emotion: ${this.currentEmotion} ${this.emotions[this.randEmotions.indexOf(this.currentEmotion)]}`);
|
console.log(`Current emotion: ${this.currentEmotion} ${this.emotions[this.randEmotions.indexOf(this.currentEmotion)]}`);
|
||||||
console.log(`Current opinion on coding: ${this.opinions.coding}`);
|
console.log(`Current opinions: ${this.opinions}`);
|
||||||
console.log(`Current opinion on writing: ${this.opinions.writing}`);
|
|
||||||
const thought = await this.generateThought(
|
const thought = await this.generateThought(
|
||||||
prompt || "Generate a thought."
|
prompt || "Generate a thought."
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue