mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
15 lines
2.2 KiB
Plaintext
15 lines
2.2 KiB
Plaintext
---
|
|
title: "CompactionItem"
|
|
---
|
|
|
|
A context compaction marker with encrypted summary
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
|
| `encrypted_content` | *str* | :heavy_check_mark: | N/A | |
|
|
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |
|
|
| `type` | [components.CompactionItemType](../components/compactionitemtype.mdx) | :heavy_check_mark: | N/A | |
|
|
| `__pydantic_extra__` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A | \{<br/>"encrypted_content": "enc_abc123...",<br/>"type": "compaction"<br/>} | |