Reference
<AssistantRuntimeProvider />
The AssistantRuntimeProvider
provides data and APIs used by assistant-ui components.
Almost all components in assistant-ui require an AssistantRuntimeProvider
around them to function properly.
You must either wrap your app in an AssistantRuntimeProvider
or pass a runtime
to the <Thread />
component instead.
Properties
AssistantRuntimeProvider
runtime:
AssistantRuntime
The runtime to provide to the rest of your app.
children?:
React.ReactNode