fix getting provider_specific_deployment

This commit is contained in:
Ishaan Jaff 2024-08-07 15:20:59 -07:00
parent 322258a1fa
commit a0b2c107c4

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 == "*"