Skip to content
1 min read · 56 words

Type Alias: EmitThoughtFn

ts
type EmitThoughtFn = (content: TurnStreamableContent) => void;

A function that emits a thought event on the @nhtio/adk!TurnRunner.

Parameters

ParameterType
contentTurnStreamableContent

Returns

void

Remarks

Injected into @nhtio/adk!TurnContext so middleware can surface reasoning trace chunks without holding a reference to the runner or its emitter.