Commit graph

31112 commits

Author SHA1 Message Date
Yuneng Jiang
636f8c0cab
chore: fixes 2026-04-04 23:26:01 -07:00
Cursor Agent
b0cb00043a Rename job to e2e_responses_api_proxy_tests and add README
Co-authored-by: ishaan <ishaan@berri.ai>
2026-01-27 22:27:02 +00:00
Cursor Agent
4b44ca5fbf Simplify Ruby SDK test to basic non-streaming and streaming calls
Co-authored-by: ishaan <ishaan@berri.ai>
2026-01-27 22:13:54 +00:00
Cursor Agent
0aa52cc1a8 Add proxy_config.yaml and update CircleCI to use it
Renamed config.yaml to proxy_config.yaml to avoid .gitignore exclusion

Co-authored-by: ishaan <ishaan@berri.ai>
2026-01-27 22:04:20 +00:00
Cursor Agent
9268e4201b Add e2e Ruby SDK test for Responses API with Anthropic
This commit adds:
- New test folder tests/responses_api_tests_proxy/ with Ruby SDK tests
- config.yaml with anthropic/* and openai/* wildcards
- Ruby spec file testing the Responses API with Anthropic model
- Validates output_tokens_details is properly set (not null) for Ruby SDK compatibility
- Tests basic, streaming, and tool call scenarios
- New CircleCI job e2e_ruby_sdk_responses_api to run the tests

This ensures the fix for output_tokens_details (reasoning_tokens default to 0)
is working correctly with the Ruby OpenAI SDK.

Co-authored-by: ishaan <ishaan@berri.ai>
2026-01-27 22:03:37 +00:00
Ishaan Jaffer
23f77accc7 test fix base response API 2026-01-27 11:46:07 -08:00
Ishaan Jaffer
663088d820 fix: output_details_dict 2026-01-27 10:57:11 -08:00
Ishaan Jaffer
e3d1a85e95 test_output_tokens_details_always_set_for_openai_sdk_compatibility 2026-01-27 10:53:19 -08:00
yuneng-jiang
45954155d7
Merge pull request #19799 from BerriAI/litellm_sso_email_casing
[Fix] SSO Email Case Sensitivity
2026-01-27 09:52:03 -08:00
yuneng-jiang
50612715a5
Merge pull request #19814 from BerriAI/litellm_team_member_add_fix
[Fix] /team/member_add User Email and ID Verifications
2026-01-27 09:49:01 -08:00
michelligabriele
388b4c90b6
fix(proxy): handle agent parameter in /interactions endpoint (#19866) 2026-01-27 09:34:58 -08:00
michelligabriele
fc7a9b4cb0
fix(enterprise): correct error message for DISABLE_ADMIN_ENDPOINTS (#19861)
The error message for DISABLE_ADMIN_ENDPOINTS incorrectly said
"DISABLING LLM API ENDPOINTS is an Enterprise feature" instead of
"DISABLING ADMIN ENDPOINTS is an Enterprise feature".

This was a copy-paste bug from the is_llm_api_route_disabled() function.

Added regression tests to verify both error messages are correct.
2026-01-27 09:34:30 -08:00
Harshit Jain
0f0b71e6d9
feat: add feature to make silent calls (#19544)
* feat: add feature to make silent calls

* add test or silent feat

* add docs for silent feat

* fix lint issues and  UI logs

* add docs of ab testing and deep copy
2026-01-27 09:16:53 -08:00
Sameer Kankute
5c1588e3b7
Merge pull request #19841 from BerriAI/litellm_bedrock_tool_search_header
Translate advanced-tool-use to Bedrock-specific headers for Claude Opus 4.5
2026-01-27 17:48:51 +05:30
Sameer Kankute
81020d05d2
Merge pull request #19844 from BerriAI/litellm_sarvam_doc
[Docs]Add sarvam usage documentation
2026-01-27 17:47:59 +05:30
Sameer Kankute
c8a93c7d81
Merge pull request #19845 from BerriAI/litellm_gemini-robotics-er-1.5-preview2
Add  Gemini Robotics-ER 1.5 preview support
2026-01-27 17:47:44 +05:30
Sameer Kankute
8565a9f5a2
Merge pull request #19847 from BerriAI/litellm_image_streaming_download
Fix: Stream the download in chunks for image handling
2026-01-27 17:47:35 +05:30
Sameer Kankute
29fc4f8f61
Merge pull request #19850 from BerriAI/litellm_grok_reasonnig_support
Add grok reasoning content
2026-01-27 17:46:07 +05:30
Sameer Kankute
ea0a264a3c
Merge pull request #19753 from BerriAI/litellm_oss_staging_01_26_2026
fix(proxy): support slashes in google generateContent model names (#1…
2026-01-27 17:09:12 +05:30
Sameer Kankute
0214cb04cd
Merge branch 'main' into litellm_oss_staging_01_26_2026 2026-01-27 17:00:58 +05:30
Sameer Kankute
adf6d7e1db
Merge pull request #19692 from BerriAI/litellm_oss_staging_01_24_2026
Litellm oss staging 01 24 2026
2026-01-27 16:59:28 +05:30
Sameer Kankute
9a2750f8ec
Merge pull request #19617 from BerriAI/litellm_oss_staging_01_23_2026
Litellm oss staging 01 23 2026
2026-01-27 16:55:32 +05:30
Sameer Kankute
f30742fe6e Fix mypy and code quality issues 2026-01-27 16:49:39 +05:30
Sameer Kankute
154ad179af Revert poetry lock 2026-01-27 16:39:56 +05:30
Sameer Kankute
e695cb5367 Add grok reasoning content 2026-01-27 16:34:57 +05:30
Sameer Kankute
bd95712a22
Merge pull request #19832 from BerriAI/litellm_fix_a2a_package
Fix: A2A Python SDK URL
2026-01-27 15:16:52 +05:30
Sameer Kankute
988dd2a911 Fix: Stream the download in chunks 2026-01-27 14:35:54 +05:30
Sameer Kankute
e273c85848 Add gemini-robotics-er-1.5-preview model documentation 2026-01-27 13:58:13 +05:30
Sameer Kankute
cf012a2f65 Add gemini-robotics-er-1.5-preview model in model map 2026-01-27 13:58:03 +05:30
Sameer Kankute
faf9c9ba76 Add sarvam doc 2026-01-27 13:11:29 +05:30
Sameer Kankute
3f32562587 Translate advanced-tool-use to Bedrock-specific headers for Claude Opus 4.5 2026-01-27 11:20:16 +05:30
Sameer Kankute
1bf33c4e41 Fix:Support both JSON array format and comma-separated values from user headers 2026-01-27 11:19:31 +05:30
Krish Dholakia
7ba0235a50
Litellm release notes 01 26 2026 (#19838)
* docs: document new models/endpoints

* docs: cleanup

* feat: update model table

* fix: cleanup
2026-01-26 20:20:20 -08:00
yuneng-jiang
7307992cea fixing tests 2026-01-26 20:17:53 -08:00
Krish Dholakia
664715b68e
Litellm release notes 01 26 2026 (#19836)
* docs: document new models/endpoints

* docs: cleanup

* feat: update model table
2026-01-26 20:11:56 -08:00
yuneng-jiang
0dea6eeea3
Merge pull request #19721 from BerriAI/litellm_ui_bulk_fix
[Fix] UI - Internal User: Bulk Add
2026-01-26 20:10:37 -08:00
yuneng-jiang
c875cfb8cb
Merge pull request #19804 from BerriAI/litellm_ui_dark_mode_slider
[Feature] UI - Add Light/Dark Mode Switch for Development
2026-01-26 20:10:12 -08:00
yuneng-jiang
a97bf452f1
Merge pull request #19831 from BerriAI/litellm_ui_hide_send_feedback
[Feature] UI - Feedback Prompts: Option To Hide Prompts
2026-01-26 20:10:04 -08:00
yuneng-jiang
a7712ff8ef
Merge pull request #19807 from BerriAI/litellm_ui_regen_expiry
[Fix] UI - Create Key: Expire Key Input Duration
2026-01-26 20:09:39 -08:00
yuneng-jiang
ef7261d0eb Fixing tests 2026-01-26 20:07:30 -08:00
Cesar Garcia
014f783cc9
docs(readme): add OpenAI Agents SDK to OSS Adopters (#19820)
* docs(readme): add OpenAI Agents SDK to OSS Adopters

* docs(readme): add OpenAI Agents SDK logo
2026-01-26 19:24:46 -08:00
Ishaan Jaff
52d73c2c16
[Feat] Add UI for /rag/ingest API - upload docs, pdfs etc to create vector stores (#19822)
* feat: _save_vector_store_to_db_from_rag_ingest

* UI features for RAG ingest

* fix: Endpoints

* ragIngestCall

* _save_vector_store_to_db_from_rag_ingest

* fix: rag_ingest Code QA CHECK

* UI fixes unit tests
2026-01-26 19:23:43 -08:00
Sameer Kankute
c70d04d85f Fix: A2A Python SDK URL 2026-01-27 08:07:36 +05:30
yuneng-jiang
b10f71d583 fixing breaking change: just user_id provided should upsert still 2026-01-26 18:10:51 -08:00
yuneng-jiang
aa4b3ba87a Adding tests: 2026-01-26 17:53:01 -08:00
Alexsander Hamir
f95572e3ed
Fix broken mocks in 6 flaky tests to prevent real API calls (#19829)
* Fix broken mocks in 6 flaky tests to prevent real API calls

Added network-level HTTP blocking using respx to prevent tests from making real API calls when Python-level mocks fail. This makes tests more reliable and retryable in CI.

Changes:

- Azure OIDC test: Added Azure Identity SDK mock to prevent real Azure calls

- Vector store test: Added @respx.mock decorator to block HTTP requests

- Resend email tests (3): Added @respx.mock decorator for all 3 test functions

- SendGrid email test: Added @respx.mock decorator

All test assertions and verification logic remain unchanged - only added safety nets to catch leaked API calls.

* Fix failing OIDC secret manager tests

Fixed two test failures in test_secret_managers_main.py:

1. test_oidc_azure_ad_token_success: Corrected the patch path for get_bearer_token_provider from 'litellm.secret_managers.get_azure_ad_token_provider.get_bearer_token_provider' to 'azure.identity.get_bearer_token_provider' since the function is imported from azure.identity.

2. test_oidc_google_success: Added @patch('httpx.Client') decorator to prevent any real HTTP connections during test execution, resolving httpx.ConnectError issues.

Both tests now pass successfully.
2026-01-26 17:39:40 -08:00
Alexsander Hamir
c442fcd922
CI/CD: Increase retries and stabilize litellm_mapped_tests_core (#19826)
* Fix PLR0915: Extract system message handling to reduce statement count

* fix mypy

* fix: add host_progress_callback parameter to mock_call_tool in test

The test_call_tool_without_broken_pipe_error was failing because the mock function did not accept the host_progress_callback keyword argument that the actual implementation passes to client.call_tool(). Updated the mock to accept this parameter to match the real implementation signature.

* fixing flaky tests around oidc and email

* Add documentation comment to test file

* add retry

* add dependency

* increase retry

---------

Co-authored-by: yuneng-jiang <yuneng.jiang@gmail.com>
2026-01-26 17:00:18 -08:00
yuneng-jiang
9ff0daa24d Add dont ask me again option in nudges 2026-01-26 16:58:38 -08:00
mubashir1osmani
8908eff7b1
Fix(#19781): Unable to reset user max budget to unlimited
Fix(#19781): Unable to reset user max budget to unlimited
2026-01-26 18:37:49 -05:00
yuneng-jiang
801e0a6ce6
Merge pull request #19819 from BerriAI/litellm_cd_fix_yj_10
[Infra] CI/CD - Fixing Flaky Tests in OIDC and Email
2026-01-26 15:29:55 -08:00