mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-31 11:35:37 +01:00
Fix objective gen toastr messsage
This commit is contained in:
parent
78825352e5
commit
5ea30d9d4d
@ -102,8 +102,8 @@ async function generateTasks() {
|
|||||||
}
|
}
|
||||||
updateUiTaskList();
|
updateUiTaskList();
|
||||||
setCurrentTask();
|
setCurrentTask();
|
||||||
console.info(`Response for Objective: '${taskTree.description}' was \n'${taskResponse}', \nwhich created tasks \n${JSON.stringify(globalTasks.map(v => {return v.toSaveState()}), null, 2)} `)
|
console.info(`Response for Objective: '${currentObjective.description}' was \n'${taskResponse}', \nwhich created tasks \n${JSON.stringify(currentObjective.children.map(v => {return v.toSaveState()}), null, 2)} `)
|
||||||
toastr.success(`Generated ${taskTree.length} tasks`, 'Done!');
|
toastr.success(`Generated ${currentObjective.children.length} tasks`, 'Done!');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call Quiet Generate to check if a task is completed
|
// Call Quiet Generate to check if a task is completed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user