> This page is for version v1.3 (default).
> For other versions, use one of these documentation indexes:
> - v1.3 (default): https://docs.twelvelabs.io/v1.3/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.twelvelabs.io/llms.txt.

## Set embedding segment durations in fractions of a second

You can set the length of embedding segments in fractions of a second, for example 2.5 seconds. The API accepted these values before this change. The API reference and the SDK types now show them as valid. Marengo 3.0 ignores the fractional part of the value. For example, it treats 2.5 as 2.

If you use version 1.3.6 or earlier of the Python SDK, the SDK types the `duration_sec` and `min_duration_sec` fields as integers. It can reject or coerce fractional values depending on the installed Pydantic version. Upgrade to the latest version of the Python SDK to pass fractional values to these fields:

**`Python SDK`**

```sh Python SDK
pip install --upgrade twelvelabs
```

**`Node.js SDK`**

```sh Node.js SDK
npm install twelvelabs-js@latest
```

Until you upgrade, use whole-second values. The Node.js SDK types these fields as numbers and needs no change.

### SDK type changes (breaking change)

When the API returns a 413 status code, the Python and Node.js SDKs raise `ContentTooLargeError`. The SDKs now type the body of this error as `FlatErrorResponse`. Read the error code from the `body.code` property instead of the `body.error.code` property. The API response is unchanged. It always returned this shape.

For details, see the [Create sync embeddings](/v1.3/api-reference/create-embeddings-v2/create-embeddings) and [Create an async embedding task](/v1.3/api-reference/create-embeddings-v2/create-async-embedding-task) pages in the API Reference section, or the SDK reference for [Python](/v1.3/sdk-reference/python/create-embeddings-v-2/create-async-embeddings#create-an-async-embedding-task) and [Node.js](/v1.3/sdk-reference/node-js/create-embeddings-v-2/create-async-embeddings#create-an-async-embedding-task).

## Show activity summaries while streaming a response

Set `include` to `["activity_summaries"]` with `stream: true` to receive live progress summaries as `jockey:activity` events. Each snapshot contains an activity ID, revision, status, and summary. Activity summaries are delivered only in the stream and are not included in the final response's `output` or saved message history.

`intermediate_outputs` is deprecated. Its existing streaming and non-streaming behavior is preserved, including intermediate messages, function calls, and function-call results in `output`. For progress displays, migrate to `activity_summaries` and handle `jockey:activity` events. The two include options cannot be combined.

See [Show activity summaries](/v1.3/agents/guides/create-a-response/streaming#show-activity-summaries) for examples and the [Create a response](/v1.3/api-reference/responses/create) API reference for request options.