ChatAnthropic int += NoneType: is there an upstream fix?
Summary ChatAnthropic usage parsing can fail on an explicit null cache_creation counter; langchain-anthropic 1.7.8 includes the fix. Check the installed package with python -m pip show langchain-anthropic.