Files
crewAI/tests
Devin AI 81d69efcc5 fix: Check for AGENTOPS_API_KEY before using agentops (#2601)
Ensures CrewAI checks for the AGENTOPS_API_KEY environment variable
after importing the optional agentops package but before using its
functionality. If the key is missing, CrewAI proceeds as if agentops
is unavailable, preventing NoApiKeyException.

Adds a test case to verify this behavior.

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-04-14 09:26:05 +00:00
..
2025-01-02 16:06:48 -05:00
2025-03-14 03:00:30 -03:00
2023-10-29 19:51:59 -03:00