support whisper instructions (#1198)

* support whisper instructions

* wip

* update speech utils and verb specification
This commit is contained in:
Hoan Luu Huu
2025-05-13 20:44:00 +07:00
committed by GitHub
parent d7884a837a
commit 9585018147
4 changed files with 73 additions and 72 deletions

View File

@@ -253,7 +253,8 @@ class TaskSay extends TtsTask {
voice,
engine,
model: this.model || this.model_id,
text
text,
instructions: this.instructions
}).catch((err) => this.logger.info({err}, 'Error adding file to cache'));
}