Skip to content

Commit 87ee9d1

Browse files
committed
Merge 'feat/prefill' into 'volc_sdk_20251204'
feat: prefill See merge request: !944
2 parents 3969f7c + 0625e0b commit 87ee9d1

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

volcenginesdkarkruntime/types/responses/easy_input_message.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ class EasyInputMessage(BaseModel):
3333

3434
type: Optional[Literal["message"]] = None
3535
"""The type of the message input. Always `message`."""
36+
37+
partial : Optional[bool] = None
38+
"""Whether or not to include partial assistant responses."""

volcenginesdkarkruntime/types/responses/easy_input_message_param.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from __future__ import annotations
1313

14-
from typing import Union
14+
from typing import Union, Optional
1515
from typing_extensions import Literal, Required, TypedDict
1616

1717
from .response_input_message_content_list_param import (
@@ -36,3 +36,6 @@ class EasyInputMessageParam(TypedDict, total=False):
3636

3737
type: Literal["message"]
3838
"""The type of the message input. Always `message`."""
39+
40+
partial : Optional[bool] = None
41+
"""Whether or not to include partial assistant responses."""

volcenginesdkarkruntime/types/responses/response_output_message.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# This modified file is released under the same license.
1111

12-
from typing import List, Union
12+
from typing import List, Union, Optional
1313
from typing_extensions import Literal, Annotated, TypeAlias
1414

1515
from ..._utils import PropertyInfo
@@ -42,3 +42,6 @@ class ResponseOutputMessage(BaseModel):
4242

4343
type: Literal["message"]
4444
"""The type of the output message. Always `message`."""
45+
46+
partial :Optional[bool]
47+
"""Whether or not to include partial assistant responses."""

0 commit comments

Comments
 (0)