Emitted when a chat completion fails
OptionalerrorCode?: stringServer error code as a string (e.g. '4080') when the failure carries
one — see SUBSCRIPTION_ERROR_CODES for subscription denials.
OptionalworkerName?: stringEmitted when the job state changes (queued, assigned to worker, started, etc.)
Emitted when the available LLM models list is updated from the network
Emitted for each token chunk received during streaming
Emitted when a chat completion finishes