Type Alias: TurnJSON
@providerprotocol/ai / @providerprotocol/ai / TurnJSON
Type Alias: TurnJSON
Section titled “Type Alias: TurnJSON”TurnJSON =
Omit<Turn,"messages"|"response"> &object
Defined in: src/types/turn.ts:126
Turn serialized to JSON format. Messages are converted to MessageJSON, response is omitted (computed from messages).
Type Declaration
Section titled “Type Declaration”messages
Section titled “messages”messages:
MessageJSON[]
Remarks
Section titled “Remarks”This type is derived from Turn and should stay in sync with it.