Takaro - v0.6.0
    Preparing search index...

    Function instrumentAnthropicAiClient

    • Instrument an Anthropic AI client with Sentry tracing Can be used across Node.js, Cloudflare Workers, and Vercel Edge

      Type Parameters

      • T extends object

        The type of the client that extends object

      Parameters

      • anthropicAiClient: T
      • Optionaloptions: AnthropicAiOptions

        Optional configuration for recording inputs and outputs

      Returns T

      The instrumented client with the same type as the input