Skip to content

Commit 4eb9946

Browse files
committed
update set with set
1 parent c703be0 commit 4eb9946

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

patchwork/common/tools/code_edit_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def execute(
9898
return f"Error: Unknown action {command}"
9999

100100
if command in {"create", "str_replace", "insert"}:
101-
self.modified_files.update(path.lstrip("/"))
101+
self.modified_files.update({path.lstrip("/")})
102102

103103
return result
104104

patchwork/steps/ReadIssues/ReadIssues.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,11 @@ def run(self) -> dict:
3434
issue_title=self.issue.get("title"),
3535
issue_body=self.issue.get("body"),
3636
issue_comments=self.issue.get("comments"),
37+
issue_description=f"""\
38+
Title:
39+
{self.issue.get("title")}
40+
41+
Description:
42+
{self.issue.get("body")}
43+
"""
3744
)

patchwork/steps/ReadIssues/typed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ class ReadIssuesOutputs(TypedDict):
1717
issue_title: str
1818
issue_body: str
1919
issue_comments: List[str]
20+
issue_description: str

0 commit comments

Comments
 (0)