@personaai/reactv0.10.0

UseArchitectChatOptions — @personaai/react

Generated field table for UseArchitectChatOptions — do not edit

Generated from sdk/react/dist/typedoc.json — do not edit.

UseArchitectChatOptions

Source: types.ts:352

Interface

FieldTypeDescription
threadId?string— _ types.ts:353_
initialMessages?PersonaMessage[]— _ types.ts:354_
onFinish?object— _ types.ts:355_
onError?object— _ types.ts:356_
onEvent?objectHook for receiving every low-level AG-UI streaming event (tool calls, steps, subagents) — _ types.ts:358_
onThreadCreated?objectCalled when a fake/ephemeral chat mints a real thread on first send. Use to sync sidebar state (e.g. setThreadId(id)). — _ types.ts:360_
onTitle?objectCalled when the backend auto-generates a thread title (3-4 word LLM summary of first user message). — _ types.ts:362_