Error while testing for usecase in our company

tried to create a agent with our own llm

%python

%pip install langchain==0.1.4

%pip install tiktoken==0.7.0

%pip install crewai==0.28.8

%pip install crewai_tools==0.2.0

%pip install langchain_community==0.0.38

%pip install pydantic==2.11.2

%pip install pydantic-core==2.33.1

%pip install langchain-core==0.1.46

%pip install databricks-langchain==0.4.1

%pip install langchain-openai==0.3.12

dbutils.library.restartPython()

from crewai import Agent, Task, Crew
from databricks_langchain import ChatDatabricks
llm = ChatDatabricks(
endpoint=“databricks-sonnet”,
temperature=0.1,
)
planner = Agent(
role=“Content Planner”,
goal=“Plan engaging and factually accurate content on {topic}”,
backstory="You’re working on planning a blog article "
“about the topic: {topic}.”
"You collect information that helps the "
"audience learn something "
"and make informed decisions. "
"Your work is the basis for "
“the Content Writer to write an article on this topic.”,
allow_delegation=False,
verbose=True,
llm = llm
)
throws below errror
cannot import name ‘BaseTool’ from ‘crewai.tools’

I tried pip install --upgrade ‘crewai[tools]’ not working did not work

Are you using any custom tools?

Can you try using LLM or LiteLLM instead of ChatDatabricks and see how it goes.