Files
crewAI/src/crewai
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
..
2024-09-27 12:11:17 -03:00
2025-03-14 03:00:30 -03:00
2025-04-09 18:13:41 -07:00
2024-02-02 13:56:35 -03:00
2025-03-26 14:54:23 -07:00