The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Commits on main
docs: add inline comment clarifying intentional falsy id behavior
c039e50 Ryan Crabbe committed 9 months ago
Merge pull request #21822 from dkindlund/fix/admin-ui-logging-metadata
3476452 yuneng-jiang committed 9 months ago
fix(tests): fix flaky test_create_vertex_fine_tune_jobs_mocked - handle background Datadog flush (#21838)
8afeaf8 Ishaan Jaff committed 9 months ago
fix(tests): move test_router_azure_acompletion to llm_translation testing (#21837)
d7b22d3 Ishaan Jaff committed 9 months ago
fix(tests): use monkeypatch.setenv for Redis pool max_connections tests (#21834)
59e5b7e Ishaan Jaff committed 9 months ago
fix(tests): mock test_claude_tool_use_with_gemini to fix flaky CI (#21832)
235a47c Ishaan Jaff committed 9 months ago
Merge pull request #21828 from BerriAI/fix-duplicate-issues-workflow
3da77f3 ryan-crabbe committed 9 months ago
fix: pass prompt as env var in duplicate detection workflows
c7d3198 Ryan Crabbe committed 9 months ago
fix(tests): add atexit.register mock to prevent Click isolation stream closure in test_use_prisma_db_push_flag_behavior (#21829)
fb42490 Ishaan Jaff committed 9 months ago
Merge pull request #21827 from BerriAI/revert-21707-add-watchdog-prisma
f61dc66 yuneng-jiang committed 9 months ago
Revert "fix(proxy): recover from prisma-query-engine zombie process (#21707)"
8c5be4c yuneng-jiang committed 9 months ago
fix(tests): update deprecated Anthropic model in test_user_model_access (#21826)
56a095a Ishaan Jaff committed 9 months ago
fix(tests): clear _async_success_callback in vertex fine-tune mocked tests to prevent Datadog interference (#21825)
a1ead76 Ishaan Jaff committed 9 months ago
fix(tests): isolate auth in vertex passthrough and spend logs date range tests (#21824)
494aad4 Ishaan Jaff committed 9 months ago
fix(tests): isolate litellm.cache and CLI env vars in flaky tests (#21821)
dd6a74d Ishaan Jaff committed 9 months ago
fix(tests): clear ANTHROPIC_BASE_URL/ANTHROPIC_API_BASE in spend log api_base tests (#21820)
6acfa1c Ishaan Jaff committed 9 months ago
fix(test): add timeout to flush() call to prevent 300s hang in CI (#21819)
6ec16d5 Ishaan Jaff committed 9 months ago
fix(ui): preserve logging_settings in key metadata on update
5f0bef3 Darien Kindlund committed 9 months ago
Merge pull request #21815 from BerriAI/litellm_fix_openai_init_params_immutable
b17d37e ryan-crabbe committed 9 months ago
style: add missing PEP 8 blank line before top-level function
dcbac4a Ryan Crabbe committed 9 months ago
fix(tests): replace fake France Azure endpoint in test_router_azure_acompletion (#21818)
c810f5c Ishaan Jaff committed 9 months ago
fix: make LITELLM_CLIENT_SPECIFIC_PARAMS a tuple to prevent TypeError
9e1d83e Ryan Crabbe committed 9 months ago
feat(router): Add complexity-based auto routing strategy (#21789)
1be30f5 shin-bot-litellm committed 9 months ago
fix: update tests to match tuple return type for cached init params
bbbec23 Ryan Crabbe committed 9 months ago
fix(logging): resolve cache_hit before hidden_params short-circuit in _response_cost_calculator (#21816)
886d168 Ishaan Jaff committed 9 months ago
Merge origin/main into litellm_fix_openai_init_params_immutable
72e75c1 Ryan Crabbe committed 9 months ago
fix: make cached OpenAI init params immutable and fix import ordering
20a685f Ryan Crabbe committed 9 months ago
fix(test): add asyncio.sleep(0) before flush() to prevent hang in test_async_no_duplicate_spend_logs (#21813)
8483477 Ishaan Jaff committed 9 months ago
fix(ci): resolve mypy and check_code_and_doc_quality CI failures (#21812)
0a0768b Ishaan Jaff committed 9 months ago