forked from phoenix/litellm-mirror
* fix(factory.py): ensure tool call converts image url Fixes https://github.com/BerriAI/litellm/issues/6953 * fix(transformation.py): support mp4 + pdf url's for vertex ai Fixes https://github.com/BerriAI/litellm/issues/6936 * fix(http_handler.py): mask gemini api key in error logs Fixes https://github.com/BerriAI/litellm/issues/6963 * docs(prometheus.md): update prometheus FAQs * feat(auth_checks.py): ensure specific model access > wildcard model access if wildcard model is in access group, but specific model is not - deny access * fix(auth_checks.py): handle auth checks for team based model access groups handles scenario where model access group used for wildcard models * fix(internal_user_endpoints.py): support adding guardrails on `/user/update` Fixes https://github.com/BerriAI/litellm/issues/6942 * fix(key_management_endpoints.py): fix prepare_metadata_fields helper * fix: fix tests * build(requirements.txt): bump openai dep version fixes proxies argument * test: fix tests * fix(http_handler.py): fix error message masking * fix(bedrock_guardrails.py): pass in prepped data * test: fix test * test: fix nvidia nim test * fix(http_handler.py): return original response headers * fix: revert maskedhttpstatuserror * test: update tests * test: cleanup test * fix(key_management_endpoints.py): fix metadata field update logic * fix(key_management_endpoints.py): maintain initial order of guardrails in key update * fix(key_management_endpoints.py): handle prepare metadata * fix: fix linting errors * fix: fix linting errors * fix: fix linting errors * fix: fix key management errors * fix(key_management_endpoints.py): update metadata * test: update test * refactor: add more debug statements * test: skip flaky test * test: fix test * fix: fix test * fix: fix update metadata logic * fix: fix test * ci(config.yml): change db url for e2e ui testing |
||
---|---|---|
.. | ||
test_llm_response_utils | ||
base_llm_unit_tests.py | ||
base_rerank_unit_tests.py | ||
conftest.py | ||
dog.wav | ||
Readme.md | ||
test_anthropic_completion.py | ||
test_azure_ai.py | ||
test_azure_openai.py | ||
test_bedrock_completion.py | ||
test_cohere.py | ||
test_convert_dict_to_image.py | ||
test_databricks.py | ||
test_deepseek_completion.py | ||
test_fireworks_ai_translation.py | ||
test_gemini.py | ||
test_gpt4o_audio.py | ||
test_groq.py | ||
test_jina_ai.py | ||
test_max_completion_tokens.py | ||
test_mistral_api.py | ||
test_nvidia_nim.py | ||
test_openai.py | ||
test_openai_o1.py | ||
test_optional_params.py | ||
test_prompt_caching.py | ||
test_prompt_factory.py | ||
test_text_completion.py | ||
test_text_completion_unit_tests.py | ||
test_vertex.py | ||
test_xai.py |
Unit tests for individual LLM providers.
Name of the test file is the name of the LLM provider - e.g. test_openai.py
is for OpenAI.