mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-17 16:39:52 +00:00
fix: add index to InvalidToolCall
This commit is contained in:
parent
44bd6fe837
commit
7f1e98c7fb
@ -361,6 +361,9 @@ class InvalidToolCall(TypedDict):
|
||||
error: Optional[str]
|
||||
"""An error message associated with the tool call."""
|
||||
|
||||
index: NotRequired[int]
|
||||
"""Index of block in aggregate response. Used during streaming."""
|
||||
|
||||
extras: NotRequired[dict[str, Any]]
|
||||
"""Provider-specific metadata."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user