From 067ad2eea238dbe65b7ff8c9227db991f1d32d61 Mon Sep 17 00:00:00 2001 From: Xingyao Wang Date: Sat, 4 May 2024 03:37:13 +0800 Subject: [PATCH] remove extra log --- agenthub/codeact_agent/codeact_agent.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/agenthub/codeact_agent/codeact_agent.py b/agenthub/codeact_agent/codeact_agent.py index dfa1cfc68c..35082a5ef7 100644 --- a/agenthub/codeact_agent/codeact_agent.py +++ b/agenthub/codeact_agent/codeact_agent.py @@ -73,15 +73,11 @@ def swe_agent_edit_hack(bash_command: str) -> str: if 'edit' in bash_command: # edit\s(\d+):(\d+)([\s\S]*)end_of_edit # replace - bash_command_before = bash_command bash_command = re.sub( r'edit\s(\d+):(\d+)([\s\S]*)end_of_edit', r'edit \1:\2 <