mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-16 20:25:37 +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) {
|
if (load_mem) {
|
||||||
save_data = this.history.load();
|
save_data = this.history.load();
|
||||||
}
|
}
|
||||||
console.log(save_data);
|
|
||||||
let taskStart = null;
|
let taskStart = null;
|
||||||
if (save_data) {
|
if (save_data) {
|
||||||
taskStart = save_data.taskStart;
|
taskStart = save_data.taskStart;
|
||||||
|
|
|
@ -337,8 +337,6 @@ export class Prompter {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
generation = await this.chat_model.sendRequest(messages, prompt);
|
generation = await this.chat_model.sendRequest(messages, prompt);
|
||||||
let task_id = this.agent.task.task_id
|
|
||||||
console.log(task_id)
|
|
||||||
if (typeof generation !== 'string') {
|
if (typeof generation !== 'string') {
|
||||||
console.error('Error: Generated response is not a string', generation);
|
console.error('Error: Generated response is not a string', generation);
|
||||||
throw new Error('Generated response is not a string');
|
throw new Error('Generated response is not a string');
|
||||||
|
|
Loading…
Add table
Reference in a new issue