The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
core[patch]: Relax time constraints on rate limit test (#25071)
Eugene Yurtsev4bcd2aad6cae
diff --git a/libs/core/tests/unit_tests/language_models/chat_models/test_rate_limiting.py b/libs/core/tests/unit_tests/language_models/chat_models/test_rate_limiting.pyindex b15b202f48..2d251aadb9 100644--- a/libs/core/tests/unit_tests/language_models/chat_models/test_rate_limiting.py+++ b/libs/core/tests/unit_tests/language_models/chat_models/test_rate_limiting.py@@ -84,7 +84,7 @@ def test_rate_limit_batch() -> None:toc = time.time()# Should be larger than check every n seconds since the token bucket starts# with 0 tokens.- assert time_to_fill < toc - tic < time_to_fill + 0.01+ assert time_to_fill < toc - tic < time_to_fill + 0.03async def test_rate_limit_abatch() -> None:@@ -102,7 +102,7 @@ async def test_rate_limit_abatch() -> None:toc = time.time()# Should be larger than check every n seconds since the token bucket starts# with 0 tokens.- assert time_to_fill < toc - tic < time_to_fill + 0.01+ assert time_to_fill < toc - tic < time_to_fill + 0.03def test_rate_limit_stream() -> None: