mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:40:44 +00:00
fix(openai): default realtime voice to gpt-realtime-1.5
This commit is contained in:
@@ -9,7 +9,7 @@ describe("buildOpenAIRealtimeVoiceProvider", () => {
|
||||
rawConfig: {
|
||||
providers: {
|
||||
openai: {
|
||||
model: "gpt-realtime",
|
||||
model: "gpt-realtime-1.5",
|
||||
voice: "verse",
|
||||
temperature: 0.6,
|
||||
silenceDurationMs: 850,
|
||||
@@ -20,7 +20,7 @@ describe("buildOpenAIRealtimeVoiceProvider", () => {
|
||||
});
|
||||
|
||||
expect(resolved).toEqual({
|
||||
model: "gpt-realtime",
|
||||
model: "gpt-realtime-1.5",
|
||||
voice: "verse",
|
||||
temperature: 0.6,
|
||||
silenceDurationMs: 850,
|
||||
|
||||
@@ -117,7 +117,7 @@ function base64ToBuffer(b64: string): Buffer {
|
||||
}
|
||||
|
||||
class OpenAIRealtimeVoiceBridge implements RealtimeVoiceBridge {
|
||||
private static readonly DEFAULT_MODEL = "gpt-realtime";
|
||||
private static readonly DEFAULT_MODEL = "gpt-realtime-1.5";
|
||||
private static readonly MAX_RECONNECT_ATTEMPTS = 5;
|
||||
private static readonly BASE_RECONNECT_DELAY_MS = 1000;
|
||||
private static readonly CONNECT_TIMEOUT_MS = 10_000;
|
||||
|
||||
Reference in New Issue
Block a user