Skip to main content

Error handler

Description

Catches and handles errors that occur during the chat flow, providing custom error messages. This middleware ensures that the chat engine can gracefully handle and report errors.

Inputs

Error messagetextRequired

Templates

  • Open AI Assistant: A simple assistant using OpenAI models