add provider_specific_fields to GenericStreamingChunk

This commit is contained in:
Ishaan Jaff 2024-08-16 08:44:29 -07:00
parent 1510daba4f
commit 026c7194f8

View file

@ -88,6 +88,9 @@ class GenericStreamingChunk(TypedDict, total=False):
usage: Optional[ChatCompletionUsageBlock]
index: int
# use this dict if you want to return any provider specific fields in the response
provider_specific_fields: Optional[Dict[str, Any]]
from enum import Enum