II.
ProtocolMessage overview
Reference · liveprotocol-message:cohere-message-end
Cohere chat-stream / message-end overview
Terminal stream event carrying finish_reason (COMPLETE / MAX_TOKENS / STOP_SEQUENCE / TOOL_CALL / ERROR) plus usage accounting.
Attributes
displayName
Cohere chat-stream / message-end
messageType
StreamEvent
subtype
none
direction
core-to-user
terminal
false
errorCategory
none
payloadSchema
type
StreamEvent
fields
- type=message-end
- delta(finish_reason, usage(billed_units, tokens))
description
Terminal stream event carrying finish_reason (COMPLETE / MAX_TOKENS /
STOP_SEQUENCE / TOOL_CALL / ERROR) plus usage accounting.
Outgoing edges
None.
Incoming edges
emits_message_type1
- provider:cohere·ProviderCohere