litellm/tests/unit/responses/mcp
mateo-berri bd0b5b46a7
Some checks are pending
LiteLLM Rust / rust-lint (push) Waiting to run
LiteLLM Rust / rust-test (push) Waiting to run
LiteLLM Rust / rust-wheel (push) Waiting to run
fix(nodecode): keep completion-time off-peak billing by default and bill weekend long-prompt cache reads
off_peak_pricing goes back to pricing a request at its completion time. A block
opts into start-time pricing with "priced_at": "request_start", which only the
two Nodecode rows set. The logging hook now records the call start in its own
context instead of pinning the billing clock, and prompt-caching savings follow
the same per-row clock

An off_peak_pricing block may now carry prompt-token band keys such as
cache_read_input_token_cost_above_262144_tokens. The highest crossed band wins,
then the block's flat rate, then the standard rate, with the provider's usual
threshold edge. Nodecode Cyber v1 gets its weekend long-prompt cached rate

OffPeakPricing and ModelInfoBase declare the new keys, the cost map schemas
allow them, and nodecode joins the chat-route providers in the wire test

The Responses MCP loop no longer chains previous_response_id for providers
whose config forces store false (Nodecode, Parasail), through a new
stores_responses() hook on the Responses provider config
2026-12-02 18:11:08 -08:00
..
__init__.py ci: move provider-independent MCP tests into tests/unit and run mcp-integration from litellm-tests (#42904) 2026-09-24 23:07:48 +00:00
conftest.py perf(ci): isolate and shard integration suites (#44146) 2026-10-10 11:15:19 -07:00
test_aresponses_api_with_mcp.py fix(nodecode): keep completion-time off-peak billing by default and bill weekend long-prompt cache reads 2026-12-02 18:11:08 -08:00
test_chat_completions_handler.py fix(mcp): let a forced hosted MCP choice follow its tool under drop_params 2026-11-22 01:20:58 -08:00
test_litellm_proxy_mcp_handler.py test(mcp): use the LTS MCP manager path 2026-11-14 02:52:48 +00:00
test_mcp_streaming_iterator.py fix(responses): keep every MCP tool round in streaming follow-up input (#47698) 2026-11-11 14:40:38 -08:00
test_tool_precheck.py fix(sdk): backport #45961 to lts/1.108.x 2026-11-07 17:55:52 -08:00