After importing langchain.agents, subsequent construction of BaseLLM (e.g. via from langchain_core.language_models import BaseLLM) fails with TypeError: 'function' object is not subscriptable when ...