Skip to content

The agent engineering platform.

chore(langchain_v1): expose rate_limiters from langchain_core (#33305)

Eugene Yurtsevbfed5f67a8a9
diff --git a/libs/langchain_v1/langchain/rate_limiters/__init__.py b/libs/langchain_v1/langchain/rate_limiters/__init__.py
new file mode 100644
index 0000000000..afc80c8bbf
--- /dev/null
+++ b/libs/langchain_v1/langchain/rate_limiters/__init__.py
@@ -0,0 +1,13 @@
+"""Base abstraction and in-memory implementation of rate limiters.
+
+These rate limiters can be used to limit the rate of requests to an API.
+
+The rate limiters can be used together with `BaseChatModel`.
+"""
+
+from langchain_core.rate_limiters import BaseRateLimiter, InMemoryRateLimiter
+
+__all__ = [
+ "BaseRateLimiter",
+ "InMemoryRateLimiter",
+]