mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-18 00:48:01 +00:00
e242356570
Lint fixes (check_code_and_doc_quality job): - Remove unused variable reasoning_effort in gpt_5_transformation.py (F841) - Remove unused timezone imports in mcp_server rest_endpoints.py and server.py (F401) - Remove unused ProxyBaseLLMRequestProcessing import in realtime endpoints.py (F401) - Add BaseRealtimeHTTPConfig to TYPE_CHECKING block in utils.py (F821) - Add PLR0915 per-file-ignore for mcp_server/rest_endpoints.py in ruff.toml Test fixes (litellm_mapped_tests_llms job): - Gemini video cost tests: pass explicit model_info to video_generation_cost() instead of relying on gemini/veo-3.0-generate-preview being in model_prices JSON - Anthropic max_tokens tests: mock get_max_tokens() to return expected values instead of depending on claude-3-5-sonnet-20241022 being in model_prices JSON - Vertex AI pydantic obj test: update from removed gemini-1.5-pro to gemini-2.5-flash, update expected request body to use response_json_schema format - Vertex AI/Bedrock file_content integration tests: update mocks to target base_llm_http_handler.retrieve_file_content (the new code path via ProviderConfigManager) instead of the old vertex_ai_files_instance/ bedrock_files_instance paths Co-authored-by: yuneng-jiang <yuneng-jiang@users.noreply.github.com>
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/test_litellm
This folder can only run mock tests.