@uservane/copilotkit: ChatMessageLike
Type Alias: ChatMessageLike
Section titled “Type Alias: ChatMessageLike”ChatMessageLike =
object
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:85
Pure turn-resolution logic for CopilotKit hosts.
Resolution signal: isLoading true -> false (generation complete). Dedup: latest assistant message id (or a synthetic turn key). Suppression: stopGeneration / abort / HITL interrupt (no genuine resolution).
Kept free of React and CopilotKit imports so unit tests exercise the edge without a live runtime.
Properties
Section titled “Properties”
optionalid?:string|null
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:86
isTextMessage?
Section titled “isTextMessage?”
optionalisTextMessage?: () =>boolean
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:89
Legacy gql Message class shape (optional).
Returns
Section titled “Returns”boolean
optionalrole?:string|null
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:87