| 1 |
from typing_extensions import Literal |
| 2 |
|
| 3 |
from .._models import BaseModel |
| 4 |
|
| 5 |
__all__ = ["RedactedThinkingBlock"] |
| 6 |
|
| 7 |
|
| 8 |
class RedactedThinkingBlock(BaseModel): |
| 9 |
data: str |
| 10 |
""" |
| 11 |
The contents of this redacted thinking block, returned when portions of the |
| 12 |
model's thinking were safety-redacted. This field is opaque and encrypted, with |
| 13 |
no readable content. |
| 14 |
|
| 15 |
Pass `redacted_thinking` blocks back to the API unchanged when continuing a |
| 16 |
multi-turn conversation. |
| 17 |
|
| 18 |
See |
| 19 |
[extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) |
| 20 |
for details. |
| 21 |
""" |
| 22 |
|
| 23 |
type: Literal["redacted_thinking"] |