Wraps a non-streaming provider call with request-scoped tracing metadata.
Generates a unique requestId and start time
Injects request context into the AIRequest
Attaches timing and request metadata to the AIResponse
Intended for provider implementations to ensure consistent tracing and observability across
capability adapters without duplicating request-timing logic.
Wraps a non-streaming provider call with request-scoped tracing metadata.
Intended for provider implementations to ensure consistent tracing and observability across capability adapters without duplicating request-timing logic.