mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
- Add is_tracking_disabled() helper function to check CREWAI_DISABLE_TELEMETRY and CREWAI_DISABLE_TRACKING - Add guards in TraceBatchManager to prevent network calls when tracking is disabled - Add guards in TraceCollectionListener to prevent listener registration when tracking is disabled - Add comprehensive tests covering both disabled and enabled scenarios - Fixes issue #3907 where telemetry requests were still being made despite CREWAI_DISABLE_TELEMETRY=true Co-Authored-By: João <joao@crewai.com>