Commit a6e9db84
Changed files (5)
src/openai/types/beta/threads/run_create_params.py
@@ -225,7 +225,7 @@ class TruncationStrategy(TypedDict, total=False):
"""
-class RunCreateParamsNonStreaming(RunCreateParamsBase):
+class RunCreateParamsNonStreaming(RunCreateParamsBase, total=False):
stream: Optional[Literal[False]]
"""
If `true`, returns a stream of events that happen during the Run as server-sent
src/openai/types/beta/threads/run_submit_tool_outputs_params.py
@@ -31,7 +31,7 @@ class ToolOutput(TypedDict, total=False):
"""
-class RunSubmitToolOutputsParamsNonStreaming(RunSubmitToolOutputsParamsBase):
+class RunSubmitToolOutputsParamsNonStreaming(RunSubmitToolOutputsParamsBase, total=False):
stream: Optional[Literal[False]]
"""
If `true`, returns a stream of events that happen during the Run as server-sent
src/openai/types/beta/thread_create_and_run_params.py
@@ -332,7 +332,7 @@ class TruncationStrategy(TypedDict, total=False):
"""
-class ThreadCreateAndRunParamsNonStreaming(ThreadCreateAndRunParamsBase):
+class ThreadCreateAndRunParamsNonStreaming(ThreadCreateAndRunParamsBase, total=False):
stream: Optional[Literal[False]]
"""
If `true`, returns a stream of events that happen during the Run as server-sent
src/openai/types/chat/completion_create_params.py
@@ -262,7 +262,7 @@ class Function(TypedDict, total=False):
ResponseFormat: TypeAlias = Union[ResponseFormatText, ResponseFormatJSONObject, ResponseFormatJSONSchema]
-class CompletionCreateParamsNonStreaming(CompletionCreateParamsBase):
+class CompletionCreateParamsNonStreaming(CompletionCreateParamsBase, total=False):
stream: Optional[Literal[False]]
"""If set, partial message deltas will be sent, like in ChatGPT.
src/openai/types/completion_create_params.py
@@ -160,7 +160,7 @@ class CompletionCreateParamsBase(TypedDict, total=False):
"""
-class CompletionCreateParamsNonStreaming(CompletionCreateParamsBase):
+class CompletionCreateParamsNonStreaming(CompletionCreateParamsBase, total=False):
stream: Optional[Literal[False]]
"""Whether to stream back partial progress.