Skip to content

Commit 7340553

Browse files
committed
1.0.9
1 parent b57674e commit 7340553

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def generate_explanation(self, run_id: int, mode: AutodocOutputMode, diff: str)
132132
self._check_for_error(resp)
133133
return ExplainAutodocResponse(**resp.json())
134134

135-
def mark_completed(self, run_id: int, pull_request_url: str) -> None:
135+
def mark_completed(self, run_id: str, pull_request_url: str) -> None:
136136
resp = requests.put(
137137
self.server_address + f"/api/autodoc/{run_id}",
138138
headers=self._get_default_headers(),

scripts/mark_run_completed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
parser = argparse.ArgumentParser(description="Mark an autodoc run as completed.")
66
parser.add_argument("--server-address", type=str, required=True, help="The address of the RunLLM server")
77
parser.add_argument("--api-key", type=str, required=True, help="The API key to use for the RunLLM server")
8-
parser.add_argument("--run-id", type=int, required=True, help="The GH action run id")
8+
parser.add_argument("--run-id", type=str, required=True, help="The GH action run id")
99
parser.add_argument("--pr-url", type=str, required=True, help="The URL of the pull request")
1010
args = parser.parse_args()
1111

0 commit comments

Comments
 (0)