fix: gateway /model also needs normalize_provider for 'auto' resolution
This commit is contained in:
@@ -1321,6 +1321,7 @@ class GatewayRunner:
|
||||
parse_model_input,
|
||||
validate_requested_model,
|
||||
curated_models_for_provider,
|
||||
normalize_provider,
|
||||
_PROVIDER_LABELS,
|
||||
)
|
||||
|
||||
@@ -1343,6 +1344,8 @@ class GatewayRunner:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
current_provider = normalize_provider(current_provider)
|
||||
|
||||
if not args:
|
||||
provider_label = _PROVIDER_LABELS.get(current_provider, current_provider)
|
||||
lines = [
|
||||
|
||||
Reference in New Issue
Block a user