snapshots

This commit is contained in:
Mason Daugherty 2025-08-05 09:55:13 -04:00
parent c7c47f81c4
commit c709f85c27
No known key found for this signature in database

View File

@ -3006,7 +3006,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.
@ -4530,7 +4530,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.
@ -6066,7 +6066,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.
@ -7458,7 +7458,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.
@ -9024,7 +9024,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.
@ -9638,7 +9638,7 @@
Annotation for citing data from a document.
.. note::
``start/end`` indices refer to the **response text**,
``start``/``end`` indices refer to the **response text**,
not the source text. This means that the indices are relative to the model's
response, not the original document (as specified in the ``url``).
@ -10267,7 +10267,7 @@
The purpose of this block should be to simply hold a provider-specific payload.
If a provider's non-standard output includes reasoning and tool calls, it should be
the adapter's job to parse that payload and emit the corresponding standard
ReasoningContentBlock and ToolCallContentBlocks.
``ReasoningContentBlock`` and ``ToolCallContentBlocks``.
.. note::
``create_non_standard_block`` may also be used as a factory to create a
@ -10445,7 +10445,7 @@
Contains additional information returned by the provider, such as
response headers, service tiers, log probabilities, system fingerprints, etc.
Extra keys are permitted from what is typed here (via `total=False`), allowing
Extra keys are permitted from what is typed here (via ``total=False``), allowing
for provider-specific metadata to be included without breaking the type
definition.
''',
@ -10658,7 +10658,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.
@ -11533,10 +11533,10 @@
'$ref': '#/definitions/ToolCall',
}),
dict({
'$ref': '#/definitions/InvalidToolCall',
'$ref': '#/definitions/ToolCallChunk',
}),
dict({
'$ref': '#/definitions/ToolCallChunk',
'$ref': '#/definitions/InvalidToolCall',
}),
dict({
'$ref': '#/definitions/ReasoningContentBlock',
@ -11658,10 +11658,10 @@
'$ref': '#/definitions/ToolCall',
}),
dict({
'$ref': '#/definitions/InvalidToolCall',
'$ref': '#/definitions/ToolCallChunk',
}),
dict({
'$ref': '#/definitions/ToolCallChunk',
'$ref': '#/definitions/InvalidToolCall',
}),
dict({
'$ref': '#/definitions/ReasoningContentBlock',
@ -11783,10 +11783,10 @@
'$ref': '#/definitions/ToolCall',
}),
dict({
'$ref': '#/definitions/InvalidToolCall',
'$ref': '#/definitions/ToolCallChunk',
}),
dict({
'$ref': '#/definitions/ToolCallChunk',
'$ref': '#/definitions/InvalidToolCall',
}),
dict({
'$ref': '#/definitions/ReasoningContentBlock',
@ -11870,10 +11870,10 @@
'$ref': '#/definitions/ToolCall',
}),
dict({
'$ref': '#/definitions/InvalidToolCall',
'$ref': '#/definitions/ToolCallChunk',
}),
dict({
'$ref': '#/definitions/ToolCallChunk',
'$ref': '#/definitions/InvalidToolCall',
}),
dict({
'$ref': '#/definitions/ReasoningContentBlock',
@ -11980,10 +11980,10 @@
'$ref': '#/definitions/ToolCall',
}),
dict({
'$ref': '#/definitions/InvalidToolCall',
'$ref': '#/definitions/ToolCallChunk',
}),
dict({
'$ref': '#/definitions/ToolCallChunk',
'$ref': '#/definitions/InvalidToolCall',
}),
dict({
'$ref': '#/definitions/ReasoningContentBlock',
@ -13212,7 +13212,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.
@ -14698,7 +14698,7 @@
'description': '''
A chunk of a tool call (e.g., as part of a stream).
When merging ToolCallChunks (e.g., via ``AIMessageChunk.__add__``),
When merging ``ToolCallChunks`` (e.g., via ``AIMessageChunk.__add__``),
all string attributes are concatenated. Chunks are only merged if their
values of ``index`` are equal and not ``None``.