Contents

reasoning(entryID:action:)

A reasoning event addressed to a transcript entry.

Declaration

static func reasoning(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Reasoning.Action) -> LanguageModelExecutorGenerationChannel.Event

Parameters

  • entryID:

    The reasoning entry this event targets. Pass nil to coalesce consecutive reasoning deltas into the trailing reasoning entry; pass an explicit id when you need a stable anchor.

  • action:

    The operation to perform on the reasoning entry.

See Also

Handling the channel events