Skip to content

Commit 868ed53

Browse files
chore: sync from ark-apis c0ae37b14f
Auto-generated SDK sync from ark-apis at c0ae37b14fe66cac98bf6cf4f6c41677a583258c. Generated files are overwritten by the sync pipeline and should not be edited by hand. Sync-Source-Commit: 64ed44773581797ddc85b18395af1004613dde76 Ark-APIs-Commit: c0ae37b14fe66cac98bf6cf4f6c41677a583258c Release-Version: 0.16.0
1 parent cf14590 commit 868ed53

125 files changed

Lines changed: 2349 additions & 22 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.0
1+
0.16.0

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "arkruntime"
7-
version = "0.15.0"
7+
version = "0.16.0"
88
description = "Ark runtime SDK for Python"
99
readme = "README.md"
1010
requires-python = ">=3.8"

‎src/arkruntime/types/audio_generation/audio_url.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
class AudioURL(BaseModel):
1515
url: NonEmptyString
1616
"""
17-
Public HTTP(S) URL, speaker://<id>, file://<file_id> for registered reference audio, or data:audio/{wav,mp3};base64,<payload>. Decoded base64 audio is limited to 15 MiB for reference generation; separation uses a 90 MiB source-audio limit. A speaker reference cannot be used for separation.
17+
Public HTTP(S) URL, speaker://<id> for a preset speaker, file://<file_id> for a custom voice registered through the Files API, or data:audio/{wav,mp3};base64,<payload>. Voice-cloning speaker IDs are not supported. Decoded base64 audio is limited to 15 MiB for reference generation; separation uses a 90 MiB source-audio limit. A speaker reference cannot be used for separation.
1818
"""

‎src/arkruntime/types/audio_generation/audio_url_param.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
class AudioURLParam(TypedDict, total=False):
1616
url: Required[NonEmptyStringParam]
17-
"""Public HTTP(S) URL, speaker://<id>, file://<file_id> for registered reference audio, or data:audio/{wav,mp3};base64,<payload>. Decoded base64 audio is limited to 15 MiB for reference generation; separation uses a 90 MiB source-audio limit. A speaker reference cannot be used for separation."""
17+
"""Public HTTP(S) URL, speaker://<id> for a preset speaker, file://<file_id> for a custom voice registered through the Files API, or data:audio/{wav,mp3};base64,<payload>. Voice-cloning speaker IDs are not supported. Decoded base64 audio is limited to 15 MiB for reference generation; separation uses a 90 MiB source-audio limit. A speaker reference cannot be used for separation."""

‎src/arkruntime/types/audio_generation/video_url.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
class VideoURL(BaseModel):
1515
url: NonEmptyString
1616
"""
17-
Public HTTP(S) URL or tos://<bucket>/<key>. Base64 and speaker references are not supported. Media properties and size are validated by the server.
17+
Public HTTP(S) URL or tos://<bucket>/<key>. Supported video resolutions: 360p, 480p, 720p and 1080p; minimum total pixel count (width * height): 172800. Base64 and speaker references are not supported. Media properties and size are validated by the server.
1818
"""

‎src/arkruntime/types/audio_generation/video_url_param.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
class VideoURLParam(TypedDict, total=False):
1616
url: Required[NonEmptyStringParam]
17-
"""Public HTTP(S) URL or tos://<bucket>/<key>. Base64 and speaker references are not supported. Media properties and size are validated by the server."""
17+
"""Public HTTP(S) URL or tos://<bucket>/<key>. Supported video resolutions: 360p, 480p, 720p and 1080p; minimum total pixel count (width * height): 172800. Base64 and speaker references are not supported. Media properties and size are validated by the server."""

‎src/arkruntime/types/responses/__init__.py‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
from .item_reasoning import ItemReasoning
6767
from .item_reference import ItemReference
6868
from .item_status import ItemStatus
69+
from .item_tool_search_call import ItemToolSearchCall
70+
from .item_tool_search_output import ItemToolSearchOutput
6971
from .item_transcription import ItemTranscription
7072
from .knowledge_search_tool import KnowledgeSearchTool
7173
from .list_input_items_response import ListInputItemsResponse
@@ -80,6 +82,7 @@
8082
from .mcp_tool_approval_filter_never import McpToolApprovalFilterNever
8183
from .message_content import MessageContent
8284
from .message_role import MessageRole
85+
from .namespace_tool import NamespaceTool
8386
from .order import Order
8487
from .output_content_item import OutputContentItem
8588
from .output_content_item_reasoning_text import OutputContentItemReasoningText
@@ -248,6 +251,9 @@
248251
from .tool_choice_options import ToolChoiceOptions
249252
from .tool_choice_web_search import ToolChoiceWebSearch
250253
from .tool_name_list import ToolNameList
254+
from .tool_search_execution import ToolSearchExecution
255+
from .tool_search_result_tool import ToolSearchResultTool
256+
from .tool_search_tool import ToolSearchTool
251257
from .tool_usage import ToolUsage
252258
from .tool_usage_details import ToolUsageDetails
253259
from .tool_uses_keep import ToolUsesKeep
@@ -322,6 +328,8 @@
322328
"ItemReasoning",
323329
"ItemReference",
324330
"ItemStatus",
331+
"ItemToolSearchCall",
332+
"ItemToolSearchOutput",
325333
"ItemTranscription",
326334
"KnowledgeSearchTool",
327335
"ListInputItemsResponse",
@@ -336,6 +344,7 @@
336344
"McpToolApprovalFilterNever",
337345
"MessageContent",
338346
"MessageRole",
347+
"NamespaceTool",
339348
"Order",
340349
"OutputContentItem",
341350
"OutputContentItemReasoningText",
@@ -436,6 +445,9 @@
436445
"ToolChoiceOptions",
437446
"ToolChoiceWebSearch",
438447
"ToolNameList",
448+
"ToolSearchExecution",
449+
"ToolSearchResultTool",
450+
"ToolSearchTool",
439451
"ToolUsage",
440452
"ToolUsageDetails",
441453
"ToolUsesKeep",
@@ -485,6 +497,8 @@
485497
from .item_function_tool_call_output_param import ItemFunctionToolCallOutputParam
486498
from .item_function_tool_call_param import ItemFunctionToolCallParam
487499
from .item_reasoning_param import ItemReasoningParam
500+
from .item_tool_search_call_param import ItemToolSearchCallParam
501+
from .item_tool_search_output_param import ItemToolSearchOutputParam
488502
from .knowledge_search_tool_param import KnowledgeSearchToolParam
489503
from .mcp_allowed_tools_filter_param import McpAllowedToolsFilterParam
490504
from .mcp_allowed_tools_param import McpAllowedToolsParam
@@ -495,6 +509,7 @@
495509
from .mcp_tool_approval_filter_param import McpToolApprovalFilterParam
496510
from .mcp_tool_param import McpToolParam
497511
from .message_content_param import MessageContentParam
512+
from .namespace_tool_param import NamespaceToolParam
498513
from .output_content_item_param import OutputContentItemParam
499514
from .output_content_item_reasoning_text_param import (
500515
OutputContentItemReasoningTextParam,
@@ -517,6 +532,8 @@
517532
from .tool_choice_web_search_param import ToolChoiceWebSearchParam
518533
from .tool_name_list_param import ToolNameListParam
519534
from .tool_param import ToolParam
535+
from .tool_search_result_tool_param import ToolSearchResultToolParam
536+
from .tool_search_tool_param import ToolSearchToolParam
520537
from .tool_uses_keep_param import ToolUsesKeepParam
521538
from .tool_uses_trigger_param import ToolUsesTriggerParam
522539
from .typed_tool_choice_param import TypedToolChoiceParam

‎src/arkruntime/types/responses/function_tool.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ class FunctionTool(BaseModel):
3030
3131
Used by the model to determine whether or not to call the function.
3232
"""
33+
defer_loading: Optional[bool] = None
34+
"""
35+
Defer the full schema until tool_search loads this function. Defaults to false.
36+
"""

‎src/arkruntime/types/responses/function_tool_param.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ class FunctionToolParam(TypedDict, total=False):
2727
2828
Used by the model to determine whether or not to call the function.
2929
"""
30+
31+
defer_loading: Optional[bool]
32+
"""Defer the full schema until tool_search loads this function. Defaults to false."""

‎src/arkruntime/types/responses/input_item.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@
1919
from .item_function_tool_call import ItemFunctionToolCall
2020
from .item_function_tool_call_output import ItemFunctionToolCallOutput
2121
from .item_reasoning import ItemReasoning
22+
from .item_tool_search_call import ItemToolSearchCall
23+
from .item_tool_search_output import ItemToolSearchOutput
2224

2325
InputItem = TypeAliasType(
2426
"InputItem",
2527
Annotated[
2628
Union[
2729
ItemEasyMessage,
2830
ItemFunctionToolCall,
31+
ItemToolSearchCall,
32+
ItemToolSearchOutput,
2933
ItemFunctionToolCallOutput,
3034
ItemReasoning,
3135
ItemFunctionMcpApprovalRequest,

0 commit comments

Comments
 (0)