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
docs(scheduler.md): cleanup docs to use /chat/completion endpoint
Krrish Dholakia2710bec02db7
diff --git a/docs/my-website/docs/scheduler.md b/docs/my-website/docs/scheduler.mdindex 8329fc2adbe..e59b03eacb7 100644--- a/docs/my-website/docs/scheduler.md+++ b/docs/my-website/docs/scheduler.md@@ -41,7 +41,7 @@ router = Router()try:- _response = await router.schedule_acompletion( # 👈 ADDS TO QUEUE + POLLS + MAKES CALL+ _response = await router.acompletion( # 👈 ADDS TO QUEUE + POLLS + MAKES CALLmodel="gpt-3.5-turbo",messages=[{"role": "user", "content": "Hey!"}],priority=0, # 👈 LOWER IS BETTER@@ -52,13 +52,13 @@ except Exception as e:## LiteLLM Proxy-To prioritize requests on LiteLLM Proxy call our beta openai-compatible `http://localhost:4000/queue` endpoint.+To prioritize requests on LiteLLM Proxy add `priority` to the request.<Tabs><TabItem value="curl" label="curl">```curl-curl -X POST 'http://localhost:4000/queue/chat/completions' \+curl -X POST 'http://localhost:4000/chat/completions' \-H 'Content-Type: application/json' \-H 'Authorization: Bearer sk-1234' \-D '{@@ -128,7 +128,7 @@ router = Router()try:- _response = await router.schedule_acompletion( # 👈 ADDS TO QUEUE + POLLS + MAKES CALL+ _response = await router.acompletion( # 👈 ADDS TO QUEUE + POLLS + MAKES CALLmodel="gpt-3.5-turbo",messages=[{"role": "user", "content": "Hey!"}],priority=0, # 👈 LOWER IS BETTER