litellm/litellm/types
Krish Dholakia cf439c269c
Agents - add max budget + tpm/rpm limiting per agent AND per agent session (#22849)
* feat: enforce x-litellm-trace-id in header, if required

* feat: update spend for agent

* refactor: update agent table to follow similar format as other entities - also add a spend column - allows us to see spend of an agent

* fix: cleanup ui

* feat: return spend on agent endpoints

* feat: scope pr

* feat(agents/): support budgets + rate limiting on agents + agent sessions

* fix: address PR review feedback

- Add missing tpm_limit, rpm_limit, session_tpm_limit, session_rpm_limit
  columns to root schema.prisma to match proxy and extras schemas
- Add backwards-compatible fallback to key metadata for max_iterations
  so existing users don't silently lose enforcement

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: qa'ed RPM limiting on agents

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 19:12:42 -08:00
..
containers
google_genai
images
integrations Merge pull request #22103 from Harshit28j/litellm_feat_datadog_metrics 2026-02-28 17:25:23 +05:30
interactions fix: add INCOMPLETE status to Interactions API enum and test 2026-02-23 15:07:41 -03:00
litellm_core_utils
llms Agents health checks (#23044) 2026-03-07 18:32:47 -08:00
management_endpoints
mcp_server feat(mcp): BYOK MCP servers with OAuth 2.1 PKCE authorization flow (#22850) 2026-03-04 21:19:25 -08:00
passthrough_endpoints
prompts
proxy Merge branch 'main' into litellm_hashicorp_vault_backend 2026-03-05 17:27:33 -08:00
responses remove comment 2026-02-25 17:40:46 +05:30
secret_managers
videos Fix: Passing of image and parameters in videos api 2026-02-26 14:49:46 +05:30
access_group.py allow editing of access group names 2026-02-13 17:03:41 -08:00
adapter.py
agents.py Agents - add max budget + tpm/rpm limiting per agent AND per agent session (#22849) 2026-03-07 19:12:42 -08:00
caching.py perf(proxy): pipeline Redis RPUSH/LPOP in spend update cycle 2026-02-24 12:46:52 -08:00
completion.py
embedding.py
files.py
fine_tuning.py
guardrails.py feat: allow multiple calls from tags 2026-03-07 11:24:18 +05:30
mcp.py
policy_engine.py
rag.py
realtime.py
rerank.py
router.py fix: complexity_router crashes on list-format message content (OpenAI multi-part messages) (#22761) 2026-03-04 16:18:49 -08:00
scheduler.py
search.py
services.py
tag_management.py
tool_management.py [Feat] Add Tool Policies for AI Gateway (#22732) 2026-03-03 20:22:20 -08:00
utils.py feat: allow multiple calls from tags 2026-03-07 11:24:18 +05:30
vector_store_files.py
vector_stores.py