mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-06 02:09:04 +00:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_aresponses_api_with_mcp.py | ||
| test_chat_completions_handler.py | ||
| test_litellm_proxy_mcp_handler.py | ||
| test_mcp_streaming_iterator.py | ||
| test_tool_precheck.py | ||