mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
fix(core): set deprecation since to 1.3.3 to match release (#37200)
This commit is contained in:
@@ -1291,7 +1291,7 @@ class Runnable(ABC, Generic[Input, Output]):
|
||||
|
||||
"""
|
||||
warn_deprecated(
|
||||
since="1.4.0",
|
||||
since="1.3.3",
|
||||
message=("astream_log is deprecated. Use astream instead."),
|
||||
removal="2.0.0",
|
||||
)
|
||||
@@ -1545,7 +1545,7 @@ class Runnable(ABC, Generic[Input, Output]):
|
||||
)
|
||||
elif version == "v1":
|
||||
warn_deprecated(
|
||||
since="1.4.0",
|
||||
since="1.3.3",
|
||||
message=(
|
||||
"astream_events version='v1' is deprecated. "
|
||||
"Use version='v2' or astream instead."
|
||||
|
||||
@@ -322,7 +322,7 @@ class RunnableWithMessageHistory(RunnableBindingBase): # type: ignore[no-redef]
|
||||
|
||||
"""
|
||||
warn_deprecated(
|
||||
since="1.4.0",
|
||||
since="1.3.3",
|
||||
message=(
|
||||
"RunnableWithMessageHistory is deprecated. "
|
||||
"Use LangGraph's built-in persistence instead."
|
||||
|
||||
Reference in New Issue
Block a user