fix openai_s2s is using wrong model (#1031)

* fix openai_s2s is using wrong model

* wip

* wip
This commit is contained in:
Hoan Luu Huu
2025-01-11 20:38:14 +07:00
committed by GitHub
parent 6bad1a22f3
commit f4e68d0ea1

View File

@@ -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}`;
}