feat(openai): default realtime voice to gpt-realtime-2.1

This commit is contained in:
Vincent Koc
2026-07-06 22:13:25 -07:00
committed by Vincent Koc
parent 3175d8e742
commit c43e020f47
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ import {
} from "../lib/dev-tooling-safety.ts";
const OPENAI_REALTIME_MODEL =
process.env.OPENCLAW_REALTIME_OPENAI_MODEL?.trim() || "gpt-realtime-2";
process.env.OPENCLAW_REALTIME_OPENAI_MODEL?.trim() || "gpt-realtime-2.1";
const OPENAI_REALTIME_VOICE = process.env.OPENCLAW_REALTIME_OPENAI_VOICE?.trim() || "alloy";
const DEFAULT_OPENAI_HTTP_TIMEOUT_MS = 30_000;
const OPENAI_HTTP_RESPONSE_MAX_BYTES = 256 * 1024;