Propagate MCP request context to HTTP calls

This commit is contained in:
lky-spec
2026-04-28 12:22:45 +08:00
parent 30a703a827
commit b536265f93
4 changed files with 162 additions and 16 deletions

View File

@@ -98,6 +98,7 @@ func (c *Claw402DataClient) DoRequest(endpoint string) ([]byte, error) {
signFn := payment.MakeClaw402SignFunc(c.privateKey)
body, err := payment.DoX402Request(
context.Background(),
c.httpClient,
buildReq,
signFn,