跳转到内容

createTurnSpan

此内容尚不支持你的语言。

function createTurnSpan(options, parent?): Span<TurnSpanData>;

Create a new turn span. A turn represents one agent loop iteration. The span will not be started automatically.

Parameter Type

options

DeepPartial<CreateSpanOptions<TurnSpanData>> & object

parent?

| Span<any> | Trace

Span<TurnSpanData>