Files
langchain/libs/partners/anthropic/tests/integration_tests/test_bedrock.py

8 lines
221 B
Python

from langchain_anthropic import ChatAnthropicBedrock
def test_invoke() -> None:
model = ChatAnthropicBedrock(model="us.anthropic.claude-haiku-4-5-20251001-v1:0")
result = model.invoke("Hello")
assert result