Commit Graph
29922 Commits
Author SHA1 Message Date
yuneng-jiang b2c7a59d4e directly set db url 2026-01-09 22:57:28 -08:00
yuneng-jiang ff04a23656 db url 2026-01-09 22:54:13 -08:00
yuneng-jiang e2d61a6131 final 2026-01-09 22:43:01 -08:00
yuneng-jiang 78313d79ba adding expiry 2026-01-09 22:37:30 -08:00
yuneng-jiang b0bbdc2fad neon delete 2026-01-09 22:26:32 -08:00
yuneng-jiang 70e904102e fixing export 2026-01-09 22:22:55 -08:00
yuneng-jiang 554fc0d39d fixing parent pt2 2026-01-09 22:14:31 -08:00
yuneng-jiang bb015ab172 fixing parent 2026-01-09 22:09:00 -08:00
yuneng-jiang 773a1f434b parent id 2026-01-09 22:06:16 -08:00
yuneng-jiang 7d5716a3e0 create branch from e2e 2026-01-09 22:00:00 -08:00
yuneng-jiang 83157b83f8 testing neon 2026-01-09 21:56:22 -08:00
yuneng-jiang a8e4a24189 testing only neon 2026-01-09 21:48:08 -08:00
yuneng-jiang cf9b69aa12 Neon branching per e2e test 2026-01-09 21:38:19 -08:00
yuneng-jiangandGitHub ce4e2132a2 Merge pull request #18880 from BerriAI/litellm_fs_router_fields
[Infra] Router Fields Endpoint + React Query for Router Fields
2026-01-09 16:57:40 -08:00
yuneng-jiang f72394cac1 fixing build 2026-01-09 16:50:08 -08:00
yuneng-jiang dfb298792c New endpoint for router fields + react query 2026-01-09 16:49:22 -08:00
YutaSaitoandGitHub 07db8fe656 Merge pull request #18855 from BerriAI/litellm_fix_mcp-error-in-multiple-server
[fix] mcp error in multiple servers
2026-01-10 07:26:16 +09:00
yuneng-jiangandGitHub 8d00ebbd2f Merge pull request #18877 from BerriAI/litellm_login_email_casing
[Fix] UI Login Case Sensitivity
2026-01-09 14:08:26 -08:00
yuneng-jiang c29d042df4 Case insensitive email login 2026-01-09 12:51:00 -08:00
Sameer KankuteandGitHub 0c7db97ad5 Merge pull request #18871 from BerriAI/litellm_fix_test_count_tokens_caching
Fix :test_count_tokens_caching
2026-01-10 01:20:55 +05:30
Harshit JainandGitHub 8a683d9a6a Add fix for bedrock_cache, metadata and max_model_budget (#18872) 2026-01-10 01:09:00 +05:30
Sameer Kankute aba7dcea9c Fix : litellm import error 2026-01-10 01:03:50 +05:30
Sameer Kankute 777ae4f530 Fix :test_count_tokens_caching 2026-01-10 00:57:11 +05:30
RobinandGitHub 0575bd2d1c feat: update prices json for novita provider (#18540)
* feat: add novita models

* feat: ci

* feat: add novita support josn
2026-01-10 00:48:06 +05:30
Shivam RawatandGitHub 691505cdae added fix for org level budget enforcement (#18813) 2026-01-10 00:44:40 +05:30
Shivam RawatandGitHub 43dd0e6ef5 remove model before casting it in the transformation (#18810) 2026-01-10 00:43:38 +05:30
Cesar GarciaandGitHub c19c97591e fix: align max_tokens with max_output_tokens for consistency (#18820)
* fix: align max_tokens with max_output_tokens for consistency

Fixed inconsistent max_tokens definitions in model_prices_and_context_window.json.
According to LiteLLM convention, max_tokens should equal max_output_tokens when available.

Models fixed:
- deepseek-chat: 131072 → 8192 (now equals max_output_tokens)
- dashscope/qwen-flash: 1000000 → 32768 (now equals max_output_tokens)
- databricks/databricks-gemma-3-12b: 128000 → 32000 (now equals max_output_tokens)

This ensures consistency across all providers where max_tokens represents
the maximum number of tokens that can be generated in the output.

* fix: align max_tokens with max_output_tokens for 244 models

- Fix 244 models where max_tokens != max_output_tokens
- Add test to validate max_tokens consistency and prevent regressions

According to model_prices_and_context_window.json spec:
- max_tokens is a LEGACY parameter
- Should always equal max_output_tokens when both are present

This ensures consistency across all model definitions.
2026-01-10 00:37:45 +05:30
DominikHallabandGitHub fa2b0fb533 docs: Update header to be markdown bold by removing space (#18846) 2026-01-10 00:32:21 +05:30
mel2ooandGitHub 7161f41746 Fix: google_genai streaming adapter provider handling (#18845) 2026-01-10 00:31:52 +05:30
Alexsander HamirandGitHub 3a22fa89c4 Refactor ProviderConfigManager.get_provider_chat_config for O(1) performance (#18867) 2026-01-09 10:40:06 -08:00
Martin GauthierandGitHub dd087c8cca 🐛 fix: propagate headers in router embedding calls (#18844)
Fix router embedding methods to properly propagate proxy model
configuration headers to LLM API calls by calling
_update_kwargs_before_fallbacks() just like completion() does.

Previously, router.embedding() and router.aembedding() manually
set num_retries and metadata but didn't call
_update_kwargs_before_fallbacks(), which meant default_litellm_params
(including headers) were not propagated correctly.

Changes:
- Replace manual kwargs setup with _update_kwargs_before_fallbacks()
  in _embedding method (litellm/router.py:3318)
- Apply Black formatting to router.py for consistency
- Add comprehensive unit tests for header propagation
- Add integration tests for various router configurations

Tests verify:
- Headers from default_litellm_params are included in embedding calls
- Metadata (model_group) is properly set
- Consistency between completion() and embedding() behavior
- Support for deployment-specific headers, fallbacks, and retries
2026-01-09 23:57:18 +05:30
Sameer KankuteandGitHub 8dac83e093 Merge pull request #18859 from BerriAI/litellm_azure_image_gen_fix
Fix: response_format leaking into extra_body
2026-01-09 23:09:27 +05:30
AndrésandGitHub 9768eca33e fix(azure): add logprobs support for Azure OpenAI GPT-5.2 model (#18856)
* fix(azure): add logprobs support for Azure OpenAI GPT-5 models

Azure OpenAI GPT-5 models (including gpt-5.2) support logprobs
parameters, unlike OpenAI's GPT-5 reasoning models. This fix
overrides the parent class restriction to enable logprobs for Azure.

Changes:
- Override get_supported_openai_params() in AzureOpenAIGPT5Config
- Add "logprobs" and "top_logprobs" to supported params
- Add comprehensive tests for logprobs functionality

Testing:
- Verified with direct Azure API calls to gpt-5.2
- API version: 2025-01-01-preview
- Successfully returns logprobs data

Related: #7974, #4022

* refactor: restrict logprobs support to gpt-5.2 only

Only gpt-5.2 has been verified to support logprobs on Azure.
Other gpt-5 variants (gpt-5, gpt-5.1) have not been tested.

Changes:
- Add conditional check for is_model_gpt_5_2_model()
- Update tests to be specific to gpt-5.2
- Add negative tests for gpt-5 and gpt-5.1
- Update documentation to reflect gpt-5.2 specificity
2026-01-09 22:57:50 +05:30
Cesar GarciaandGitHub 153fd7ad0a fix: prevent Prisma migration workflow from running in forks (#18863)
- Add repository check to only run workflow in BerriAI/litellm
- Prevents workflow failures and wasted resources in forked repositories
- Avoids confusion for external contributors
2026-01-09 22:56:32 +05:30
yuneng-jiangandGitHub c3c67d445b Merge pull request #18849 from BerriAI/litellm_e2e_page_routing
[Infra] UI - E2E Test: Refactor Page Settings + Test for Page Navigation
2026-01-09 09:07:25 -08:00
yuneng-jiangandGitHub 68afc1276e Merge pull request #18848 from BerriAI/litellm_ui_unit_test_coverage_006
[Infra] UI - Unit Test: Adding Tests to Expand Coverage
2026-01-09 09:07:16 -08:00
Harshit JainandGitHub 819468554f fix(security): prevent expired key plaintext leak in error response (#18860) 2026-01-09 22:27:39 +05:30
Sameer KankuteandGitHub c0b05fc47a Merge pull request #18250 from sjmatta/claude/fix-issue-17910-QBgDq
[Fix] Nova model detection for Bedrock provider (#17910)
2026-01-09 17:30:51 +05:30
Sameer KankuteandGitHub be28fcd463 Merge pull request #18858 from raghav-stripe/raghav-add-bedrock-tokencounter
feat: add Bedrock as a backend API for token counting
2026-01-09 17:10:52 +05:30
Sameer KankuteandGitHub 072e3dcd0c Merge pull request #18715 from BerriAI/litellm_staging_01_06_2026
Staging 01/06/2026
2026-01-09 17:10:04 +05:30
Sameer KankuteandGitHub e7efd51bd7 Merge branch 'main' into litellm_staging_01_06_2026 2026-01-09 17:06:17 +05:30
Sameer KankuteandGitHub bb9347207b Merge pull request #18833 from BerriAI/litellm_staging_01_08_2026
Litellm staging 01 08 2026
2026-01-09 17:04:29 +05:30
Sameer KankuteandGitHub 844c766c65 Merge pull request #18763 from BerriAI/litellm_staging_01_07_2026
Staging - 01/07/2026
2026-01-09 17:01:58 +05:30
Sameer Kankute ffa0d6706c Fix: response_format leaking into extra_body 2026-01-09 16:53:35 +05:30
Sameer KankuteandGitHub d67b475ba4 Merge pull request #18853 from jutaz/bugfix/unbound-local-error
Fix: Add thought_signatures to VertexGeminiConfig and test
2026-01-09 16:27:12 +05:30
Raghav Jhavar f5ee89dcf6 fix broken imports 2026-01-09 17:43:23 +07:00
Raghav Jhavar 0bdc411fb7 remove comment 2026-01-09 17:24:33 +07:00
Raghav Jhavar ba78194ff1 add support for bedrock in token counting api 2026-01-09 17:08:07 +07:00
Sameer KankuteandGitHub 940138f585 Merge pull request #18629 from akraines/fix/wildcard-routing-errors
fix: Improve error messages and validation for wildcard routing with multiple credentials
2026-01-09 14:51:13 +05:30
Yuta Saito d4483d8422 fix: formatter 2026-01-09 17:31:30 +09:00