Skip to main content

Interface: ILLMClientEvent

Defined in: internal/llm-client/types.ts:325

One streamed event.

Properties​

issues?​

optional issues?: IIssue[]

Defined in: internal/llm-client/types.ts:337

For ANSWER_WITHDRAWN: the issues of the output check, or the one issue of an abort; the same the FAILED response carries.


kind​

kind: ELLMClientEventKind

Defined in: internal/llm-client/types.ts:327

What happened.


stepIndex​

stepIndex: number

Defined in: internal/llm-client/types.ts:339

The step of the run (0-based) the event belongs to; 0 for an ask.


text?​

optional text?: string

Defined in: internal/llm-client/types.ts:329

Text chunk for TEXT_DELTA.


toolCall?​

optional toolCall?: IToolCallPart

Defined in: internal/llm-client/types.ts:331

Tool call for TOOL_REQUEST / TOOL_RESULT / RUN_ENDED_BY_TOOL (the call that ended it).


toolCalls?​

optional toolCalls?: IToolCallPart[]

Defined in: internal/llm-client/types.ts:333

For RUN_PAUSED: the tool calls the run waits on, in request order (D102); absent when the answer waits for a review (D99).


toolOutput?​

optional toolOutput?: unknown

Defined in: internal/llm-client/types.ts:335

Tool output for TOOL_RESULT.