Skip to main content

Enumeration: EPartKind

Defined in: contracts/types.ts:64

Kinds of turn parts: the discriminant of TTurnPart.

Enumeration Members​

FILE​

FILE: "FILE"

Defined in: contracts/types.ts:68

A pointer to a stored file (IFilePart).


INLINE_FILE​

INLINE_FILE: "INLINE_FILE"

Defined in: contracts/types.ts:74

Only in LLMClient messages: bytes inlined for the model.


TEXT​

TEXT: "TEXT"

Defined in: contracts/types.ts:66

Plain text (ITextPart).


TOOL_CALL​

TOOL_CALL: "TOOL_CALL"

Defined in: contracts/types.ts:70

The model's request for one tool call (IToolCallPart).


TOOL_RESULT​

TOOL_RESULT: "TOOL_RESULT"

Defined in: contracts/types.ts:72

What came back for one tool call (IToolResultPart).