litellm/tests/test_litellm/interactions
user b16d0b1d5e
test: add coverage for credential leak prevention changes
Add 50 tests across 3 files covering the new MaskedHTTPStatusError,
safe response helpers, _redact_string in error paths, Gemini
interactions x-goog-api-key header auth, and RAG ingestion header
usage.

Fix missing early-validation for Gemini API key in _get_token_and_url()
which caused TypeError when key was None (headers got None value).
Harmonize error messages between the two validation sites.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 23:09:17 +00:00
..
base_interactions_test.py fix: test_create_simple_string_input 2026-01-05 17:15:12 +05:30
test_gemini_interactions.py [Feat] Interactions API - allow using all litellm providers (interactions -> responses api bridge) (#18373) 2025-12-23 22:30:22 +05:30
test_gemini_interactions_transformation.py test: add coverage for credential leak prevention changes 2026-04-14 23:09:17 +00:00
test_google_interactions_integration.py [Feat] New Endpoint - Google Interactions API - added on litellm SDK (#18079) 2025-12-17 02:18:51 +04:00
test_litellm_responses_bridge.py [Feat] Interactions API - allow using all litellm providers (interactions -> responses api bridge) (#18373) 2025-12-23 22:30:22 +05:30
test_openapi_compliance.py [Staging] - Ishaan March 17th (#23903) 2026-03-18 15:09:01 -07:00