Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Hide serve request progress output

Tomas Valenta5db9b3394a17
diff --git a/api-service/codegen/tools/playground/mock/request.py b/api-service/codegen/tools/playground/mock/request.py
index dc16428a4..a11b43b04 100644
--- a/api-service/codegen/tools/playground/mock/request.py
+++ b/api-service/codegen/tools/playground/mock/request.py
@@ -23,7 +23,7 @@ class MockRequestFactory:
def terminal_command(self) -> str:
body = self.generate_body_data()
route_separator = "/" if len(self.route) > 0 and not self.route == "/" else ""
- return f"curl -X {self.method} {self.hostname}{route_separator}{self.route} -H 'Content-Type: application/json' -d {json.dumps(body)}"
+ return f"curl -X {self.method} {self.hostname}{route_separator}{self.route} --no-progress-meter -H 'Content-Type: application/json' -d {json.dumps(body)}"
def generate_body_data(self):
if self.body_template is None: