mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 21:04:46 +00:00
16cfdccc7b
AgentCore MCP server endpoints require the Accept header to contain both application/json and text/event-stream per the MCP specification (Streamable HTTP transport). Without this header, requests are rejected with a 406 Not Acceptable error (JSON-RPC code -32011). Sets the Accept header at the top of sign_request() so both JWT/Bearer and SigV4 authentication paths include it.
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/test_litellm
This folder can only run mock tests.