litellm/tests/llm_translation
Krish Dholakia b5850b6b65
Handle azure deepseek reasoning response (#8288) (#8366)
* Handle azure deepseek reasoning response (#8288)

* Handle deepseek reasoning response

* Add helper method + unit test

* Fix: Follow infinity api url format (#8346)

* Follow infinity api url format

* Update test_infinity.py

* fix(infinity/transformation.py): fix linting error

---------

Co-authored-by: vibhavbhat <vibhavb00@gmail.com>
Co-authored-by: Hao Shan <53949959+haoshan98@users.noreply.github.com>
2025-02-07 17:45:51 -08:00
..
test_llm_response_utils Azure OpenAI improvements - o3 native streaming, improved tool call + response format handling (#8292) 2025-02-05 19:38:58 -08:00
base_audio_transcription_unit_tests.py Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
base_embedding_unit_tests.py Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
base_llm_unit_tests.py [BETA] Support OIDC role based access to proxy (#8260) 2025-02-04 21:59:39 -08:00
base_rerank_unit_tests.py LiteLLM Minor Fixes & Improvements (12/05/2024) (#7037) 2024-12-05 00:02:31 -08:00
conftest.py aiohttp_openai/ fixes - allow using aiohttp_openai/gpt-4o (#7598) 2025-01-06 21:39:11 -08:00
dog.wav (feat) Support audio param in responses streaming (#6312) 2024-10-18 19:16:14 +05:30
gettysburg.wav Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
Readme.md LiteLLM Minor Fixes & Improvements (11/29/2024) (#6965) 2024-12-01 05:24:11 -08:00
test_aiohttp_openai.py (proxy - RPS) - Get 2K RPS at 4 instances, minor fix aiohttp_openai/ (#7659) 2025-01-09 17:24:18 -08:00
test_anthropic_completion.py Litellm dev 01 07 2025 p2 (#7622) 2025-01-08 16:56:39 -08:00
test_anthropic_text_completion.py Easier user onboarding via SSO (#8187) 2025-02-02 23:02:33 -08:00
test_aws_base_llm.py (fix) BaseAWSLLM - cache IAM role credentials when used (#7775) 2025-01-14 20:16:22 -08:00
test_azure_ai.py Handle azure deepseek reasoning response (#8288) (#8366) 2025-02-07 17:45:51 -08:00
test_azure_o_series.py Fix azure max retries error (#8340) 2025-02-06 23:20:48 -08:00
test_azure_openai.py Fix azure max retries error (#8340) 2025-02-06 23:20:48 -08:00
test_bedrock_completion.py (Refactor) - migrate bedrock invoke to BaseLLMHTTPHandler class (#8290) 2025-02-05 18:58:55 -08:00
test_bedrock_nova_json.py (Feat) - Add support for structured output on bedrock/nova models + add util litellm.supports_tool_choice (#8264) 2025-02-04 21:47:16 -08:00
test_clarifai_completion.py (Refactor) Code Quality improvement - Use Common base handler for clarifai/ (#7125) 2024-12-09 21:04:48 -08:00
test_cloudflare.py (Refactor) Code Quality improvement - Use Common base handler for cloudflare/ provider (#7127) 2024-12-10 10:12:22 -08:00
test_cohere_generate_api.py fix(acompletion): support fallbacks on acompletion (#7184) 2024-12-11 19:20:54 -08:00
test_cohere.py (Refactor) Code Quality improvement - use Common base handler for Cohere (#7117) 2024-12-09 17:45:29 -08:00
test_convert_dict_to_image.py fix ImageObject conversion (#6584) 2024-11-04 15:46:43 -08:00
test_databricks.py Litellm dev 01 20 2025 p3 (#7890) 2025-01-20 21:46:36 -08:00
test_deepgram.py Litellm dev 12 28 2024 p3 (#7464) 2024-12-28 19:18:58 -08:00
test_deepseek_completion.py Fix deepseek calling - refactor to use base_llm_http_handler (#8266) 2025-02-04 22:30:00 -08:00
test_fireworks_ai_translation.py test: mock fireworks ai test - unstable api 2025-01-22 18:52:11 -08:00
test_gemini.py run ci/cd again 2025-01-29 20:55:49 -08:00
test_gpt4o_audio.py fix(acompletion): support fallbacks on acompletion (#7184) 2024-12-11 19:20:54 -08:00
test_groq.py fix(spend_tracking_utils.py): revert api key pass through fix (#7977) 2025-01-24 21:04:36 -08:00
test_huggingface.py Litellm dev 12 25 2024 p1 (#7411) 2024-12-25 17:36:30 -08:00
test_infinity.py Handle azure deepseek reasoning response (#8288) (#8366) 2025-02-07 17:45:51 -08:00
test_jina_ai.py Litellm 12 02 2024 (#6994) 2024-12-02 22:00:01 -08:00
test_max_completion_tokens.py (Refactor) - migrate bedrock invoke to BaseLLMHTTPHandler class (#8290) 2025-02-05 18:58:55 -08:00
test_mistral_api.py test_multilingual_requests 2024-12-03 20:52:19 -08:00
test_nvidia_nim.py fix(nvidia_nim/embed.py): add 'dimensions' support (#8302) 2025-02-07 16:19:32 -08:00
test_openai_o1.py fix(openai/): allows 'reasoning_effort' param to be passed correctly (#8227) 2025-02-03 22:39:10 -08:00
test_openai.py Fix azure max retries error (#8340) 2025-02-06 23:20:48 -08:00
test_optional_params.py Litellm dev 01 2025 p4 (#7776) 2025-01-14 21:49:25 -08:00
test_prompt_caching.py (feat) openai prompt caching (non streaming) - add prompt_tokens_details in usage response (#6039) 2024-10-03 23:31:10 +05:30
test_prompt_factory.py Litellm dev 01 13 2025 p2 (#7758) 2025-01-14 17:04:01 -08:00
test_rerank.py test_rerank_response_assertions (#7476) 2024-12-30 10:12:56 -08:00
test_router_llm_translation_tests.py Litellm add router to base llm testing (#7202) 2024-12-13 19:16:28 -08:00
test_text_completion_unit_tests.py huggingface/mistralai/Mistral-7B-Instruct-v0.3 2025-01-13 18:42:36 -08:00
test_text_completion.py (fix) litellm.text_completion raises a non-blocking error on simple usage (#6546) 2024-11-04 15:47:48 -08:00
test_together_ai.py LiteLLM Minor Fixes & Improvements (12/05/2024) (#7037) 2024-12-05 00:02:31 -08:00
test_triton.py [Bug fix ]: Triton /infer handler incompatible with batch responses (#7337) 2024-12-20 20:59:40 -08:00
test_unit_test_bedrock_invoke.py (Refactor) - migrate bedrock invoke to BaseLLMHTTPHandler class (#8290) 2025-02-05 18:58:55 -08:00
test_vertex.py LiteLLM Minor Fixes & Improvements (01/16/2025) - p2 (#7828) 2025-02-02 23:17:50 -08:00
test_voyage_ai.py (fix) unable to pass input_type parameter to Voyage AI embedding mode (#7276) 2024-12-17 19:23:49 -08:00
test_watsonx.py Deepseek r1 support + watsonx qa improvements (#7907) 2025-01-21 23:13:15 -08:00
test_xai.py test commit on main 2025-01-16 20:52:55 -08:00

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.