The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
standard-tests[patch]: don't require str chunk contents (#22965)
Bagatur9ff249a38d42
diff --git a/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py b/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.pyindex 9eabc6239e..0dfc9a0481 100644--- a/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py+++ b/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py@@ -73,7 +73,6 @@ class ChatModelIntegrationTests(ABC):for token in model.stream("Hello"):assert token is not Noneassert isinstance(token, AIMessageChunk)- assert isinstance(token.content, str)num_tokens += len(token.content)assert num_tokens > 0@@ -85,7 +84,6 @@ class ChatModelIntegrationTests(ABC):async for token in model.astream("Hello"):assert token is not Noneassert isinstance(token, AIMessageChunk)- assert isinstance(token.content, str)num_tokens += len(token.content)assert num_tokens > 0