Skip to content

The agent engineering platform.

core/langchain: fix version used in deprecation (#26724)

Eugene Yurtsev79b224f6f37a
diff --git a/libs/core/langchain_core/memory.py b/libs/core/langchain_core/memory.py
index a486dab5a9..0313f74e12 100644
--- a/libs/core/langchain_core/memory.py
+++ b/libs/core/langchain_core/memory.py
@@ -18,7 +18,7 @@ from langchain_core.runnables import run_in_executor
@deprecated(
- since="0.3.4",
+ since="0.3.3",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/buffer.py b/libs/langchain/langchain/memory/buffer.py
index dc7417a350..16c0ffa593 100644
--- a/libs/langchain/langchain/memory/buffer.py
+++ b/libs/langchain/langchain/memory/buffer.py
@@ -9,7 +9,7 @@ from langchain.memory.utils import get_prompt_input_key
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
@@ -88,7 +88,7 @@ class ConversationBufferMemory(BaseChatMemory):
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/buffer_window.py b/libs/langchain/langchain/memory/buffer_window.py
index 64b8b7623f..3faafb5268 100644
--- a/libs/langchain/langchain/memory/buffer_window.py
+++ b/libs/langchain/langchain/memory/buffer_window.py
@@ -7,7 +7,7 @@ from langchain.memory.chat_memory import BaseChatMemory
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/chat_memory.py b/libs/langchain/langchain/memory/chat_memory.py
index cdbbae80ee..1447fc484a 100644
--- a/libs/langchain/langchain/memory/chat_memory.py
+++ b/libs/langchain/langchain/memory/chat_memory.py
@@ -15,7 +15,7 @@ from langchain.memory.utils import get_prompt_input_key
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/entity.py b/libs/langchain/langchain/memory/entity.py
index d6eb832b94..fa63107775 100644
--- a/libs/langchain/langchain/memory/entity.py
+++ b/libs/langchain/langchain/memory/entity.py
@@ -23,7 +23,7 @@ logger = logging.getLogger(__name__)
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
@@ -60,7 +60,7 @@ class BaseEntityStore(BaseModel, ABC):
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
@@ -89,7 +89,7 @@ class InMemoryEntityStore(BaseEntityStore):
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
@@ -175,7 +175,7 @@ class UpstashRedisEntityStore(BaseEntityStore):
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
@@ -274,7 +274,7 @@ class RedisEntityStore(BaseEntityStore):
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
@@ -379,7 +379,7 @@ class SQLiteEntityStore(BaseEntityStore):
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/summary.py b/libs/langchain/langchain/memory/summary.py
index 2fdfa552d6..64c843579b 100644
--- a/libs/langchain/langchain/memory/summary.py
+++ b/libs/langchain/langchain/memory/summary.py
@@ -58,7 +58,7 @@ class SummarizerMixin(BaseModel):
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/summary_buffer.py b/libs/langchain/langchain/memory/summary_buffer.py
index c72448db56..62985240fa 100644
--- a/libs/langchain/langchain/memory/summary_buffer.py
+++ b/libs/langchain/langchain/memory/summary_buffer.py
@@ -9,7 +9,7 @@ from langchain.memory.summary import SummarizerMixin
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/token_buffer.py b/libs/langchain/langchain/memory/token_buffer.py
index 00c2ad6a5b..a4a8fb18e7 100644
--- a/libs/langchain/langchain/memory/token_buffer.py
+++ b/libs/langchain/langchain/memory/token_buffer.py
@@ -8,7 +8,7 @@ from langchain.memory.chat_memory import BaseChatMemory
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "
diff --git a/libs/langchain/langchain/memory/vectorstore.py b/libs/langchain/langchain/memory/vectorstore.py
index 28f9c60520..72d3aa7244 100644
--- a/libs/langchain/langchain/memory/vectorstore.py
+++ b/libs/langchain/langchain/memory/vectorstore.py
@@ -12,7 +12,7 @@ from langchain.memory.utils import get_prompt_input_key
@deprecated(
- since="0.3.4",
+ since="0.3.1",
removal="1.0.0",
message=(
"Please see the migration guide at: "