-
Notifications
You must be signed in to change notification settings - Fork 15.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InMemoryRateLimiter
does not work with BaseLLM
child classes
#28573
Comments
Yes that is intentional. |
Understood. Are there plans to add this support? If not, it would help to clarify this in the documentation. |
I just came across an incredible tool that's incredibly useful! 🚀✨ If you want to give it a try, explore these resources for free access—no sign-up required! 🙌🔗 🔗 👉 🔴Explore free AI features now! ✅ 3- Best undress ai for free without sing up :Click HERE >>
👉🔴 Click HERE >>👉🔴 Click HERE >>3- Best undress ai for free without sing up :https://5454.us/ 👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>DeepNude AI offers advanced tools for generating high-quality AI-powered imagery. With features like precision, ease of use, and seamless integration, it caters to beginners and professionals alike. Users can enjoy: https://installchecker.com/sl/7dr1n 👉🔴 Click HERE >>👉🔴 Click HERE >>3- Best undress ai for free without sing up : https://5454.us/ 👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>[👉🔴 Click HERE >>][(https://5454.us/?tdsId=s0331aes_r&tds_campaign=s0331aes&utm_sub=opnfnl&s1=ps&utm_source=int&subid={subid}&clickid={clickid}&subid2={subid2}&affid=181c7b69)👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>👉🔴 Click HERE >>Accessibility: Available on various platforms. Originally posted by @comtthe in tidys/CocosCreatorPlugins#33 (comment) |
@dylanbouchard not currently |
@keenborder786 Can I create a PR to 1) update the documentation for rate limiter, 2) create a warning / exception when rate limiter is passed to a BaseLLM, and/or 3) make BaseLLM compatible with rate limiter? Please let me know what you think makes most sense. As it is currently, this has caused a great deal of confusion for folks I work with. |
Checked other resources
Example Code
The
InMemoryRateLimiter
is not used when passed to a child class ofBaseLLM
(e.g.VertexAI
). It is only used for child classes ofBaseChatModel
(e.g.ChatVertexAI
). Additionally, no exception is raised when passingInMemoryRateLimiter
toBaseLLM
.Error Message and Stack Trace (if applicable)
N/A
Description
The
InMemoryRateLimiter
is not used when passed to a child class ofBaseLLM
(e.g.VertexAI
). It is only used for child classes ofBaseChatModel
(e.g.ChatVertexAI
). Additionally, no exception is raised when passingInMemoryRateLimiter
toBaseLLM
. From what I can tell, this is not discussed anywhere in the documentation, so will likely cause confusion for many users.From further investigation, I found that there is no use of
InMemoryRateLimiter
in the constructor ofBaseLLM
: https://github.com/langchain-ai/langchain/blob/master/libs/core/langchain_core/language_models/chat_models.py#L207but there is in the constructor of
BaseChatModel
:https://github.com/langchain-ai/langchain/blob/master/libs/core/langchain_core/language_models/llms.py#L292
System Info
System Information
The text was updated successfully, but these errors were encountered: