fix: add index to InvalidToolCall

This commit is contained in:
Mason Daugherty 2025-07-31 11:19:01 -04:00
parent 44bd6fe837
commit 7f1e98c7fb
No known key found for this signature in database

View File

@ -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."""