Skip to main content

Enumeration: ETurnRole

Defined in: contracts/types.ts:47

Sides of a conversation: who produced a turn.

Enumeration Members​

ASSISTANT​

ASSISTANT: "ASSISTANT"

Defined in: contracts/types.ts:51

The model: the answer and the tool calls it asked for.


TOOL​

TOOL: "TOOL"

Defined in: contracts/types.ts:53

Tool results are stored as their own turn so the timeline is complete.


USER​

USER: "USER"

Defined in: contracts/types.ts:49

The end user: the prompt and its files.