Files
crewAI/tests/tracing/test_tracing.py
Devin AI d46550d296 Fix TraceBatchManager authentication handling for issue #3559
- Move get_auth_token() call inside try-catch block in TraceBatchManager.__init__
- This allows graceful handling of AuthError when no authentication token is present
- Crews can now work without authentication by using ephemeral batches
- Add test to verify TraceBatchManager handles missing auth gracefully
- Add standalone test script that confirms the fix works correctly

Fixes issue where recent changes broke previously running crews due to
mandatory authentication in the tracing system.

Co-Authored-By: João <joao@crewai.com>
2025-09-20 21:29:35 +00:00

27 KiB