Browse Source

Remove console leak (#4648)

Engel Nyst 1 year ago
parent
commit
0ea5dcc781
1 changed files with 0 additions and 3 deletions
  1. 0 3
      openhands/core/logger.py

+ 0 - 3
openhands/core/logger.py

@@ -12,9 +12,6 @@ LOG_LEVEL = os.getenv('LOG_LEVEL', 'INFO').upper()
 DEBUG = os.getenv('DEBUG', 'False').lower() in ['true', '1', 'yes']
 DEBUG = os.getenv('DEBUG', 'False').lower() in ['true', '1', 'yes']
 if DEBUG:
 if DEBUG:
     LOG_LEVEL = 'DEBUG'
     LOG_LEVEL = 'DEBUG'
-    import litellm
-
-    litellm.set_verbose = True
 
 
 LOG_TO_FILE = os.getenv('LOG_TO_FILE', 'False').lower() in ['true', '1', 'yes']
 LOG_TO_FILE = os.getenv('LOG_TO_FILE', 'False').lower() in ['true', '1', 'yes']
 DISABLE_COLOR_PRINTING = False
 DISABLE_COLOR_PRINTING = False