Skip to main content
Call as tracing.startLLM() after importing tracing from @coreweave/forge-sdk/agentlens. Start an LLM span as a child of the current Turn. Throws if no Turn is active.

Parameters

LLMInit
required
Type: LLMInit

Returns

LLM

Examples

Last modified on September 30, 2026