File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 33import subprocess
44from pathlib import Path
55
6- from patchwork .common .tools import Tool
6+ from patchwork .common .tools . tool import Tool
77
88
99class BashTool (Tool , tool_name = "bash" ):
Original file line number Diff line number Diff line change 44from pathlib import Path
55from typing import Literal
66
7- from patchwork .common .tools import Tool
7+ from patchwork .common .tools . tool import Tool
88
99
1010class CodeEditTool (Tool , tool_name = "code_edit_tool" ):
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ def run(self) -> dict:
3838 self .inputs ["issue_description" ] = outputs
3939 outputs = _ResolveIssue (self .inputs ).run ()
4040 self .inputs .update (outputs )
41- # self.inputs["pr_header"] = f'This pull request from patchwork fixes {self.inputs["issue_url"]}.'
42- # outputs = PR(self.inputs).run()
43- # self.inputs.update(outputs)
41+ self .inputs ["pr_header" ] = f'This pull request from patchwork fixes { self .inputs ["issue_url" ]} .'
42+ outputs = PR (self .inputs ).run ()
43+ self .inputs .update (outputs )
4444
4545 return self .inputs
You can’t perform that action at this time.
0 commit comments