AgentRunInfoContextElement
data class AgentRunInfoContextElement(val agentId: String, val runId: String, val agentConfig: AIAgentConfigBase, val strategyName: String) : CoroutineContext.Element(source)
Represents a coroutine context element that holds execution metadata for an agent's run. This metadata includes the agent's identifier, session details, and the strategy used.
This class implements CoroutineContext.Element
, allowing it to be used as a part of a coroutine's context and enabling retrieval of the run-related information within coroutine scopes.