From 49a9d0d1a1008b34cc83d4ea0ec425142eddd720 Mon Sep 17 00:00:00 2001 From: Daniel Maddern Date: Sat, 22 Aug 2026 14:13:15 +0700 Subject: [PATCH] Fix RunPod API client requests --- tools/runpod_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/runpod_api.py b/tools/runpod_api.py index 7a60469..ae4160a 100644 --- a/tools/runpod_api.py +++ b/tools/runpod_api.py @@ -27,6 +27,7 @@ def request(method: str, path: str, body=None, query=None): url += "?" + urllib.parse.urlencode(query) data = None if body is None else json.dumps(body).encode("utf-8") call = urllib.request.Request(url, data=data, method=method) + call.add_header("User-Agent", "h3-blackwell-runtime/0.1") call.add_header("Authorization", f"Bearer {key}") call.add_header("Accept", "application/json") if data is not None: