mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
* fix(vertex_ai/gemini/transformation.py): handle 'http://' in gemini process url * refactor(router.py): refactor '_prompt_management_factory' to use logging obj get_chat_completion logic deduplicates code * fix(litellm_logging.py): update 'get_chat_completion_prompt' to update logging object messages * docs(prompt_management.md): update prompt management to be in beta given feedback - this still needs to be revised (e.g. passing in user message, not ignoring) * refactor(prompt_management_base.py): introduce base class for prompt management allows consistent behaviour across prompt management integrations * feat(prompt_management_base.py): support adding client message to template message + refactor langfuse prompt management to use prompt management base * fix(litellm_logging.py): log prompt id + prompt variables to langfuse if set allows tracking what prompt was used for what purpose * feat(litellm_logging.py): log prompt management metadata in standard logging payload + use in langfuse allows logging prompt id / prompt variables to langfuse * test: fix test * fix(router.py): cleanup unused imports * fix: fix linting error * fix: fix trace param typing * fix: fix linting errors * fix: fix code qa check |
||
|---|---|---|
| .. | ||
| test_llm_response_utils | ||
| base_audio_transcription_unit_tests.py | ||
| base_embedding_unit_tests.py | ||
| base_llm_unit_tests.py | ||
| base_rerank_unit_tests.py | ||
| conftest.py | ||
| dog.wav | ||
| gettysburg.wav | ||
| Readme.md | ||
| test_aiohttp_openai.py | ||
| test_anthropic_completion.py | ||
| test_anthropic_text_completion.py | ||
| test_azure_ai.py | ||
| test_azure_o1.py | ||
| test_azure_openai.py | ||
| test_bedrock_completion.py | ||
| test_clarifai_completion.py | ||
| test_cloudflare.py | ||
| test_cohere.py | ||
| test_cohere_generate_api.py | ||
| test_convert_dict_to_image.py | ||
| test_databricks.py | ||
| test_deepgram.py | ||
| test_deepseek_completion.py | ||
| test_fireworks_ai_translation.py | ||
| test_gemini.py | ||
| test_gpt4o_audio.py | ||
| test_groq.py | ||
| test_huggingface.py | ||
| test_infinity.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_rerank.py | ||
| test_router_llm_translation_tests.py | ||
| test_text_completion.py | ||
| test_text_completion_unit_tests.py | ||
| test_together_ai.py | ||
| test_triton.py | ||
| test_vertex.py | ||
| test_voyage_ai.py | ||
| test_watsonx.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.