fix: remove trace methods [LET-4059] (#4232)

remove trace methods
This commit is contained in:
Sarah Wooders
2025-08-26 20:47:09 -07:00
committed by GitHub
parent da14c6589f
commit 3b7506557a
2 changed files with 0 additions and 3 deletions

View File

@@ -249,7 +249,6 @@ class ToolExecutionSandbox:
logger.error(f"Executing tool {self.tool_name} has an unexpected error: {e}")
raise e
@trace_method
def run_local_dir_sandbox_directly(
self,
sbx_config: SandboxConfig,

View File

@@ -155,7 +155,6 @@ class AsyncToolSandboxLocal(AsyncToolSandboxBase):
if not settings.debug:
await asyncio.to_thread(os.remove, temp_file_path)
@trace_method
async def _prepare_venv(self, local_configs, venv_path: str, env: Dict[str, str]):
"""
Prepare virtual environment asynchronously (in a background thread).
@@ -179,7 +178,6 @@ class AsyncToolSandboxLocal(AsyncToolSandboxBase):
)
log_event(name="finish install_pip_requirements_for_sandbox", attributes={"local_configs": local_configs.model_dump_json()})
@trace_method
async def _execute_tool_subprocess(
self, sbx_config, python_executable: str, temp_file_path: str, env: Dict[str, str], cwd: str
) -> ToolExecutionResult: