The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
anthropic[patch]: remove retired model from tests (#27965)
ccurmea747dbd24bdc
diff --git a/libs/partners/anthropic/tests/integration_tests/test_llms.py b/libs/partners/anthropic/tests/integration_tests/test_llms.pyindex 26cfac8a2e..b3018c192f 100644--- a/libs/partners/anthropic/tests/integration_tests/test_llms.py+++ b/libs/partners/anthropic/tests/integration_tests/test_llms.py@@ -24,14 +24,14 @@ def test_anthropic_model_param() -> None:def test_anthropic_call() -> None:"""Test valid call to anthropic."""- llm = Anthropic(model="claude-instant-1") # type: ignore[call-arg]+ llm = Anthropic(model="claude-2.1") # type: ignore[call-arg]output = llm.invoke("Say foo:")assert isinstance(output, str)def test_anthropic_streaming() -> None:"""Test streaming tokens from anthropic."""- llm = Anthropic(model="claude-instant-1") # type: ignore[call-arg]+ llm = Anthropic(model="claude-2.1") # type: ignore[call-arg]generator = llm.stream("I'm Pickle Rick")assert isinstance(generator, Generator)