Mention deprecation in docstring for LLMMessagesFrame

This commit is contained in:
Paul Kompfner
2025-08-06 15:12:38 -04:00
parent 56c52c2cf2
commit 1c1bae35ab

View File

@@ -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`