getAgentRunInfoElementOrThrow

Retrieves the AgentRunInfoContextElement from the current coroutine context, if present.

Return

The AgentRunInfoContextElement if it exists in the current coroutine context, or null if not found.