effect-io-ai

Package: @effect/ai-anthropic
Module: AnthropicTelemetry

AnthropicTelemetry.RequestAttributes

Telemetry attributes which are part of the GenAI specification and are namespaced by gen_ai.anthropic.request.

Signature

export interface RequestAttributes {
  /**
   * Whether extended thinking is enabled.
   */
  readonly extendedThinking?: boolean | null | undefined
  /**
   * The budget tokens for extended thinking.
   */
  readonly thinkingBudgetTokens?: number | null | undefined
}

Source

Since v4.0.0