Dependency conflit on crewai upgrade

after upgrading the Crewai version to 0.63.6 I got this error message:
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
crewai-tools 0.2.6 requires langchain<0.2.0,>=0.1.4, but you have langchain 0.2.16 which is incompatible.
How should I resolve this issue?

uninstall langchain, we do not need it any more unless you are using it

Thank you. It’s working now.

1 Like

Does that include langchain_openai?

Correct you do not need to use langchain constructor any more unless you want to as we now use LiteLLM

why are we now using litellm?

is there a way to use my current openai api with this as its already loaded with $?

also can you point me to the part in the docs which instructs about litellm as im not finding it

because it offers better management of LLMs

is there a way to use my current openai api with this as its already loaded with $? ← Not sure what you mean by this? just add your API key as you normally would

LiteLLM is built into crewAI meaning all you have to do is set your model - Connect CrewAI to LLMs - crewAI

ok thanks, i will try it now