hashbrown

ErrorMessage

A synthetic message describing a failed run. It has no id because it is never part of the canonical AG-UI history.

API

export type ErrorMessage = {
  role: "error";
  content: string;
};