From 158732db59bef197cc59c70eda185b75d0618971 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 26 Mar 2026 12:43:11 +0530 Subject: [PATCH] docs: remove enable_pre_call_checks requirement from order docs Order-based routing and fallback work without enable_pre_call_checks in the current code. Remove the stale requirement from both doc files. Co-Authored-By: Claude Opus 4.6 --- docs/my-website/docs/proxy/load_balancing.md | 8 -------- docs/my-website/docs/routing.md | 9 +-------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/docs/my-website/docs/proxy/load_balancing.md b/docs/my-website/docs/proxy/load_balancing.md index 2dd1ac887ef..a714d205f46 100644 --- a/docs/my-website/docs/proxy/load_balancing.md +++ b/docs/my-website/docs/proxy/load_balancing.md @@ -325,15 +325,8 @@ model_list: model: azure/gpt-4-fallback api_key: os.environ/AZURE_API_KEY_2 order: 2 # 👈 Used when order=1 fails - -router_settings: - enable_pre_call_checks: true # 👈 Required for 'order' to work ``` -:::important -The `order` parameter requires `enable_pre_call_checks: true` in `router_settings`. -::: - ### How order-based fallback works When a request to an `order=1` deployment fails (connection error, 404, 429, etc.), the router automatically tries `order=2` deployments, then `order=3`, and so on. Each order level gets its own set of retries before escalating to the next. @@ -360,7 +353,6 @@ model_list: api_key: os.environ/OPENAI_API_KEY router_settings: - enable_pre_call_checks: true fallbacks: - gpt-4: - gpt-4-fallback # tried after all order levels fail diff --git a/docs/my-website/docs/routing.md b/docs/my-website/docs/routing.md index 4758fef0fbb..5aa655ae212 100644 --- a/docs/my-website/docs/routing.md +++ b/docs/my-website/docs/routing.md @@ -869,13 +869,9 @@ model_list = [ }, ] -router = Router(model_list=model_list, enable_pre_call_checks=True) # 👈 Required for 'order' to work +router = Router(model_list=model_list) ``` -:::important -The `order` parameter requires `enable_pre_call_checks=True` to be set on the Router. -::: - @@ -892,9 +888,6 @@ model_list: model: azure/gpt-4-fallback api_key: os.environ/AZURE_API_KEY_2 order: 2 # 👈 Tried when order=1 fails - -router_settings: - enable_pre_call_checks: true # 👈 Required for 'order' to work ```