Module: SimpleAcp::Models::Types::EventType

Defined in:
lib/simple_acp/models/types.rb

Overview

Event types for SSE streaming.

Constant Summary collapse

MESSAGE_CREATED =

New message created

"message.created"
MESSAGE_PART =

Message part received

"message.part"
MESSAGE_COMPLETED =

Message completed

"message.completed"
RUN_CREATED =

Run created

"run.created"
RUN_IN_PROGRESS =

Run started executing

"run.in-progress"
RUN_AWAITING =

Run awaiting client input

"run.awaiting"
RUN_COMPLETED =

Run completed successfully

"run.completed"
RUN_CANCELLED =

Run was cancelled

"run.cancelled"
RUN_FAILED =

Run failed

"run.failed"
GENERIC =

Generic event

"generic"
ERROR =

Error event

"error"
ALL =

All valid event types

[
  MESSAGE_CREATED, MESSAGE_PART, MESSAGE_COMPLETED,
  RUN_CREATED, RUN_IN_PROGRESS, RUN_AWAITING,
  RUN_COMPLETED, RUN_CANCELLED, RUN_FAILED,
  GENERIC, ERROR
].freeze