MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readBody

Function readBody

packages/plugins/mcp/src/sdk/probe-shape.ts:289–295  ·  view source on GitHub ↗
(response: {
        readonly text: Effect.Effect<string, unknown>;
      })

Source from the content-addressed store, hash-verified

287 );
288
289 const readBody = (response: {
290 readonly text: Effect.Effect<string, unknown>;
291 }): Effect.Effect<string> =>
292 response.text.pipe(
293 Effect.timeout(Duration.millis(timeoutMs)),
294 Effect.catch(() => Effect.succeed("")),
295 );
296
297 const classify = (
298 response: {

Callers 1

classifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected