Add missing tool_calls finish_reason

This commit is contained in:
Andrei Betlen 2023-11-10 02:51:06 -05:00
parent 770df34436
commit 17da8fb446

View file

@ -131,7 +131,7 @@ class ChatCompletionStreamResponseChoice(TypedDict):
delta: Union[
ChatCompletionStreamResponseDelta, ChatCompletionStreamResponseDeltaEmpty
]
finish_reason: Optional[Literal["stop", "length", "function_call"]]
finish_reason: Optional[Literal["stop", "length", "tool_calls", "function_call"]]
class CreateChatCompletionStreamResponse(TypedDict):