1
0
mirror of https://github.com/hwchase17/langchain.git synced 2025-05-05 07:08:03 +00:00

core[patch]: de-beta rate limiters ()

This commit is contained in:
ccurme 2025-02-19 14:19:59 -05:00 committed by GitHub
parent 5637210a20
commit ffd6194060
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,10 +10,7 @@ from typing import (
Optional,
)
from langchain_core._api import beta
@beta(message="Introduced in 0.2.24. API subject to change.")
class BaseRateLimiter(abc.ABC):
"""Base class for rate limiters.
@ -73,7 +70,6 @@ class BaseRateLimiter(abc.ABC):
"""
@beta(message="Introduced in 0.2.24. API subject to change.")
class InMemoryRateLimiter(BaseRateLimiter):
"""An in memory rate limiter based on a token bucket algorithm.