We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab1c2c commit 705be4cCopy full SHA for 705be4c
aidial_sdk/chat_completion/request.py
@@ -235,6 +235,10 @@ class ResponseFormatJsonSchema(ExtraAllowModel):
235
json_schema: ResponseFormatJsonSchemaObject
236
237
238
+class StreamOptions(ExtraAllowModel):
239
+ include_usage: Optional[bool]
240
+
241
242
ResponseFormat = Union[
243
ResponseFormatText,
244
ResponseFormatJsonObject,
@@ -254,6 +258,7 @@ class AzureChatCompletionRequest(ExtraAllowModel):
254
258
Union[Literal["auto", "none", "required"], ToolChoice]
255
259
] = None
256
260
stream: bool = False
261
+ stream_options: Optional[StreamOptions] = None
257
262
temperature: Optional[Temperature] = None
263
top_p: Optional[TopP] = None
264
n: Optional[N] = None
0 commit comments