Type Alias: ProcessMessageProps
ProcessMessageProps:
object
Defined in: packages/core/src/types.ts:206
Type of ProcessMessageProps
Type declaration
imageMessage?
optionalimageMessage:string
message?
optionalmessage:string
onToolFinished()?
optionalonToolFinished: (toolCallId,additionalData) =>void
Parameters
toolCallId
string
additionalData
unknown
Returns
void
streamMessageCallback
streamMessageCallback:
StreamMessageCallback
textMessage?
optionaltextMessage:string
userActions?
optionaluserActions:UserActionProps[]
useTool?
optionaluseTool:boolean
Param
The text message to be processed.
Param
The image message to be processed.
Param
The user actions to be processed.
Param
The stream message callback to stream the message back to the UI.
Param
The callback function to handle the step finish.
Param
The flag to indicate if the tool is used.
Param
The message to be processed.