mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
8 lines
221 B
Python
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
|