mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
add provider_specific_fields to GenericStreamingChunk
This commit is contained in:
parent
cbdaecb5a8
commit
740d1fdb1c
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue