Commit Graph
25219 Commits
Author SHA1 Message Date
tosiandGitHub dd89bae2ff fix: add download prometheus.yml to avoid error (#14725) 2025-09-19 14:20:01 -07:00
Ishaan Jaffer afbb2fc20c docs: v1.77.2.rc.2 2025-09-19 08:28:27 -07:00
Krish DholakiaandGitHub f471cf002d Merge pull request #14715 from timelfrink/fix/issue-14120-gemini-2.5-flash-image-preview
Fix: gemini-2.5-flash-image-preview model routing for image generation
2025-09-19 07:43:03 -07:00
Tim Elfrink 5323ca8346 Fix Gemini 2.5 Flash Image Preview response parsing
- Add response_modalities configuration to request format
- Fix response parsing to use camelCase 'inlineData' instead of snake_case 'inline_data'
- Update test to validate proper request format and response parsing
- All existing Gemini image generation tests pass
2025-09-19 11:20:03 +02:00
Tim Elfrink 3a98fd6096 Remove hardcoded model name and fix breaking change
- Reverted GEMINI_2_5_FLASH_IMAGE_PREVIEW_MODEL constant usage
- Made endpoint selection conditional for gemini-2.5-flash-image-preview only
- Preserved existing Imagen models functionality with :predict endpoint
- Fixed potential breaking change that would affect 6 other Gemini image models
2025-09-19 09:29:14 +02:00
Krish DholakiaandGitHub aa54994994 Merge pull request #14666 from michaeltansg/feat/add-bangkok-timezone
Added Indochina Time timezone support for budget resets
2025-09-18 23:41:27 -07:00
Krish DholakiaandGitHub f5838594e0 Merge pull request #14675 from tcx4c70/fix/response-price
fix: cost calculation for responses
2025-09-18 23:41:08 -07:00
Krish DholakiaandGitHub ad6ba8f5c5 Merge pull request #14695 from uc4w6c/fix/mcp-gateway-tools-list
Fix/mcp gateway tools list
2025-09-18 23:40:14 -07:00
Krish DholakiaandGitHub d5a839d971 Merge pull request #14700 from BerriAI/litellm_contributor_prs_09_18_2025_p2
Update Bedrock documentation for Titan V2 encoding_format support + Anthropic - account for 1h vs. 5m cache creation token cost difference + UI - add langsmith_sampling_rate as a dynamic param
2025-09-18 23:38:29 -07:00
Krrish Dholakia 92e841e311 fix: fix test 2025-09-18 23:37:38 -07:00
Krish DholakiaandGitHub b6d5a65fed Merge pull request #14708 from mrFranklin/fix/opik-timezone
fix: timezone issue of opik
2025-09-18 23:35:27 -07:00
Tim Elfrink f5e6246143 Add test for gemini-2.5-flash-image-preview fix
- Test validates correct endpoint routing to :generateContent
- Mock HTTP responses to avoid API limits
- Verify request format uses Gemini contents structure
- Ensure image generation functionality works correctly
2025-09-19 08:06:01 +02:00
Tim Elfrink ea30f752bd Fix Gemini image generation endpoint and request format
- Update endpoint from :predict to :generateContent
- Add Gemini format support for 2.5-flash-image-preview model
- Maintain backward compatibility with existing Imagen models
- Handle response parsing for candidates format
2025-09-19 08:04:54 +02:00
Tim Elfrink 282617f2bc Fix gemini-2.5-flash-image-preview model routing
- Update mode from 'chat' to 'image_generation' for both model variants
- Ensures correct routing to image generation endpoints
- Resolves 400 'request not supported' error for image generation
2025-09-19 07:58:58 +02:00
Ishaan JaffandGitHub 80bd8e007f fix contributor PR linting failing (#14710)
* validate fix

* fix linting error
2025-09-18 20:03:27 -07:00
Krish DholakiaandGitHub 9a6b1651d2 Merge pull request #14707 from ARajan1084/bedrock-guardrail-silent-failure-correction
fix: Bedrock guardrail silent failure correction
2025-09-18 20:03:17 -07:00
Krish DholakiaandGitHub 9c7e1934cc Merge pull request #14652 from BerriAI/litellm_dev_09_17_2025_p2_v2
Anthropic - account for 1h vs. 5m cache creation token cost difference + UI - add langsmith_sampling_rate as a dynamic param
2025-09-18 19:51:02 -07:00
Ishaan Jaffer 2249badd2f docs fix 2025-09-18 19:51:00 -07:00
Krish DholakiaandGitHub 664c83cfb5 Merge branch 'litellm_contributor_prs_09_18_2025_p2' into litellm_dev_09_17_2025_p2_v2 2025-09-18 19:50:55 -07:00
= 14b3cc2f95 Update test_bedrock_guardrails.py 2025-09-18 19:48:16 -07:00
FranklinandGitHub f5785ae41b fix: timezone issue of opik 2025-09-19 10:46:09 +08:00
Ishaan Jaffer 8139569975 docs fix 2025-09-18 19:46:08 -07:00
= ed4bd504ea Revert "removed unnecessary test"
This reverts commit ad663e5240.
2025-09-18 19:45:13 -07:00
Krrish Dholakia a93d6ce775 build(poetry.lock): git push origin 2025-09-18 19:44:38 -07:00
= ad663e5240 removed unnecessary test 2025-09-18 19:37:15 -07:00
Ishaan Jaffer 725cf3627d fix: license check.ini 2025-09-18 19:28:07 -07:00
Krrish Dholakia 565eeca92a build(pyproject.toml): bump versions 2025-09-18 19:24:34 -07:00
Alexsander HamirandGitHub b33d52c6e1 Added missing dependencies (#14706)
* fix: adding dependencies

* fix: added to required

* fix: remove from wrong place

* fix: misspelling
2025-09-18 19:20:24 -07:00
Krrish Dholakia 4d87199266 fix(prometheus.py): fix spend metrics 2025-09-18 19:12:07 -07:00
= 5eff9f6999 added tooltip for guardrail failure state 2025-09-18 19:11:55 -07:00
Krrish Dholakia aa7839e4cb fix: fix test 2025-09-18 19:02:52 -07:00
= 5b080e20c4 removes HTTP exception for faulty guardrail 2025-09-18 18:57:15 -07:00
Krish DholakiaandGitHub f387803655 Merge pull request #14658 from ARajan1084/bedrock-custom-guardrail-fix
fix: check for AWS exceptions despite a 200 response
2025-09-18 18:34:32 -07:00
Krish DholakiaandGitHub 3671c6a97f Merge pull request #14690 from ARajan1084/bedrock_guardrail_logging_fix
fix: Amazon Bedrock incorrect guardrailResponse bug
2025-09-18 18:33:23 -07:00
Krish DholakiaandGitHub 661a42b626 Merge pull request #14698 from BerriAI/litellm_contributor_prs_09_18_2025_p1
Litellm contributor prs 09 18 2025 p1
2025-09-18 18:32:51 -07:00
Alexsander HamirandGitHub 60800698f2 feature: generic object pool (#14702)
* add: generic object pool & tests

Introduced a reusable object pool that can be applied across the codebase.
Note: memory growth is managed via eviction settings—using a hard cap could
reduce performance, so eviction is the preferred safeguard.

* fix: simpler tests
2025-09-18 18:32:45 -07:00
Krish DholakiaandGitHub 7b53edec7e Merge pull request #14701 from ARajan1084/bedrock-guardrail-view
NEW Amazon Bedrock Guardrail Info View in Logs
2025-09-18 18:02:53 -07:00
= 7cfdc6069a upgraded build script to node 20 2025-09-18 18:01:47 -07:00
Krish DholakiaandGitHub 9238e1d3bf Merge pull request #14687 from timelfrink/fix/issue-14685-bedrock-titan-v2-encoding-format
Fix: Bedrock Titan V2 encoding_format parameter support
2025-09-18 17:54:42 -07:00
Krish DholakiaandGitHub 63c26d7a4f Merge branch 'litellm_contributor_prs_09_18_2025_p2' into fix/issue-14685-bedrock-titan-v2-encoding-format 2025-09-18 17:54:33 -07:00
Ishaan Jaffer 114d077cc9 fix: model cost map check 2025-09-18 17:52:56 -07:00
Krish DholakiaandGitHub ccb817d16c Merge pull request #14699 from ARajan1084/bedrock-guardrail-view
NEW Amazon Bedrock Guardrail Info View in Logs
2025-09-18 17:52:19 -07:00
= 90bd1927e2 Update config.yml 2025-09-18 17:50:55 -07:00
= 61d1fabb6e upgraded vitest 2025-09-18 17:39:53 -07:00
= 4f89675267 upgraded to node 20 2025-09-18 17:38:56 -07:00
Ishaan Jaffer c1a967992f fix: model cost map check 2025-09-18 17:37:09 -07:00
= 4f468e9563 Update bedrock_guardrails.py 2025-09-18 17:27:40 -07:00
= 12fed102ba Update bedrock_guardrails.py 2025-09-18 17:25:31 -07:00
Ishaan Jaffer 0626affa11 fix: model cost map check 2025-09-18 17:25:28 -07:00
Krish DholakiaandGitHub c7af9d1b7e Merge pull request #14696 from ARajan1084/bedrock-guardrail-view
NEW Amazon Bedrock Guardrail Info View in Logs
2025-09-18 17:22:17 -07:00