mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:40:44 +00:00
fix(openai): omit realtime transcription session type
This commit is contained in:
@@ -54,7 +54,6 @@ type SentRealtimeEvent = {
|
||||
type: string;
|
||||
audio?: string;
|
||||
session?: {
|
||||
type?: string;
|
||||
audio?: {
|
||||
input?: {
|
||||
format?: { type?: string };
|
||||
@@ -180,7 +179,6 @@ describe("buildOpenAIRealtimeTranscriptionProvider", () => {
|
||||
{
|
||||
type: "transcription_session.update",
|
||||
session: {
|
||||
type: "transcription",
|
||||
audio: {
|
||||
input: {
|
||||
format: { type: "audio/pcmu" },
|
||||
@@ -209,7 +207,6 @@ describe("buildOpenAIRealtimeTranscriptionProvider", () => {
|
||||
{
|
||||
type: "transcription_session.update",
|
||||
session: {
|
||||
type: "transcription",
|
||||
audio: {
|
||||
input: {
|
||||
format: { type: "audio/pcmu" },
|
||||
|
||||
@@ -149,7 +149,6 @@ function createOpenAIRealtimeTranscriptionSession(
|
||||
transport.sendJson({
|
||||
type: "transcription_session.update",
|
||||
session: {
|
||||
type: "transcription",
|
||||
audio: {
|
||||
input: {
|
||||
format: {
|
||||
|
||||
Reference in New Issue
Block a user