Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Change fetch depth for git clone
Tomas Valenta62895df30900
diff --git a/api-service/session/playground/base.py b/api-service/session/playground/base.pyindex 26382cd62..96650e014 100644--- a/api-service/session/playground/base.py+++ b/api-service/session/playground/base.py@@ -52,7 +52,7 @@ class Playground(Session):):await self.make_dir(rootdir)res = await self.run_command(- f"git clone --single-branch --branch {branch} {repo_address} {rootdir}",+ f"git clone --single-branch --depth 1 --branch {branch} {repo_address} {rootdir}",rootdir="/",)print("Repo clone result", res)