docs(routing.md): add fallbacks being done in order

This commit is contained in:
Krrish Dholakia 2024-03-24 12:13:19 -07:00
parent 63f6a9deff
commit 9e9de7f6e2

View file

@ -442,6 +442,8 @@ If a call fails after num_retries, fall back to another model group.
If the error is a context window exceeded error, fall back to a larger model group (if given).
Fallbacks are done in-order - ["gpt-3.5-turbo, "gpt-4", "gpt-4-32k"], will do 'gpt-3.5-turbo' first, then 'gpt-4', etc.
```python
from litellm import Router