Support Aws S2S

This commit is contained in:
Quan HL
2025-06-09 15:01:25 +07:00
parent e686a11808
commit f8a69b4b79
3 changed files with 374 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ const TaskLlmUltravox_S2S = require('./llms/ultravox_s2s');
const TaskLlmElevenlabs_S2S = require('./llms/elevenlabs_s2s');
const TaskLlmGoogle_S2S = require('./llms/google_s2s');
const LlmMcpService = require('../../utils/llm-mcp');
const TaskLlmAws_S2S = require('./llms/aws_s2s');
class TaskLlm extends Task {
constructor(logger, opts) {
@@ -85,6 +86,10 @@ class TaskLlm extends Task {
llm = new TaskLlmGoogle_S2S(this.logger, this.data, this);
break;
case 'aws':
llm = new TaskLlmAws_S2S(this.logger, this.data, this);
break;
default:
throw new Error(`Unsupported vendor ${this.vendor} for LLM`);
}