Skip to content

@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

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: boolean

Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:26


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: () => 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).

void


threadId: string | undefined

Defined in: @[email protected]_@[email protected]_@[email protected]_@types+react-dom@_hgmx5lydu7o7hgar5vfp6a6qlm/node_modules/@uservane/copilotkit/dist/index.d.ts:25