forked from phoenix/litellm-mirror
docs(config.md): update wildcard docs
This commit is contained in:
parent
1d6c39a607
commit
84482703b8
3 changed files with 5 additions and 5 deletions
|
@ -2937,8 +2937,8 @@ class Router:
|
|||
model_group = kwargs["litellm_params"]["metadata"].get(
|
||||
"model_group", None
|
||||
)
|
||||
|
||||
id = kwargs["litellm_params"].get("model_info", {}).get("id", None)
|
||||
model_info = kwargs["litellm_params"].get("model_info", {}) or {}
|
||||
id = model_info.get("id", None)
|
||||
if model_group is None or id is None:
|
||||
return
|
||||
elif isinstance(id, int):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue