PromptAction
eventsFires when the action button is clicked (send or stop). Check e.actionType to determine the action.
Event Data
e.actionType String
The type of action: "send" (submitting message) or "stop" (stopping generation).
e.value String
The message text (when actionType is "send").
e.files Array
The array of attached files (when actionType is "send").