mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
* fix(interactions): bind Deep Research agents to their deployment and bill the agent A request that sends an agent with a model group now sends the agent to Google and is refused with a 400 unless the group's deployment is that agent. Agent interactions are logged and priced under the agent, including streamed and background jobs, with a Vertex cost row for deep-research-preview-04-2026. Background cost polling now waits 7800 seconds by default so a 120-minute job still settles. * fix(interactions): refuse extra_body that changes the agent or model A nested agent or model in extra_body was merged into the request after the agent binding check, so it could run a different agent than the one billed, inject an agent onto a model deployment, or add a second selector. Refuse those before any provider or OAuth call, while identical agent repeats and unrelated extra_body fields still pass through. --------- Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| interactions.openapi.json | ||
| test_agents_http_handler.py | ||
| test_agents_main_and_utils.py | ||
| test_background_cost_polling.py | ||
| test_gemini_interactions_transformation.py | ||
| test_interactions_streaming_iterator.py | ||
| test_litellm_responses_bridge.py | ||
| test_main.py | ||
| test_openapi_compliance.py | ||