Type alias UseConversationManagerResult
UseConversationManagerResult: { error: any; message: SimpleMessage | null; messages: ComplexMessage[]; request: ((name,
args) => Promise<boolean>); setError: ((error) => void); setText: ((text) => void); submit: (() => Promise<boolean>); text: string; thinking: boolean; trigger: ((name) => Promise<boolean>); typing: boolean; } Type declaration
error: any
request: ((name, args) => Promise<boolean>)
- (name, args): Promise<boolean>
Returns Promise<boolean>
setError: ((error) => void)
- (error): void
Returns void
setText: ((text) => void)
submit: (() => Promise<boolean>)
- (): Promise<boolean>
Returns Promise<boolean>
text: string
thinking: boolean
trigger: ((name) => Promise<boolean>)
- (name): Promise<boolean>
Returns Promise<boolean>
typing: boolean