MessageAppendedEvent#

Distinguish UI streams, extension notifications, and external replies. See the guide.

class zett_agent.extensions.events.MessageAppendedEvent(message, timing, usage=None)[源代码]#

One newly produced raw message; restoration and compaction do not emit it.

参数:
usage: ModelUsage | None#

Provider-reported usage for an assistant model response. User, system, tool, and directly imported messages do not consume a model response.