diff --git a/interpreter/core/llm/llm.py b/interpreter/core/llm/llm.py index 980672db58..1ff86c12dc 100644 --- a/interpreter/core/llm/llm.py +++ b/interpreter/core/llm/llm.py @@ -3,6 +3,9 @@ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True" import sys +# Note: litellm in DEV mode will load .env files from the current directory +# and all parent directories. This can lead to unexpected API keys being loaded +# if there are .env files in parent folders. import litellm litellm.suppress_debug_info = True