mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
docs(routing.md): add fallbacks being done in order
This commit is contained in:
parent
63f6a9deff
commit
9e9de7f6e2
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue