mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix(proxy): make exhaustive model resolution return explicit
This commit is contained in:
parent
7e60757407
commit
dd07ec807d
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ def resolve_inference_model(
|
|||
return endpoint_model
|
||||
case "completion":
|
||||
return settings.get("completion_model") or cli_model or endpoint_model or body_model
|
||||
assert_never(kind)
|
||||
return assert_never(kind)
|
||||
|
||||
|
||||
def _normalize_media_type(content_type: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue