Skip to content

@ai-sdk/otel@1.0.162

Choose a tag to compare

@github-actions github-actions released this 03 Nov 01:23
· 22 commits to main since this release
2feaeec

Patch Changes

  • 4d6d830: Support a single telemetry operation for durable WorkflowAgent runs, including the prompt, final output, steps, and tools. Events recorded in the workflow are reported on completion or suspension with their original timestamps. For OpenTelemetry, pass the same OpenTelemetryIdGenerator instance as the tracer provider's idGenerator and sampler and as new OpenTelemetry({ durable }). This explicit bridge carries parent trace context and sampling across steps, reports model spans live with provider requests nested beneath them, and reconstructs the enclosing invoke_agent tree when the run completes. Without the bridge, existing live per-model tracing is preserved. Add typed experimental durable context hooks for telemetry integrations; remove reliance on process-global ID-generator detection.
  • Updated dependencies [857ca45]
  • Updated dependencies [4d6d830]
    • ai@7.0.162