@uservane/copilotkit: UseUserVaneCopilotResolutionResult
Type Alias: UseUserVaneCopilotResolutionResult
Section titled “Type Alias: UseUserVaneCopilotResolutionResult”UseUserVaneCopilotResolutionResult =
object
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:24
Properties
Section titled “Properties”firedKeys
Section titled “firedKeys”firedKeys:
ReadonlySet<string>
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:30
Dedup keys already fired this mount lifetime.
isLoading
Section titled “isLoading”isLoading:
boolean
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:26
latestMessageId
Section titled “latestMessageId”latestMessageId:
string|undefined
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:28
Latest assistant message id from the current transcript (if any).
stopGeneration
Section titled “stopGeneration”stopGeneration: () =>
void
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:39
Stop the in-flight generation and mark the turn suppressed so the subsequent isLoading true->false edge does not capture feedback. Prefer this over calling CopilotKit’s stopGeneration directly when you own the stop control; the default CopilotChat stop button also aborts the shared agent (we detect that via onStopGeneration when it routes through our hook instance, and via a cleared success path otherwise).
Returns
Section titled “Returns”void
threadId
Section titled “threadId”threadId:
string|undefined
Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:25