MessageHandler
Agent Runtimes / chat/ChatPopupStandalone / MessageHandler
Type Alias: MessageHandler
MessageHandler = (
message,options?) =>Promise<string>
Defined in: chat/ChatPopupStandalone.tsx:56
Simple message handler type for standalone usage
Parameters
message
string
options?
onChunk?
(chunk) => void
onComplete?
(fullResponse) => void
onError?
(error) => void
signal?
AbortSignal
Returns
Promise<string>