Repository navigation
ref(litellm): Drop send_default_pii support - #7740
Conversation
Codecov Results 📊✅ 59981 passed | ❌ 1 failed | ⏭️ 2741 skipped | Total: 62723 | Pass Rate: 95.63% | Execution Time: 164m 46s 📊 Comparison with Base Branch
➕ New Tests (1)View new tests
❌ Failed Tests
|
| ), | ||
| ], | ||
| ) | ||
| def test_chat_completion_data_collection( |
There was a problem hiding this comment.
This and test_embeddings_data_collection also look like they'd be useful to keep?
There was a problem hiding this comment.
test_embeddings_data_collection is equivalent to test_embeddings_create and test_embeddings_no_pii (renamed to test_embeddings_no_sensitive_data()).
I've restored parts of the chat completions test: 2090d14
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2090d14. Configure here.

Remove
send_default_piibranches from the integration.Add the
data_collectionoption to all tests for the integration, withgen_aioptions enabled ifsend_default_piiwasTrue, andgen_aioptions disabled ifsend_default_piiwasFalse. Whensend_default_piiwas previously not supplied tosentry_init(), providedata_collection={}.Split tests that were parametrized on
send_default_piiinto two non-parametrized tests, withgen_aioptions enabled and disabled (the latter suffixed with_no_sensitive_data).Remove cases of
_data_collectiontests that are exercised by existing tests now.Closes #7598