From f4e68d0ea1a702806fe38d60ec62cc270fe0faf1 Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Sat, 11 Jan 2025 20:38:14 +0700 Subject: [PATCH] fix openai_s2s is using wrong model (#1031) * fix openai_s2s is using wrong model * wip * wip --- lib/tasks/llm/llms/openai_s2s.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/llm/llms/openai_s2s.js b/lib/tasks/llm/llms/openai_s2s.js index 2108a71b..a98376ad 100644 --- a/lib/tasks/llm/llms/openai_s2s.js +++ b/lib/tasks/llm/llms/openai_s2s.js @@ -120,7 +120,7 @@ class TaskLlmOpenAI_S2S extends Task { switch (this.vendor) { case 'openai': - return 'v1/realtime?model=${this.model}'; + return `v1/realtime?model=${this.model}`; case 'microsoft': return `openai/realtime?api-version=2024-10-01-preview&deployment=${this.model}`; }