fix getting provider_specific_deployment

This commit is contained in:
Ishaan Jaff 2024-08-07 15:20:59 -07:00
parent 04b201efed
commit 9cd437135b

View file

@ -3610,7 +3610,7 @@ class Router:
)
provider_specific_deployment = re.match(
f"{custom_llm_provider}/*", deployment.model_name
rf"{custom_llm_provider}/\*$", deployment.model_name
)
# Check if user is trying to use model_name == "*"