Skip to content

@uservane/vercel-ai: UserVaneProvider

UserVaneProvider(__namedParameters): ReactNode

Defined in: products/uservane/agent-react/dist/index.d.ts:110

Client-side UserVane provider for agent chat UIs (React / Next App Router).

  • Marked "use client" (and the published bundle carries the same directive).
  • Controller init runs once (module guard survives StrictMode remounts).
  • SSR-safe: no window access at import; init runs in an effect.
  • Wraps children + InlineFeedback in an error boundary.

UserVaneProviderProps

ReactNode