"""Standard LangChain interface tests""" from typing import Type from langchain_core.language_models import BaseChatModel from langchain_standard_tests.integration_tests import ChatModelIntegrationTests from langchain_anthropic import ChatAnthropic class TestAnthropicStandard(ChatModelIntegrationTests): @property def chat_model_class(self) -> Type[BaseChatModel]: return ChatAnthropic @property def chat_model_params(self) -> dict: return {"model": "claude-3-haiku-20240307"} @property def supports_image_inputs(self) -> bool: return True @property def supports_anthropic_inputs(self) -> bool: return True