litellm/tests/local_testing
Ishaan Jaff f9ce754817
[Feat] Add litellm.supports_reasoning() util to track if an llm supports reasoning (#9923)
* add supports_reasoning for xai models

* add "supports_reasoning": true for o1 series models

* add supports_reasoning util

* add litellm.supports_reasoning

* add supports reasoning for claude 3-7 models

* add deepseek as supports reasoning

* test_supports_reasoning

* add supports reasoning to model group info

* add supports_reasoning

* docs supports reasoning

* fix supports_reasoning test

* "supports_reasoning": false,

* fix test

* supports_reasoning
2025-04-11 17:56:04 -07:00
..
.litellm_cache
example_config_yaml
test_configs
test_model_response_typing
adroit-crow-413218-bc47f303efc9.json
azure_fine_tune.jsonl
batch_job_results_furniture.jsonl
cache_unit_tests.py
conftest.py
create_mock_standard_logging_payload.py
data_map.txt
eagle.wav
example.jsonl VertexAI non-jsonl file storage support (#9781) 2025-04-09 14:01:48 -07:00
gettysburg.wav
large_text.py
messages_with_counts.py
model_cost.json
openai_batch_completions_router.jsonl
openai_batch_completions.jsonl
speech_vertex.mp3
stream_chunk_testdata.py
test_acompletion_fallbacks.py
test_acompletion.py
test_acooldowns_router.py
test_add_function_to_prompt.py
test_add_update_models.py Allow team admins to add/update/delete models on UI + show api base and model id on request logs (#9572) 2025-03-27 12:06:31 -07:00
test_aim_guardrails.py Support post-call guards for stream and non-stream responses 2025-03-13 08:53:54 +02:00
test_alangfuse.py
test_amazing_vertex_completion.py Fix VertexAI Credential Caching issue (#9756) 2025-04-04 16:38:08 -07:00
test_anthropic_prompt_caching.py
test_arize_ai.py Merge branch 'main' into litellm_arize_dynamic_logging 2025-03-18 22:13:35 -07:00
test_arize_phoenix.py Litellm contributor prs 02 24 2025 (#8775) 2025-02-24 18:55:48 -08:00
test_assistants.py test_create_delete_assistants 2025-03-25 22:08:06 -07:00
test_async_fn.py
test_audio_speech.py
test_auth_utils.py
test_azure_content_safety.py
test_azure_openai.py
test_azure_perf.py
test_bad_params.py test_completion_invalid_param_cohere 2025-04-02 06:49:11 -07:00
test_basic_python_version.py
test_batch_completion_return_exceptions.py
test_batch_completions.py
test_blocked_user_list.py
test_braintrust.py
test_budget_manager.py
test_caching_handler.py test(test_caching_handler.py): move to in-memory cache - prevent redis flakiness from impacting ci/cd 2025-03-28 13:32:04 -07:00
test_caching_ssl.py
test_caching.py test_redis_caching_llm_caching_ttl 2025-04-02 21:54:35 -07:00
test_class.py
test_completion_cost.py fix(cost_calculator.py): handle custom pricing at deployment level fo… (#9855) 2025-04-09 22:13:10 -07:00
test_completion_with_retries.py
test_completion.py Allow passing thinking param to litellm proxy via client sdk + Code QA Refactor on get_optional_params (get correct values) (#9386) 2025-04-07 21:04:11 -07:00
test_config.py
test_cost_calc.py
test_custom_api_logger.py
test_custom_callback_input.py test fixes - azure deprecated dall-e-2 2025-04-02 20:56:20 -07:00
test_custom_callback_router.py
test_custom_llm.py
test_custom_logger.py
test_disk_cache_unit_tests.py
test_dual_cache.py
test_dynamic_rate_limit_handler.py
test_dynamodb_logs.py
test_embedding.py test_embedding_response_ratelimit_headers 2025-04-11 17:54:54 -07:00
test_exceptions.py feat(azure.py): add azure bad request error support 2025-03-10 15:59:06 -07:00
test_file_types.py
test_function_call_parsing.py
test_function_calling.py Litellm dev 04 05 2025 p2 (#9774) 2025-04-07 21:02:52 -07:00
test_function_setup.py
test_gcs_bucket.py VertexAI non-jsonl file storage support (#9781) 2025-04-09 14:01:48 -07:00
test_get_llm_provider.py test(test_get_llm_provider.py): cover scenario where xai not in model name 2025-03-18 11:04:59 -07:00
test_get_model_file.py
test_get_model_info.py [Feat] Add litellm.supports_reasoning() util to track if an llm supports reasoning (#9923) 2025-04-11 17:56:04 -07:00
test_get_optional_params_embeddings.py
test_get_optional_params_functions_not_supported.py
test_google_ai_studio_gemini.py
test_guardrails_ai.py
test_guardrails_config.py feat(guardrails.py): return specific litellm params in /guardrails/list endpoint 2025-02-10 22:13:58 -08:00
test_health_check.py
test_helicone_integration.py
test_http_parsing_utils.py (Bug fix) - reading /parsing request body when on hypercorn (#8734) 2025-02-25 15:18:04 -08:00
test_img_resize.py
test_lakera_ai_prompt_injection.py Merge pull request #9222 from BerriAI/litellm_snowflake_pr_mar_13 2025-03-13 21:35:39 -07:00
test_langchain_ChatLiteLLM.py
test_langsmith.py
test_least_busy_routing.py build: merge litellm_dev_03_01_2025_p2 2025-03-03 23:05:41 -08:00
test_litellm_max_budget.py
test_literalai.py
test_llm_guard.py
test_load_test_router_s3.py
test_loadtest_router.py
test_logfire.py
test_logging.py
test_longer_context_fallback.py
test_lowest_cost_routing.py
test_lowest_latency_routing.py
test_lunary.py
test_max_tpm_rpm_limiter.py
test_mem_leak.py
test_mem_usage.py
test_mock_request.py Litellm dev 02 12 2025 p1 (#8494) 2025-02-12 22:39:29 -08:00
test_model_alias_map.py
test_model_max_token_adjust.py
test_multiple_deployments.py
test_ollama_local_chat.py
test_ollama_local.py
test_ollama.py Litellm dev 03 08 2025 p3 (#9089) 2025-03-09 18:20:56 -07:00
test_openai_moderations_hook.py
test_opik.py
test_parallel_request_limiter.py Add all /key/generate api params to UI + add metadata fields on team AND org add/update (#8667) 2025-02-19 21:13:06 -08:00
test_pass_through_endpoints.py oops 2025-03-11 08:27:36 -04:00
test_presidio_masking.py
test_profiling_router.py
test_prometheus_service.py
test_prometheus.py
test_prompt_caching.py
test_prompt_injection_detection.py
test_promptlayer_integration.py
test_provider_specific_config.py test: update testing 2025-03-17 22:34:08 -07:00
test_pydantic_namespaces.py
test_pydantic.py
test_register_model.py
test_router_batch_completion.py
test_router_budget_limiter.py
test_router_caching.py Fix: Create RedisClusterCache when startup nodes provided in cache args of router (#9010) 2025-03-06 17:14:32 -08:00
test_router_client_init.py test: fix test - delete env var before running 2025-03-11 20:57:57 -07:00
test_router_cooldowns.py fix(route_llm_request.py): move to using common router, even for clie… (#8966) 2025-03-03 22:57:08 -08:00
test_router_custom_routing.py
test_router_debug_logs.py
test_router_fallback_handlers.py (Feat) - return x-litellm-attempted-fallbacks in responses from litellm proxy (#8558) 2025-02-15 14:54:23 -08:00
test_router_fallbacks.py (Feat) - return x-litellm-attempted-fallbacks in responses from litellm proxy (#8558) 2025-02-15 14:54:23 -08:00
test_router_get_deployments.py build: merge litellm_dev_03_01_2025_p2 2025-03-03 23:05:41 -08:00
test_router_init.py fix: remove client init tests for router - dup behaviour - provider caching already exists 2025-03-10 21:17:36 -07:00
test_router_max_parallel_requests.py
test_router_pattern_matching.py
test_router_policy_violation.py
test_router_retries.py
test_router_tag_routing.py build: merge litellm_dev_03_01_2025_p2 2025-03-03 23:05:41 -08:00
test_router_timeout.py
test_router_utils.py fix(cost_calculator.py): handle custom pricing at deployment level fo… (#9855) 2025-04-09 22:13:10 -07:00
test_router_with_fallbacks.py
test_router.py test fixes - azure deprecated dall-e-2 2025-04-02 20:56:20 -07:00
test_rules.py
test_sagemaker.py test: mock sagemaker tests 2025-03-21 16:21:18 -07:00
test_scheduler.py
test_secret_detect_hook.py
test_simple_shuffle.py
test_spend_calculate_endpoint.py
test_stream_chunk_builder.py Add anthropic thinking + reasoning content support (#8778) 2025-02-24 21:54:30 -08:00
test_streaming.py Support openrouter reasoning_content on streaming (#9094) 2025-03-09 20:03:59 -07:00
test_supabase_integration.py
test_team_config.py
test_text_completion.py fix(ollama/completions/transformation.py): pass prompt, untemplated on /completions request 2025-03-17 18:35:44 -07:00
test_timeout.py
test_together_ai.py
test_token_counter.py fix(utils.py): handle token counter error when invalid message passed in (#8670) 2025-02-19 22:21:34 -08:00
test_tpm_rpm_routing_v2.py fix(response_metadata.py): log the litellm_model_name 2025-03-18 17:46:33 -07:00
test_traceloop.py test: skip redundant test 2025-02-10 22:13:58 -08:00
test_ui_sso_helper_utils.py
test_unit_test_caching.py (Bug fix) - don't log messages in model_parameters in StandardLoggingPayload (#8932) 2025-03-01 13:39:45 -08:00
test_update_spend.py test_batch_update_spend 2025-04-01 07:12:29 -07:00
test_validate_environment.py
test_wandb.py
test_whisper.py Add OpenAI gpt-4o-transcribe support (#9517) 2025-03-26 23:10:25 -07:00
user_cost.json
vertex_ai.jsonl
vertex_batch_completions.jsonl
vertex_key.json
whitelisted_bedrock_models.txt Add anthropic3-7-sonnet (#8766) 2025-02-24 12:59:00 -08:00