5 environment variables are read in code but not listed in any env example or doc (COVERAGE_RUN, GRADIO_TEMP_DIR, SD_WEBUI_LOG_LEVEL, SD_WEBUI_RESTART, …)
if not os.environ.get("COVERAGE_RUN"):- modules/ui_tempdir.py:95 (opens in new tab): if gradio_temp_dir := os.environ.get("GRADIO_TEMP_DIR"):
- modules/logging_config.py:30 (opens in new tab): loglevel = os.environ.get("SD_WEBUI_LOG_LEVEL")
- modules/restart.py:11 (opens in new tab): return bool(os.environ.get('SD_WEBUI_RESTART'))
- modules/logging_config.py:44 (opens in new tab): if os.environ.get("SD_WEBUI_RICH_LOG"):
An agent has to guess a value the app expects, or it runs with a silently different configuration.