litellm/litellm/types
yuneng-jiang de32a2a06e
Merge pull request #47389 from BerriAI/litellm_backport_count_tokens_stable_1_104_x
fix(count_tokens): backport October 19 fixes to stable/1.104.x

(cherry picked from commit 5e4d160423)
2026-10-20 01:06:24 -07:00
..
containers refactor(types): replace Any with real types across 54 more backend files 2026-09-08 12:41:07 +00:00
google_genai fix(google_genai): preserve proxy_server_request in completion adapter (#43536) 2026-09-28 21:29:55 -07:00
images chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
integrations chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
interactions chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
litellm_core_utils fix(streaming): keep an explicit provider prompt_tokens=0 or completion_tokens=0 in streamed usage 2026-09-21 14:01:08 -07:00
llms Merge pull request #47389 from BerriAI/litellm_backport_count_tokens_stable_1_104_x 2026-10-20 01:06:24 -07:00
management_endpoints fix(auto-router): show actual and baseline spend for historical savings (#44057) 2026-10-01 13:44:32 -07:00
mcp_server feat(mcp): scan and pin upstream tool descriptions (#43283) 2026-09-28 18:38:49 -07:00
passthrough_endpoints fix(proxy): preserve decision request bodies under token limits (#43920) 2026-10-01 09:23:33 -07:00
prompts chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
proxy feat(guardrails): backport the decision model guardrail to rc/1.105.0 (#45663) (#45894) 2026-10-10 17:38:28 -07:00
repositories refactor(repositories): daily activity repository with centralized bounded usage queries (#43398) 2026-10-01 16:02:01 -07:00
responses chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
secret_managers feat(secret_managers): support customer-managed KMS key for virtual keys stored in AWS Secrets Manager (#40475) 2026-09-11 09:54:08 -07:00
videos refactor(typing): replace Any with proven types in 89 more backend files 2026-09-02 23:08:42 +00:00
access_group.py feat(access-groups): resolve resource names on access group responses 2026-09-04 16:08:50 -07:00
adapter.py fix(lint): bring basedpyright rule counts back under their budget limits 2026-08-05 10:23:02 -07:00
agents.py feat(agents): add identity registration and dashboard controls (#43723) 2026-09-30 15:21:21 -07:00
caching.py fix(caching): keep embedding cache hits aligned with request inputs (#42571) 2026-09-22 17:14:44 -05:00
completion.py fix(bedrock): backport #44307 to rc/1.105.0 (#44317) 2026-10-02 20:58:57 -07:00
compression.py chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
decisions.py docs(proxy): describe /v1/decisions and /v1/systemone in Swagger UI (#45838) 2026-10-11 00:47:58 +00:00
embedding.py chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
files.py fix(types): resolve the four type-discipline additions surfaced by the staging merge 2026-08-05 11:05:53 -07:00
fine_tuning.py (feat) POST /fine_tuning/jobs support passing vertex specific hyper params (#7490) 2025-01-01 07:44:48 -08:00
guardrail_base_init.py refactor(types): replace Any with real types across 54 more backend files 2026-08-29 19:00:43 +00:00
guardrails.py feat(guardrails): backport the decision model guardrail to rc/1.105.0 (#45663) (#45894) 2026-10-10 17:38:28 -07:00
lar1.py chore: litellm oss staging (#31185) 2026-06-26 09:17:44 -07:00
litellm_params.py fix(router): keep silent_model out of embedding provider requests (#44064) 2026-10-01 13:06:29 -07:00
mcp.py feat(mcp): configure protocol versions and capability discovery (#43169) 2026-09-25 13:13:52 -07:00
memory_management.py chore(typing): remove 914 basedpyright Any errors across 16 hotspot files 2026-08-10 01:24:40 -07:00
model_insights.py feat(ui): show daily token totals on the model leaderboard (#44044) 2026-10-01 12:12:30 -07:00
object_permission.py feat(proxy): granular key/team access control for Claude Code marketplace plugins (#40518) 2026-09-10 14:26:09 -07:00
policy_engine.py chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
rag.py test(rag): validate retrieval filters at HTTP boundary 2026-08-25 14:56:22 +00:00
realtime.py Merge remote-tracking branch 'origin/main' into litellm_decrease_anys_opus5_r5 2026-09-14 07:27:54 +00:00
rerank.py fix(hosted_vllm): forward truncate_prompt_tokens on rerank requests 2026-09-02 11:07:30 -07:00
roi_calculator.py feat(proxy): add native ROI calculator for gateway spend vs merged PRs (#43669) 2026-09-30 14:16:41 -07:00
router.py fix(cost_calculator): bill chat per-second pricing once with a new cost_per_second field (#43614) 2026-09-29 11:27:14 -07:00
router_weights.py fix(router): honor team and key provider weights 2026-09-14 23:31:52 -07:00
scheduler.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
search.py chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
services.py fix(otel): detach post-response service spans by request phase, name redis spans by operation (#43237) 2026-09-26 10:10:12 -07:00
tag_management.py chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
token_count.py Merge pull request #47389 from BerriAI/litellm_backport_count_tokens_stable_1_104_x 2026-10-20 01:06:24 -07:00
tool_management.py feat(tool-policies): show the user who owns the key that discovered a tool (#43892) 2026-10-01 20:34:57 +00:00
utils.py Merge pull request #47389 from BerriAI/litellm_backport_count_tokens_stable_1_104_x 2026-10-20 01:06:24 -07:00
vector_store_files.py chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
vector_stores.py fix(vector_stores): keep config-defined vector stores listed and read-only (#42574) 2026-09-23 04:02:16 +00:00