Closed tiovikram closed 1 month ago
CrewAI attempts to import agentops by default if the agentops package is installed in the environment.
This makes breakages such as the following to become more apparent and fatal.
Only import agentops if AGENTOPS_API_KEY environment variable is set.
AGENTOPS_API_KEY
AgentOps Reviewers: @areibman @bboynton97
Good catch!
What
CrewAI attempts to import agentops by default if the agentops package is installed in the environment.
Why
This makes breakages such as the following to become more apparent and fatal.
How
Only import agentops if
AGENTOPS_API_KEY
environment variable is set.