docs(prod.md): add 'disable load_dotenv' tutorial to docs

This commit is contained in:
Krrish Dholakia 2024-05-14 19:13:22 -07:00
parent 1ab4974773
commit 9eee2f3889
3 changed files with 8 additions and 2 deletions

View file

@ -11,7 +11,7 @@ sys.path.append(os.getcwd())
config_filename = "litellm.secrets"
litellm_mode = os.getenv("LITELLM_PRODUCTION_MODE", "DEV") # "PRODUCTION", "DEV"
litellm_mode = os.getenv("LITELLM_MODE", "DEV") # "PRODUCTION", "DEV"
if litellm_mode == "DEV":
load_dotenv()
from importlib import resources