mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-25 12:33:39 +00:00
fmt
This commit is contained in:
parent
3de115e46d
commit
b9835f8308
@ -1211,12 +1211,10 @@ def _make_message_chunk_from_anthropic_event(
|
|||||||
content_block["index"] = event.index
|
content_block["index"] = event.index
|
||||||
content_block["type"] = "tool_use"
|
content_block["type"] = "tool_use"
|
||||||
tool_call_chunk = create_tool_call_chunk(
|
tool_call_chunk = create_tool_call_chunk(
|
||||||
**{
|
index=event.index,
|
||||||
"index": event.index,
|
id=None,
|
||||||
"id": None,
|
name=None,
|
||||||
"name": None,
|
args=event.delta.partial_json,
|
||||||
"args": event.delta.partial_json,
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
message_chunk = AIMessageChunk(
|
message_chunk = AIMessageChunk(
|
||||||
content=[content_block],
|
content=[content_block],
|
||||||
|
Loading…
Reference in New Issue
Block a user