feat: add X-Client-ID header for claw402 monitoring (#1414)

This commit is contained in:
shinchan-zhai
2026-03-16 07:33:05 +08:00
committed by GitHub
parent 736d2d385d
commit 1a6b88d77f
+1
View File
@@ -236,6 +236,7 @@ func X402BuildRequest(url string, jsonData []byte) (*http.Request, error) {
return nil, fmt.Errorf("fail to build request: %w", err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-Client-ID", "nofx")
return req, nil
}