litellm/litellm/llms
yuneng-jiang 5cec43cbb6
Merge pull request #24802 from BerriAI/litellm_/modest-easley
[Refactor] Extract helper methods in guardrail handlers to fix PLR0915
2026-03-30 11:42:12 -07:00
..
a2a [Refactor] Extract helper methods in guardrail handlers to fix PLR0915 2026-03-30 10:41:45 -07:00
ai21/chat
aiml style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
aiohttp_openai/chat
amazon_nova style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
anthropic [Refactor] Extract helper methods in guardrail handlers to fix PLR0915 2026-03-30 10:41:45 -07:00
aws_polly style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
azure feat(fine-tuning): address greptile review feedback (greploop iteration 4) 2026-03-27 20:04:41 +05:30
azure_ai Apply Black formatting to 11 files 2026-03-21 15:05:53 -07:00
base_llm fix(proxy): OpenAI Moderation post-call guardrail response not captured for logging 2026-03-23 15:39:22 +01:00
baseten style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
bedrock Refactor _supports_native_structured_outputs to use standard supports_* utility pattern 2026-03-26 21:49:03 -04:00
bedrock_mantle/chat feat(provider): add Amazon Bedrock Mantle as a first-class provider 2026-03-05 00:03:40 -05:00
black_forest_labs [Feat] - Ishaan main merge branch (#23596) 2026-03-14 09:40:00 -07:00
brave/search fix(mypy): fix scattered 1-off type errors across 14 files 2026-03-13 00:08:57 +00:00
bytez style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
cerebras
chatgpt style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
clarifai/chat style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
cloudflare/chat
codestral/completion fix(types): remove StreamingChoices from ModelResponse, use ModelResponseStream 2026-02-20 17:47:42 -03:00
cohere fix(proxy): OpenAI Moderation post-call guardrail response not captured for logging 2026-03-23 15:39:22 +01:00
cometapi style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
compactifai style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
custom_httpx [Staging] - Ishaan March 17th (#23903) 2026-03-18 15:09:01 -07:00
dashscope fix: remove list-to-str transformation from dashscope 2026-02-19 07:30:13 +00:00
databricks style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
dataforseo/search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
datarobot/chat
deepgram
deepinfra style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
deepseek
deprecated_providers fix(mypy): resolve type checking errors in 5 files (#20627) 2026-02-06 18:34:55 -08:00
docker_model_runner/chat style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
duckduckgo/search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
elevenlabs style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
empower/chat
exa_ai/search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
fal_ai style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
featherless_ai/chat fix(featherless_ai): use correct FEATHERLESS_AI_API_KEY env var name 2026-03-01 17:11:58 +01:00
firecrawl style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
fireworks_ai fix(fireworks): skip #transform=inline for base64 data URLs (#23729) 2026-03-16 22:30:18 -07:00
friendliai/chat
galadriel/chat
gemini feat(gemini): normalize AI Studio file retrieve URL and harden tests 2026-03-27 20:43:19 +05:30
gigachat style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
github/chat
github_copilot style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
google_pse/search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
gradient_ai/chat style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
groq
heroku/chat style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
hosted_vllm style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
huggingface style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
hyperbolic
infinity style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
jina_ai style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
lambda_ai style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
langgraph style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
lemonade style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
linkup style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
litellm_proxy Root cause fix - migrate all logging update to use 1 function - for centralized kwarg updates (#23659) 2026-03-15 23:21:01 -07:00
llamafile/chat style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
lm_studio style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
manus style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
meta_llama/chat
milvus/vector_stores
minimax style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
mistral fix(proxy): address Greptile review — streaming request_data, OCR backward compat, test coverage 2026-03-23 15:39:23 +01:00
moonshot/chat Apply Black formatting to 11 files 2026-03-21 15:05:53 -07:00
morph
nebius
nlp_cloud
novita/chat
nscale/chat
nvidia_nim style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
oci style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
ollama style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
oobabooga
openai feat(fine-tuning): address greptile review feedback (greploop iteration 5) 2026-03-27 20:04:41 +05:30
openai_like style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
openrouter style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
ovhcloud Apply Black formatting to 11 files 2026-03-21 15:05:53 -07:00
parallel_ai/search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
pass_through fix(proxy): OpenAI Moderation post-call guardrail response not captured for logging 2026-03-23 15:39:22 +01:00
perplexity [Feat] - Ishaan main merge branch (#23596) 2026-03-14 09:40:00 -07:00
petals
pg_vector/vector_stores style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
predibase
ragflow style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
recraft style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
replicate style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
runwayml [Staging] - Ishaan March 17th (#23903) 2026-03-18 15:09:01 -07:00
s3_vectors style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
sagemaker [Staging] - Ishaan March 17th (#23903) 2026-03-18 15:09:01 -07:00
sambanova style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
sap style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
searchapi style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
searxng style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
serper/search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
snowflake merge: resolve conflicts between main and litellm_oss_staging_03_11_2026 2026-03-12 09:38:31 -03:00
stability style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
tavily/search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
together_ai
topaz
triton
v0 style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
vercel_ai_gateway style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
vertex_ai Merge remote-tracking branch 'origin/main' into litellm_dev_sameer_16_march_week 2026-03-21 15:11:29 -07:00
vllm
volcengine style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
voyage style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
wandb
watsonx style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
xai style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
xinference/image_generation
zai style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
__init__.py
base.py
custom_llm.py
maritalk.py
README.md

File Structure

August 27th, 2024

To make it easy to see how calls are transformed for each model/provider:

we are working on moving all supported litellm providers to a folder structure, where folder name is the supported litellm provider name.

Each folder will contain a *_transformation.py file, which has all the request/response transformation logic, making it easy to see how calls are modified.

E.g. cohere/, bedrock/.