Commit graph

42355 commits

Author SHA1 Message Date
Ishaan Jaffer
0d697e6c3e litellm_mapped_tests_mcps 2026-02-14 15:20:25 -08:00
Ryan Crabbe
e684af8976 revert: remove unrelated timeout default change 2026-02-14 15:05:37 -08:00
Ishaan Jaffer
d5824d871c access_group_ids 2026-02-14 14:43:03 -08:00
Shivam Rawat
f79a8f7809
Update litellm/proxy/common_utils/reset_budget_job.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-14 14:42:17 -08:00
yuneng-jiang
ee088992f5
Merge pull request #21224 from BerriAI/litellm_ui_gh_build
[Infra] New Github Workflow For UI Build on Every PR
2026-02-14 13:56:32 -08:00
yuneng-jiang
6e70e59346 adding timeout 2026-02-14 13:53:21 -08:00
yuneng-jiang
2c02a71ef4 addressing comments and build fail 2026-02-14 13:52:26 -08:00
yuneng-jiang
bb9049de44 add new ui build github workflow 2026-02-14 13:46:21 -08:00
Ishaan Jaffer
703bf5add0 BUMP Enterprise PIP 2026-02-14 13:40:48 -08:00
Ryan Crabbe
9f09b02c65 fix: complete streaming connection pool leak fix with regression tests
Address three additional root causes that prevented connection cleanup
on client disconnect: Starlette/Uvicorn disconnect detection gap,
content= vs stream= no-op wrapper in aiohttp transport, and anyio
CancelledError interrupting cleanup awaits.
2026-02-14 13:32:13 -08:00
Ishaan Jaffer
ed06f04a67 bump: version 1.81.11 → 1.81.12 2026-02-14 13:29:12 -08:00
Ishaan Jaffer
80b080e00c code QA fx 2026-02-14 13:29:03 -08:00
yuneng-jiang
5cf91e573e Merge remote-tracking branch 'origin' into litellm_access_groups_inte 2026-02-14 13:27:36 -08:00
Ishaan Jaffer
bd766706c5 VertexAILlama3StreamingHandler 2026-02-14 13:18:26 -08:00
Nicholas Gigliotti
da8c1bd111 fix(bedrock): handle definitions keyword and schemaless json_object in native structured outputs
- Add `definitions` handling alongside `$defs` in schema normalization
  (older JSON Schema drafts use `definitions` instead of `$defs`)
- Fall back to tool-call approach when `response_format: {type: json_object}`
  has no explicit schema, since the native API requires one
- Add tests for both cases
2026-02-14 16:17:53 -05:00
Ishaan Jaffer
55a78e564d test_anthropic_messages_with_all_beta_headers 2026-02-14 13:03:52 -08:00
Ishaan Jaffer
add3183308 IGNORE_FUNCTIONS 2026-02-14 12:59:15 -08:00
Ishaan Jaffer
b8f572fc39 test_responses_api_shell_tool_streaming_sees_shell_output 2026-02-14 12:55:44 -08:00
Nicholas Gigliotti
212906118a feat(bedrock): support native structured outputs API (outputConfig.textFormat) 2026-02-14 15:48:06 -05:00
Ishaan Jaffer
3987198fca test_partner_models_httpx_streaming 2026-02-14 12:41:35 -08:00
Ishaan Jaffer
6a4b531057 def get_advanced_model_for_shell_tool(self) -> Optional[str]:
AZURE
2026-02-14 12:29:42 -08:00
Ishaan Jaffer
bab2bcad8c test_openai_codex_stream 2026-02-14 12:28:18 -08:00
Ishaan Jaffer
582fbf9040 test_anthropic_custom_headers 2026-02-14 12:22:14 -08:00
Ishaan Jaffer
ec7eb79634 ANTHROPIC_API_KEY 2026-02-14 12:20:55 -08:00
Ishaan Jaffer
ad72d162cd avector_store_create 2026-02-14 12:16:33 -08:00
Krish Dholakia
fa0b26c611
ci/cd fixes (#21218)
* fix: add a2a-sdk to dev deps

* fix: fix test

* fix: update poetry lock

* test: cleanup bad/hanging tests
2026-02-14 12:11:53 -08:00
Ishaan Jaffer
e373da6653 test_partner_models_httpx_streaming 2026-02-14 12:09:18 -08:00
Alexsander Hamir
7944b67842
Fix CI/CD pyroscope test failure (#21219) 2026-02-14 12:07:20 -08:00
Ishaan Jaffer
e5bbafba62 test_completion_openrouter_reasoning_effort 2026-02-14 12:04:05 -08:00
Ishaan Jaffer
ff9fbe7fe2 test_other_constraints_preserved 2026-02-14 12:00:48 -08:00
Krish Dholakia
644f66a7d3
Agent Guardrails - on streaming output (#21206)
* fix(ui/): add mcp input as an example for custom code guardrails

* feat(a2a/): ensure a2a guardrails works on response output

* feat(a2a/): support streaming guardrails

* fix(ui/): add mcp input as an example for custom code guardrails
2026-02-14 11:36:52 -08:00
Ishaan Jaffer
977d1f90d2 test fixes 2026-02-14 11:33:45 -08:00
Ishaan Jaffer
77dd3cb2b2 test_responses_api_shell_tool_streaming_sees_shell_output 2026-02-14 11:32:52 -08:00
Ishaan Jaffer
1730008657 claude-sonnet-4-5-20250929 2026-02-14 11:28:45 -08:00
Ishaan Jaffer
966541a999 scaleway fix 2026-02-14 11:26:11 -08:00
mubashir1osmani
4727aa41fc
fix(langfuse_otel): prevent empty proxy request spans from being sent to Langfuse
fix(langfuse_otel): prevent empty proxy request spans from being sent to Langfuse
2026-02-14 14:22:32 -05:00
jquinter
a15a2fa77c
Merge pull request #21212 from BerriAI/fix/jwt-email-domain-validation-error
Fix: JWT email domain validation error message
2026-02-14 16:20:08 -03:00
shivam
cf14f0c821 change logic to match Kriish's input 2026-02-14 10:53:58 -08:00
Jay Prajapati
35bbcf9e98 test(chatgpt): ensure Codex request filters unsupported params
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-15 00:18:02 +05:30
Jay Prajapati
ab2d6e4eac fix(chatgpt): drop unsupported responses params for Codex
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-15 00:18:02 +05:30
Ishaan Jaffer
ad910de1e3 test_o1_parallel_tool_calls 2026-02-14 10:47:38 -08:00
Julio Quinteros Pro
90d61432cf Fix LiteLLM_JWTAuth annotations access bug
The __init__ method was trying to access self.__annotations__ before
super().__init__() was called, resulting in an empty annotations dict.

Changed to use the class annotations directly: LiteLLM_JWTAuth.__annotations__
instead of self.__annotations__.

This fixes the ValueError:
"Invalid arguments provided: user_email_jwt_field, user_id_upsert,
user_allowed_email_domain. Allowed arguments are: ."

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 15:44:02 -03:00
Julio Quinteros Pro
3f4ba9f03f Fix JWT auth email domain validation error message
Fixes issue where users with disallowed email domains receive a
generic "user doesn't exist" error instead of a clear message
about the email domain not being allowed.

Changes:
- Add explicit check for valid_user_email before get_user_object
- Raise ProxyException with clear error message when email domain
  is not in the allowed list
- Prevents confusing error message for email domain restrictions

This fixes the test_allow_access_by_email test failure.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 15:39:39 -03:00
jquinter
d60a832aae
Merge pull request #21207 from BerriAI/fix/content-filter-too-many-statements
Fix: Refactor content filter to reduce statement count (PLR0915)
2026-02-14 15:23:59 -03:00
jquinter
ae0ffdf5a6
Update litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-14 15:20:08 -03:00
Julio Quinteros Pro
9084fdeeb4 Refactor _filter_single_text to reduce statement count
Fixes PLR0915 linting error (too many statements: 64 > 50) by extracting
repeated logic into four helper methods:
- _handle_conditional_match
- _handle_category_keyword_match
- _handle_pattern_match
- _handle_blocked_word_match

This improves code organization and maintainability while preserving
all existing functionality.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 15:16:39 -03:00
Ishaan Jaffer
3b89b14687 fix schema 2026-02-14 09:56:45 -08:00
Ishaan Jaffer
d4bb040755 bump pyproject 2026-02-14 09:56:45 -08:00
Ishaan Jaffer
ab31725b4a bump 2026-02-14 09:56:45 -08:00
Ishaan Jaffer
c445011025 fix extras 2026-02-14 09:56:45 -08:00