From 1c1bae35aba74855374841ed18d3c9cdd6913c93 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Wed, 6 Aug 2025 15:12:38 -0400 Subject: [PATCH] Mention deprecation in docstring for `LLMMessagesFrame` --- src/pipecat/frames/frames.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pipecat/frames/frames.py b/src/pipecat/frames/frames.py index 69fc4ff51..f6334dc17 100644 --- a/src/pipecat/frames/frames.py +++ b/src/pipecat/frames/frames.py @@ -478,6 +478,12 @@ class TranscriptionUpdateFrame(DataFrame): class LLMMessagesFrame(DataFrame): """Frame containing LLM messages for chat completion. + .. deprecated:: 0.0.78 + This class is deprecated and will be removed in a future version. + Instead, use either: + - `LLMMessagesUpdateFrame` with `run_llm=True` + - `OpenAILLMContextFrame` with desired messages in a new context + A frame containing a list of LLM messages. Used to signal that an LLM service should run a chat completion and emit an LLMFullResponseStartFrame, TextFrames and an LLMFullResponseEndFrame. Note that the `messages`