mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-01 06:05:19 +02:00
clean logs
This commit is contained in:
parent
89cf66445a
commit
0b20d94f7d
2 changed files with 0 additions and 3 deletions
|
@ -55,7 +55,6 @@ export class Agent {
|
|||
if (load_mem) {
|
||||
save_data = this.history.load();
|
||||
}
|
||||
console.log(save_data);
|
||||
let taskStart = null;
|
||||
if (save_data) {
|
||||
taskStart = save_data.taskStart;
|
||||
|
|
|
@ -337,8 +337,6 @@ export class Prompter {
|
|||
|
||||
try {
|
||||
generation = await this.chat_model.sendRequest(messages, prompt);
|
||||
let task_id = this.agent.task.task_id
|
||||
console.log(task_id)
|
||||
if (typeof generation !== 'string') {
|
||||
console.error('Error: Generated response is not a string', generation);
|
||||
throw new Error('Generated response is not a string');
|
||||
|
|
Loading…
Add table
Reference in a new issue