The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
anthropic[patch]: split test into two (#31167)
ccurme2d202f976208
diff --git a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py b/libs/partners/anthropic/tests/integration_tests/test_chat_models.pyindex befdca0ec1..a2563cc480 100644--- a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py+++ b/libs/partners/anthropic/tests/integration_tests/test_chat_models.py@@ -134,6 +134,9 @@ async def test_stream_usage() -> None:async for token in model.astream("hi"):assert isinstance(token, AIMessageChunk)assert token.usage_metadata is None+++async def test_stream_usage_override() -> None:# check we override with kwargmodel = ChatAnthropic(model_name=MODEL_NAME) # type: ignore[call-arg]assert model.stream_usage