Skip to content

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]

fix missing class object instantiation in custom_llm_server provider documentation's quick start (#5578)

Pradyumna Singh Rathorea4f5fb3c3092
diff --git a/docs/my-website/docs/providers/custom_llm_server.md b/docs/my-website/docs/providers/custom_llm_server.md
index 7b2e1cde298..0807e265024 100644
--- a/docs/my-website/docs/providers/custom_llm_server.md
+++ b/docs/my-website/docs/providers/custom_llm_server.md
@@ -23,6 +23,8 @@ class MyCustomLLM(CustomLLM):
mock_response="Hi!",
) # type: ignore
+my_custom_llm = MyCustomLLM()
+
litellm.custom_provider_map = [ # 👈 KEY STEP - REGISTER HANDLER
{"provider": "my-custom-llm", "custom_handler": my_custom_llm}
]