Skip to content

The agent engineering platform.

Move from test to supported claude-instant-1 model (#9066)

Mike Lamberte94a5d753fe0
diff --git a/libs/langchain/tests/integration_tests/llms/test_anthropic.py b/libs/langchain/tests/integration_tests/llms/test_anthropic.py
index 1d0a9475b5..3604f61969 100644
--- a/libs/langchain/tests/integration_tests/llms/test_anthropic.py
+++ b/libs/langchain/tests/integration_tests/llms/test_anthropic.py
@@ -11,14 +11,14 @@ from tests.unit_tests.callbacks.fake_callback_handler import FakeCallbackHandler
def test_anthropic_call() -> None:
"""Test valid call to anthropic."""
- llm = Anthropic(model="test")
+ llm = Anthropic(model="claude-instant-1")
output = llm("Say foo:")
assert isinstance(output, str)
def test_anthropic_streaming() -> None:
"""Test streaming tokens from anthropic."""
- llm = Anthropic(model="test")
+ llm = Anthropic(model="claude-instant-1")
generator = llm.stream("I'm Pickle Rick")
assert isinstance(generator, Generator)