Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
30631a65a1 Fix lint issues in test script
- Use crew variable to avoid F841 unused variable error
- Remove API key logging to address CodeQL security alert
- Make path portable using os.path.join

Co-Authored-By: João <joao@crewai.com>
2025-09-20 21:33:20 +00:00
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