Files
langchain/libs/partners/anthropic/tests/unit_tests/test_imports.py
ccurme 226f29bc96 anthropic: support built-in tools, improve docs (#30274)
- Support features from recent update:
https://www.anthropic.com/news/token-saving-updates (mostly adding
support for built-in tools in `bind_tools`
- Add documentation around prompt caching, token-efficient tool use, and
built-in tools.
2025-03-14 16:18:50 +00:00

14 lines
265 B
Python

from langchain_anthropic import __all__
EXPECTED_ALL = [
"ChatAnthropicMessages",
"ChatAnthropic",
"convert_to_anthropic_tool",
"Anthropic",
"AnthropicLLM",
]
def test_all_imports() -> None:
assert sorted(EXPECTED_ALL) == sorted(__all__)