Make VERBOSE_DEBUG configurable via environment variable
- Adds environment variable support - Defaults to "false" if not set - Case-insensitive check for "true" - Simplifies debugging configuration - Maintains backward compatibility
This commit is contained in:
@@ -20,7 +20,7 @@ import tiktoken
|
||||
|
||||
from lightrag.prompt import PROMPTS
|
||||
|
||||
VERBOSE_DEBUG = False
|
||||
VERBOSE_DEBUG = os.getenv("VERBOSE", "false").lower() == "true"
|
||||
|
||||
|
||||
def verbose_debug(msg: str, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user