Skip to content

Commit

Permalink
fix openai_s2s is using wrong model (#1031)
Browse files Browse the repository at this point in the history
* fix openai_s2s is using wrong model

* wip

* wip
  • Loading branch information
xquanluu authored Jan 11, 2025
1 parent 6bad1a2 commit f4e68d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/llm/llms/openai_s2s.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
Expand Down

0 comments on commit f4e68d0

Please sign in to comment.