From 8ec56092c0e6073fdf933e3c991b5ec91d85c5ac Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Wed, 22 Apr 2026 11:58:15 -0400 Subject: [PATCH] Remove duplicate ResponseCreated type --- pyrightconfig.json | 1 - src/pipecat/services/xai/realtime/events.py | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/pyrightconfig.json b/pyrightconfig.json index 75d7ca777..23ed1f3f0 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -109,7 +109,6 @@ "src/pipecat/services/ultravox/llm.py", "src/pipecat/services/websocket_service.py", "src/pipecat/services/whisper/stt.py", - "src/pipecat/services/xai/realtime/events.py", "src/pipecat/services/xai/realtime/llm.py", "src/pipecat/services/xtts/tts.py", "src/pipecat/transports/base_output.py", diff --git a/src/pipecat/services/xai/realtime/events.py b/src/pipecat/services/xai/realtime/events.py index c5e4ab755..7e1701db9 100644 --- a/src/pipecat/services/xai/realtime/events.py +++ b/src/pipecat/services/xai/realtime/events.py @@ -541,18 +541,6 @@ class InputAudioBufferCleared(ServerEvent): type: Literal["input_audio_buffer.cleared"] -class ResponseCreated(ServerEvent): - """Event indicating an assistant response has been created. - - Parameters: - type: Event type, always "response.created". - response: The created response object. - """ - - type: Literal["response.created"] - response: "Response" - - class ResponseOutputItemAdded(ServerEvent): """Event indicating an output item has been added to a response.