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):
60
60
redactedContent : bytes
61
61
62
62
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
+
63
73
class ContentBlock (TypedDict , total = False ):
64
74
"""A block of content for a message that you pass to, or receive from, a model.
65
75
66
76
Attributes:
77
+ cachePoint: A cache point configuration to optimize conversation history.
67
78
document: A document to include in the message.
68
79
guardContent: Contains the content to assess with the guardrail.
69
80
image: Image to include in the message.
@@ -74,6 +85,7 @@ class ContentBlock(TypedDict, total=False):
74
85
video: Video to include in the message.
75
86
"""
76
87
88
+ cachePoint : CachePoint
77
89
document : DocumentContent
78
90
guardContent : GuardContent
79
91
image : ImageContent
You can’t perform that action at this time.
0 commit comments