File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,21 @@ class ReasoningContentBlock(TypedDict, total=False):
6060 redactedContent : bytes
6161
6262
63+ class CachePoint (TypedDict ):
64+ """A cache point configuration for optimizing conversation history.
65+
66+ Attributes:
67+ type: The type of cache point, typically "default".
68+ """
69+
70+ type : str
71+
72+
6373class ContentBlock (TypedDict , total = False ):
6474 """A block of content for a message that you pass to, or receive from, a model.
6575
6676 Attributes:
77+ cachePoint: A cache point configuration to optimize conversation history.
6778 document: A document to include in the message.
6879 guardContent: Contains the content to assess with the guardrail.
6980 image: Image to include in the message.
@@ -74,6 +85,7 @@ class ContentBlock(TypedDict, total=False):
7485 video: Video to include in the message.
7586 """
7687
88+ cachePoint : CachePoint
7789 document : DocumentContent
7890 guardContent : GuardContent
7991 image : ImageContent
You can’t perform that action at this time.
0 commit comments