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: