# 1.3.1

## AI Assistants

### Fixes

#### Missing final Assistant message

* Fixed a bug where the Assistant's message was missing from `Exchange.messages` if the caller disconnected or hung up mid-sentence.

### Improvements

#### Better interruption detection

* Interruption detection requires at least two detected words and 500 ms of recorded speech.

#### Transfer default message

* The Assistant generates a `preTransferSentence` from the conversation context when a `transfer_conversation` destination has none configured.

## Data API

### Improvements

#### `conversation_ended_by` metadata in Exchange

* Added `conversation_ended_by` to Exchange resources. Its value is `caller` or `assistant`, depending on who ended the conversation.

#### `interrupted` metadata in Exchange messages

* Messages in `Exchange.messages` include `"metadata": { "interrupted": true | false }` to indicate whether speech was interrupted.
