litellm/tests/test_litellm/responses
Lei Nie 1716956520 test(responses): update expected events and add mock test for content_part.added
- Update test_anthropic_via_responses_api expected_events to include
  CONTENT_PART_ADDED between OUTPUT_ITEM_ADDED and OUTPUT_TEXT_DELTA
- Add TestEnsureOutputItemContentPartAdded with 3 mock tests:
  message item emits content_part.added, reasoning item does not,
  and the event is only emitted once
2026-03-23 22:29:50 +00:00
..
litellm_completion_transformation test(responses): update expected events and add mock test for content_part.added 2026-03-23 22:29:50 +00:00
mcp [Fix] Pass MCP auth headers from request into tool fetch for /v1/responses and chat completions (#22291) 2026-02-27 19:15:51 -08:00
test_metadata_codex_callback.py Fix test isolation: clear litellm.callbacks and model_fallbacks between tests 2026-03-15 16:43:15 -07:00
test_no_duplicate_spend_logs.py fix(test): add timeout to flush() call to prevent 300s hang in CI (#21819) 2026-02-21 14:10:57 -08:00
test_null_test_fix.py Fix: Responses content can't be none 2026-01-14 12:13:18 +05:30
test_responses_api_request_body.py [Feat] Adds support for server-side compaction on the OpenAI Responses API context_management (#21058) 2026-02-12 10:00:30 -08:00
test_responses_prompt_management.py fix: prevent double prompt management in async path, preserve optional params 2026-03-18 17:09:28 +05:30
test_responses_utils.py Add test case 2026-02-20 16:22:44 +05:30
test_responses_websocket_all_providers.py Add tests for resp 2026-03-04 18:27:06 +05:30
test_text_format_conversion.py