MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / callerWithUnwrap

Function callerWithUnwrap

common/src/util/__tests__/error-abort.test.ts:336–338  ·  view source on GitHub ↗
(shouldAbort: boolean)

Source from the content-addressed store, hash-verified

334 }
335
336 async function callerWithUnwrap(shouldAbort: boolean): Promise<string> {
337 return unwrapPromptResult(await mockLlmCall(shouldAbort))
338 }
339
340 async function outerCaller(shouldAbort: boolean): Promise<{ result: string; wasAborted: boolean }> {
341 try {

Callers 1

outerCallerFunction · 0.85

Calls 2

unwrapPromptResultFunction · 0.90
mockLlmCallFunction · 0.85

Tested by

no test coverage detected