Files
langchain-python/langchain/chat_models
Jari Bakken 3df2d831f9 Fix get_num_tokens for Anthropic models (#4911)
The Anthropic classes used `BaseLanguageModel.get_num_tokens` because of
an issue with multiple inheritance. Fixed by moving the method from
`_AnthropicCommon` to both its subclasses.

This change will significantly speed up token counting for Anthropic
users.
2023-05-18 16:32:27 -07:00
..
2023-05-15 08:57:30 -07:00
2023-05-18 09:12:23 -07:00