Add missing tool_calls finish_reason
This commit is contained in:
parent
770df34436
commit
17da8fb446
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class ChatCompletionStreamResponseChoice(TypedDict):
|
||||||
delta: Union[
|
delta: Union[
|
||||||
ChatCompletionStreamResponseDelta, ChatCompletionStreamResponseDeltaEmpty
|
ChatCompletionStreamResponseDelta, ChatCompletionStreamResponseDeltaEmpty
|
||||||
]
|
]
|
||||||
finish_reason: Optional[Literal["stop", "length", "function_call"]]
|
finish_reason: Optional[Literal["stop", "length", "tool_calls", "function_call"]]
|
||||||
|
|
||||||
|
|
||||||
class CreateChatCompletionStreamResponse(TypedDict):
|
class CreateChatCompletionStreamResponse(TypedDict):
|
||||||
|
|
Loading…
Reference in a new issue