본문으로 건너뛰기

Variable: MessageSchema

const MessageSchema: TObject<{ activeVariantPosition: TUnion<[TInteger, TNull]>; branchId: TString; chatId: TString; checkpointChatId: TUnion<[TString, TNull]>; content: TString; contentRevisionCount: TInteger; createdAt: TInteger; id: TString; meta: TRecord<TString, TUnknown>; name: TUnion<[TString, TNull]>; parentId: TUnion<[TString, TNull]>; revision: TInteger; role: TUnion<[TLiteral<"system">, TLiteral<"user">, TLiteral<"assistant">, TLiteral<"tool">, TLiteral<"plugin">]>; updatedAt: TUnion<[TInteger, TNull]>; variantCount: TInteger; }>

Defined in: packages/contracts/src/message.ts:38