fix(openai): default realtime voice to gpt-realtime-1.5 · openclaw/openclaw@e940531
steipete
·
2026-04-24
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -379,7 +379,7 @@ Legacy `plugins.entries.openai.config.personality` is still read as a compatibil
|
379 | 379 | |
380 | 380 | | Setting | Config path | Default | |
381 | 381 | |---------|------------|---------| |
382 | | -| Model | `plugins.entries.voice-call.config.realtime.providers.openai.model` | `gpt-realtime` | |
| 382 | +| Model | `plugins.entries.voice-call.config.realtime.providers.openai.model` | `gpt-realtime-1.5` | |
383 | 383 | | Voice | `...openai.voice` | `alloy` | |
384 | 384 | | Temperature | `...openai.temperature` | `0.8` | |
385 | 385 | | VAD threshold | `...openai.vadThreshold` | `0.5` | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ describe("buildOpenAIRealtimeVoiceProvider", () => {
|
9 | 9 | rawConfig: { |
10 | 10 | providers: { |
11 | 11 | openai: { |
12 | | -model: "gpt-realtime", |
| 12 | +model: "gpt-realtime-1.5", |
13 | 13 | voice: "verse", |
14 | 14 | temperature: 0.6, |
15 | 15 | silenceDurationMs: 850, |
@@ -20,7 +20,7 @@ describe("buildOpenAIRealtimeVoiceProvider", () => {
|
20 | 20 | }); |
21 | 21 | |
22 | 22 | expect(resolved).toEqual({ |
23 | | -model: "gpt-realtime", |
| 23 | +model: "gpt-realtime-1.5", |
24 | 24 | voice: "verse", |
25 | 25 | temperature: 0.6, |
26 | 26 | silenceDurationMs: 850, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -117,7 +117,7 @@ function base64ToBuffer(b64: string): Buffer {
|
117 | 117 | } |
118 | 118 | |
119 | 119 | class OpenAIRealtimeVoiceBridge implements RealtimeVoiceBridge { |
120 | | -private static readonly DEFAULT_MODEL = "gpt-realtime"; |
| 120 | +private static readonly DEFAULT_MODEL = "gpt-realtime-1.5"; |
121 | 121 | private static readonly MAX_RECONNECT_ATTEMPTS = 5; |
122 | 122 | private static readonly BASE_RECONNECT_DELAY_MS = 1000; |
123 | 123 | private static readonly CONNECT_TIMEOUT_MS = 10_000; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。