Improve printed deprecation warning

This commit is contained in:
Paul Kompfner
2025-08-07 11:16:30 -04:00
parent 2b5db9c562
commit 809ab0b7b6

View File

@@ -502,7 +502,10 @@ class LLMMessagesFrame(DataFrame):
warnings.simplefilter("always")
warnings.warn(
"LLMMessagesFrame is deprecated and will be removed in a future release.",
"LLMMessagesFrame is deprecated and will be removed in a future version. "
"Instead, use either "
"`LLMMessagesUpdateFrame` with `run_llm=True`, or "
"`OpenAILLMContextFrame` with desired messages in a new context",
DeprecationWarning,
stacklevel=2,
)