Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Convert debug env variable to lowercase to prevent mistakes by mixing cases

Jakub Novak71754a39ab78
diff --git a/packages/python-sdk/e2b/connection_config.py b/packages/python-sdk/e2b/connection_config.py
index 55ec0e8d3..8b0a58e0b 100644
--- a/packages/python-sdk/e2b/connection_config.py
+++ b/packages/python-sdk/e2b/connection_config.py
@@ -12,7 +12,7 @@ class ConnectionConfig:
@staticmethod
def _debug():
- return os.getenv("E2B_DEBUG", "false") == "true"
+ return os.getenv("E2B_DEBUG", "false").lower() == "true"
@staticmethod
def _api_key():