ImportError: cannot import name 'LLM' from 'crewai'

I am not able to import LLM from crewai, gives me the import error, i want to use the litellm as my LLM provider.

@Yash You need to upgrade the CrewAI package.

@rokbenko I’m currently on crewai version 0.74.2 and still encountering the same, after upgrade

@Yash Try to close and open your IDE. Sometimes this helps in my experience.

1 Like

Thanks, it worked for me

@Yash I would be happy if you mark my previous answer as a solution by clicking the “Solution” button. :slight_smile:

I am not getting the solution button on you reply

This topic was automatically closed after 30 days. New replies are no longer allowed.