LiteLLM Minor Fixes & Improvements (10/24/2024) - #6421
Merged
15 commits merged intoOct 25, 2024
Merged
Conversation
added 4 commits
October 24, 2024 09:27
Returns True if just api base is required and api base is passed
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…etails (image cost + 'supports_image_input' flag)
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
fzowl
pushed a commit
to fzowl/litellm
that referenced
this pull request
Jun 24, 2026
* fix(utils.py): support passing dynamic api base to validate_environment Returns True if just api base is required and api base is passed * fix(litellm_pre_call_utils.py): feature flag sending client headers to llm api Fixes BerriAI#6410 * fix(anthropic/chat/transformation.py): return correct error message * fix(http_handler.py): add error response text in places where we expect it * fix(factory.py): handle base case of no non-system messages to bedrock Fixes BerriAI#6411 * feat(cohere/embed): Support cohere image embeddings Closes BerriAI#6413 * fix(__init__.py): fix linting error * docs(supported_embedding.md): add image embedding example to docs * feat(cohere/embed): use cohere embedding returned usage for cost calc * build(model_prices_and_context_window.json): add embed-english-v3.0 details (image cost + 'supports_image_input' flag) * fix(cohere_transformation.py): fix linting error * test(test_proxy_server.py): cleanup test * test: cleanup test * fix: fix linting errors
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Returns True if just api base is required and api base is passed
Fixes #6410
fix(anthropic/chat/transformation.py): return correct error message
fix(http_handler.py): add error response text in places where we expect it
fix(factory.py): handle base case of no non-system messages to bedrock
Fixes #6411
Closes #6413
fix(init.py): fix linting error
docs(supported_embedding.md): add image embedding example to docs
feat(cohere/embed): use cohere embedding returned usage for cost calc
build(model_prices_and_context_window.json): add embed-english-v3.0 details (image cost + 'supports_image_input' flag)
fix(cohere_transformation.py): fix linting error
test(test_proxy_server.py): cleanup test
test: cleanup test