CompletionDetailSpanModifiers

Opt-in span modifiers that capture completion arguments and result values. May contain sensitive data — add to spanModifiers explicitly, not included in defaults. Note: gen_ai.completion.* attributes are http4k custom conventions, not official OTel semantic conventions.

Functions

Link copied to clipboard
open operator override fun invoke(sb: Span, request: McpRequest)
open operator override fun invoke(sb: Span, response: McpResponse)