fix auto inferring region

This commit is contained in:
Ishaan Jaff 2024-05-10 16:08:05 -07:00
parent c744851d13
commit 7d96272d52
2 changed files with 2 additions and 1 deletions

View file

@ -2560,6 +2560,7 @@ class Router:
# set region (if azure model)
_auto_infer_region = os.environ.get("AUTO_INFER_REGION", False)
if _auto_infer_region == True or _auto_infer_region == "True":
print("Auto inferring region") # noqa
"""
Hiding behind a feature flag
When there is a large amount of LLM deployments this makes startup times blow up