support dial translate

This commit is contained in:
Quan HL
2025-02-03 22:29:05 +07:00
parent 7105453d81
commit 1e9dd31f67
3 changed files with 68 additions and 1 deletions

View File

@@ -28,6 +28,12 @@ class TaskLlm extends Task {
get ep() { return this.cs.ep; }
configureDialTranslate(opts) {
this.logger.debug(opts, 'TaskLlm:configureDialTranslate');
this.llm.configureDialTranslate(opts);
}
async exec(cs, {ep}) {
await super.exec(cs, {ep});
await this.llm.exec(cs, {ep});