Deprecate LLMMessagesFrame.

The same functionality can be achieved using either:
- `LLMMessagesUpdateFrame` with the desired messages, with `run_llm` set to `True`
- `OpenAILLMContextFrame` with a new context initialized with the desired messages
This commit is contained in:
Paul Kompfner
2025-08-06 11:33:07 -04:00
parent b8147bdbbd
commit 64e48e4660

View File

@@ -490,6 +490,17 @@ class LLMMessagesFrame(DataFrame):
messages: List[dict]
def __post_init__(self):
super().__post_init__()
import warnings
warnings.simplefilter("always")
warnings.warn(
"LLMMessagesFrame is deprecated and will be removed in a future release.",
DeprecationWarning,
stacklevel=2,
)
@dataclass
class LLMMessagesAppendFrame(DataFrame):