Update agent.js

This commit is contained in:
uukelele-scratch 2025-02-12 16:28:19 +00:00 committed by GitHub
parent 2d956ccddb
commit 043011e20a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,7 @@ import { addViewer } from './viewer.js';
import settings from '../../settings.js';
import { serverProxy } from './agent_proxy.js';
import { Task } from './tasks.js';
import { say } from './speak.js';
export class Agent {
async start(profile_fp, load_mem=false, init_message=null, count_id=0, task_path=null, task_id=null) {
@ -357,6 +358,7 @@ export class Agent {
}
}
else {
say(message);
this.bot.chat(message);
}
}