Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Disable compression for now
Tomas Valenta03a2e8cdf07b
diff --git a/packages/python-sdk/e2b/sandbox_async/filesystem/filesystem.py b/packages/python-sdk/e2b/sandbox_async/filesystem/filesystem.pyindex aea3835d1..f07e37d6b 100644--- a/packages/python-sdk/e2b/sandbox_async/filesystem/filesystem.py+++ b/packages/python-sdk/e2b/sandbox_async/filesystem/filesystem.py@@ -39,7 +39,8 @@ class Filesystem:self._rpc = filesystem_connect.FilesystemClient(envd_api_url,- compressor=connect.GzipCompressor,+ # TODO: Fix and enable compression again — the headers compression is not solved for streaming.+ # compressor=e2b_connect.GzipCompressor,async_pool=pool,)diff --git a/packages/python-sdk/e2b/sandbox_async/process/process.py b/packages/python-sdk/e2b/sandbox_async/process/process.pyindex adf9a47ae..c3f5f4236 100644--- a/packages/python-sdk/e2b/sandbox_async/process/process.py+++ b/packages/python-sdk/e2b/sandbox_async/process/process.py@@ -34,8 +34,8 @@ class Process:self._connection_config = connection_configself._rpc = process_connect.ProcessClient(envd_api_url,- # TODO: Fix and enable compression again — the headers compression is not solved.- # compressor=connect.GzipCompressor,+ # TODO: Fix and enable compression again — the headers compression is not solved for streaming.+ # compressor=e2b_connect.GzipCompressor,async_pool=pool,)diff --git a/packages/python-sdk/e2b/sandbox_sync/filesystem/filesystem.py b/packages/python-sdk/e2b/sandbox_sync/filesystem/filesystem.pyindex bd9f08807..775d41f7e 100644--- a/packages/python-sdk/e2b/sandbox_sync/filesystem/filesystem.py+++ b/packages/python-sdk/e2b/sandbox_sync/filesystem/filesystem.py@@ -42,7 +42,8 @@ class Filesystem:self._rpc = filesystem_connect.FilesystemClient(envd_api_url,- compressor=e2b_connect.GzipCompressor,+ # TODO: Fix and enable compression again — the headers compression is not solved for streaming.+ # compressor=e2b_connect.GzipCompressor,pool=pool,)diff --git a/packages/python-sdk/e2b/sandbox_sync/process/process_handle.py b/packages/python-sdk/e2b/sandbox_sync/process/process_handle.pyindex f803bd6ed..deac5e413 100644--- a/packages/python-sdk/e2b/sandbox_sync/process/process_handle.py+++ b/packages/python-sdk/e2b/sandbox_sync/process/process_handle.py@@ -44,6 +44,7 @@ class ProcessHandle:None,]:for event in self._events:+ print("event ->>>>", event)if event.event.HasField("data"):if event.event.data.stdout:out = event.event.data.stdout.decode()