MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / withResponse

Method withResponse

out/cli.cjs:69562–69565  ·  view source on GitHub ↗

* Gets the parsed response data and the raw `Response` instance. * * If you just want to get the raw `Response` instance without parsing it, * you can use asResponse(). * * * 👋 Getting the wrong TypeScript type for `Response`? * Try setting `"moduleResolution": "NodeNext

()

Source from the content-addressed store, hash-verified

69560 *
69561 *
69562 * 👋 Getting the wrong TypeScript type for `Response`?
69563 * Try setting `"moduleResolution": "NodeNext"` if you can,
69564 * or add one of these imports before your first `import … from '@anthropic-ai/sdk'`:
69565 * - `import '@anthropic-ai/sdk/shims/node'` (if you're running on Node)
69566 * - `import '@anthropic-ai/sdk/shims/web'` (otherwise)
69567 */
69568 async withResponse() {

Callers 1

pollMethod · 0.80

Calls 2

parseMethod · 0.95
asResponseMethod · 0.95

Tested by

no test coverage detected