Skip to content

SessionCapabilities

Describes the capabilities of the sender. This type allows custom properties, in addition to the ones defined.

Indexable

[key: string]: unknown

Allow custom properties

Properties

Property Type Description
serviceMessageClient? boolean Indicates that a client is prepared to handle events for exchanges initiated by service-role messages. When set to true, the client will receive events for the service-role message and any assistant-role messages sent in response to it within the exchange.