Skip to content

Litellm dev 12 11 2024 v2 - #7215

Merged
10 commits merged into
mainfrom
litellm_dev_12_11_2024_v2
Dec 13, 2024
Merged

Litellm dev 12 11 2024 v2#7215
10 commits merged into
mainfrom
litellm_dev_12_11_2024_v2

Conversation

@ghost

@ghost ghost commented Dec 13, 2024

Copy link
Copy Markdown

Title

Relevant issues

Type

🆕 New Feature
🐛 Bug Fix
🧹 Refactoring
📖 Documentation
🚄 Infrastructure
✅ Test

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

Krrish Dholakia and others added 10 commits December 11, 2024 16:00
* add resolver

* handle empty content on bedrock with default content

* use existing default message, tests

* Update tests/llm_translation/test_bedrock_completion.py

* fix tests

* Revert "add resolver"

This reverts commit c717e37.

* fallback to empty

---------

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
if model_name="openai/gpt-3.5-turbo" and fallback=[{"gpt-3.5-turbo"..}] the fallback should just work as expected
@vercel

vercel Bot commented Dec 13, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 5:59pm

@ghost
ghost merged commit 7643b30 into main Dec 13, 2024
@ishaan-berri
ishaan-berri deleted the litellm_dev_12_11_2024_v2 branch March 26, 2026 21:52
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
* feat(bedrock/): add bedrock converse top k param

Closes BerriAI#7087

* Fix bedrock empty content error (BerriAI#7177)

* add resolver

* handle empty content on bedrock with default content

* use existing default message, tests

* Update tests/llm_translation/test_bedrock_completion.py

* fix tests

* Revert "add resolver"

This reverts commit c717e37.

* fallback to empty

---------

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>

* fix(factory.py): handle empty content blocks in messages

Fixes BerriAI#7169

* feat(router.py): add stripped model check to model fallback search

if model_name="openai/gpt-3.5-turbo" and fallback=[{"gpt-3.5-turbo"..}] the fallback should just work as expected

* fix: fix linting error

* fix(factory.py): fix linting error

* fix(factory.py): in base case still support skip empty text blocks

---------

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant