volcengine-python-sdk 4.0.28__py2.py3-none-any.whl → 4.0.30__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of volcengine-python-sdk might be problematic. Click here for more details.

Files changed (486) hide show
  1. {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/RECORD +486 -80
  3. {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/top_level.txt +2 -0
  4. volcenginesdkacep/__init__.py +42 -0
  5. volcenginesdkacep/api/acep_api.py +1001 -128
  6. volcenginesdkacep/models/__init__.py +42 -0
  7. volcenginesdkacep/models/add_phone_template_request.py +256 -0
  8. volcenginesdkacep/models/add_phone_template_response.py +123 -0
  9. volcenginesdkacep/models/app_list_for_create_pod_one_step_input.py +149 -0
  10. volcenginesdkacep/models/create_pod_one_step_request.py +698 -0
  11. volcenginesdkacep/models/create_pod_one_step_response.py +175 -0
  12. volcenginesdkacep/models/create_pod_request.py +696 -0
  13. volcenginesdkacep/models/create_pod_response.py +149 -0
  14. volcenginesdkacep/models/get_phone_template_request.py +124 -0
  15. volcenginesdkacep/models/get_phone_template_response.py +149 -0
  16. volcenginesdkacep/models/job_for_reset_pod_output.py +305 -0
  17. volcenginesdkacep/models/list_phone_template_request.py +279 -0
  18. volcenginesdkacep/models/list_phone_template_response.py +149 -0
  19. volcenginesdkacep/models/overlay_persist_property_for_add_phone_template_input.py +175 -0
  20. volcenginesdkacep/models/overlay_persist_property_for_create_pod_input.py +175 -0
  21. volcenginesdkacep/models/overlay_persist_property_for_create_pod_one_step_input.py +175 -0
  22. volcenginesdkacep/models/overlay_persist_property_for_get_phone_template_output.py +175 -0
  23. volcenginesdkacep/models/overlay_persist_property_for_list_phone_template_output.py +175 -0
  24. volcenginesdkacep/models/overlay_property_for_add_phone_template_input.py +175 -0
  25. volcenginesdkacep/models/overlay_property_for_create_pod_input.py +175 -0
  26. volcenginesdkacep/models/overlay_property_for_create_pod_one_step_input.py +175 -0
  27. volcenginesdkacep/models/overlay_property_for_get_phone_template_output.py +175 -0
  28. volcenginesdkacep/models/overlay_property_for_list_phone_template_output.py +175 -0
  29. volcenginesdkacep/models/overlay_setting_for_add_phone_template_input.py +201 -0
  30. volcenginesdkacep/models/overlay_setting_for_create_pod_input.py +201 -0
  31. volcenginesdkacep/models/overlay_setting_for_create_pod_one_step_input.py +201 -0
  32. volcenginesdkacep/models/overlay_setting_for_get_phone_template_output.py +201 -0
  33. volcenginesdkacep/models/overlay_setting_for_list_phone_template_output.py +201 -0
  34. volcenginesdkacep/models/phone_template_for_get_phone_template_output.py +279 -0
  35. volcenginesdkacep/models/pod_persist_property_for_update_pod_property_input.py +175 -0
  36. volcenginesdkacep/models/pod_property_for_update_pod_property_input.py +175 -0
  37. volcenginesdkacep/models/pod_setting_for_update_pod_property_input.py +201 -0
  38. volcenginesdkacep/models/pod_spec_list_for_create_pod_input.py +617 -0
  39. volcenginesdkacep/models/remove_phone_template_request.py +123 -0
  40. volcenginesdkacep/models/remove_phone_template_response.py +123 -0
  41. volcenginesdkacep/models/reset_pod_request.py +280 -0
  42. volcenginesdkacep/models/reset_pod_response.py +175 -0
  43. volcenginesdkacep/models/row_for_list_phone_template_output.py +279 -0
  44. volcenginesdkacep/models/tag_for_get_phone_template_output.py +201 -0
  45. volcenginesdkacep/models/update_phone_template_request.py +176 -0
  46. volcenginesdkacep/models/update_phone_template_response.py +95 -0
  47. volcenginesdkacep/models/update_pod_property_request.py +280 -0
  48. volcenginesdkacep/models/update_pod_property_response.py +95 -0
  49. volcenginesdkarkruntime/_client.py +7 -6
  50. volcenginesdkarkruntime/_utils/_key_agreement.py +18 -14
  51. volcenginesdkarkruntime/resources/batch_chat/completions.py +10 -141
  52. volcenginesdkarkruntime/resources/beta/chat/completions.py +10 -0
  53. volcenginesdkarkruntime/resources/chat/completions.py +9 -206
  54. volcenginesdkarkruntime/resources/encryption.py +217 -0
  55. volcenginesdkarkruntime/resources/images/images.py +72 -55
  56. volcenginesdkarkruntime/resources/responses/responses.py +42 -24
  57. volcenginesdkarkruntime/types/__init__.py +2 -0
  58. volcenginesdkarkruntime/types/content_generation/content_generation_task.py +15 -0
  59. volcenginesdkarkruntime/types/images/__init__.py +2 -2
  60. volcenginesdkarkruntime/types/images/images.py +7 -1
  61. volcenginesdkarkruntime/types/responses/audio_chunking_strategy.py +30 -0
  62. volcenginesdkarkruntime/types/responses/audio_chunking_strategy_param.py +28 -0
  63. volcenginesdkarkruntime/types/responses/image_process_grounding_options.py +23 -0
  64. volcenginesdkarkruntime/types/responses/image_process_grounding_options_param.py +23 -0
  65. volcenginesdkarkruntime/types/responses/image_process_point_options.py +23 -0
  66. volcenginesdkarkruntime/types/responses/image_process_point_options_param.py +23 -0
  67. volcenginesdkarkruntime/types/responses/image_process_rotate_options.py +23 -0
  68. volcenginesdkarkruntime/types/responses/image_process_rotate_options_param.py +23 -0
  69. volcenginesdkarkruntime/types/responses/image_process_tool.py +41 -0
  70. volcenginesdkarkruntime/types/responses/image_process_tool_param.py +40 -0
  71. volcenginesdkarkruntime/types/responses/image_process_zoom_options.py +23 -0
  72. volcenginesdkarkruntime/types/responses/image_process_zoom_options_param.py +23 -0
  73. volcenginesdkarkruntime/types/responses/item_function_image_process.py +37 -0
  74. volcenginesdkarkruntime/types/responses/knowledge_search_tool.py +46 -0
  75. volcenginesdkarkruntime/types/responses/knowledge_search_tool_param.py +44 -0
  76. volcenginesdkarkruntime/types/responses/mcp_tool.py +8 -4
  77. volcenginesdkarkruntime/types/responses/response.py +58 -92
  78. volcenginesdkarkruntime/types/responses/response_annotation_added_event.py +3 -22
  79. volcenginesdkarkruntime/types/responses/response_caching.py +6 -6
  80. volcenginesdkarkruntime/types/responses/response_caching_param.py +7 -4
  81. volcenginesdkarkruntime/types/responses/response_create_params.py +11 -3
  82. volcenginesdkarkruntime/types/responses/response_image_process_action.py +24 -0
  83. volcenginesdkarkruntime/types/responses/response_image_process_args.py +30 -0
  84. volcenginesdkarkruntime/types/responses/response_image_process_call_completed_event.py +35 -0
  85. volcenginesdkarkruntime/types/responses/response_image_process_call_in_progress_event.py +24 -0
  86. volcenginesdkarkruntime/types/responses/response_image_process_call_processing_event.py +30 -0
  87. volcenginesdkarkruntime/types/responses/response_image_process_error.py +20 -0
  88. volcenginesdkarkruntime/types/responses/response_image_process_grounding_args.py +24 -0
  89. volcenginesdkarkruntime/types/responses/response_image_process_point_args.py +24 -0
  90. volcenginesdkarkruntime/types/responses/response_image_process_rotate_args.py +22 -0
  91. volcenginesdkarkruntime/types/responses/response_image_process_zoom_args.py +24 -0
  92. volcenginesdkarkruntime/types/responses/response_input_audio.py +33 -0
  93. volcenginesdkarkruntime/types/responses/response_input_audio_param.py +32 -0
  94. volcenginesdkarkruntime/types/responses/response_input_content.py +13 -3
  95. volcenginesdkarkruntime/types/responses/response_input_file.py +32 -0
  96. volcenginesdkarkruntime/types/responses/response_input_file_param.py +30 -0
  97. volcenginesdkarkruntime/types/responses/response_input_message_content_list_param.py +11 -3
  98. volcenginesdkarkruntime/types/responses/response_input_video.py +33 -0
  99. volcenginesdkarkruntime/types/responses/response_input_video_param.py +6 -9
  100. volcenginesdkarkruntime/types/responses/response_knowledge_search_call_completed_event.py +24 -0
  101. volcenginesdkarkruntime/types/responses/response_knowledge_search_call_failed_event.py +24 -0
  102. volcenginesdkarkruntime/types/responses/response_knowledge_search_call_in_progress_event.py +24 -0
  103. volcenginesdkarkruntime/types/responses/response_knowledge_search_call_searching_event.py +24 -0
  104. volcenginesdkarkruntime/types/responses/response_knowledge_search_item.py +32 -0
  105. volcenginesdkarkruntime/types/responses/response_output_item.py +8 -4
  106. volcenginesdkarkruntime/types/responses/response_output_text.py +4 -33
  107. volcenginesdkarkruntime/types/responses/response_output_text_annotation.py +63 -0
  108. volcenginesdkarkruntime/types/responses/response_output_text_annotation_added_event.py +33 -0
  109. volcenginesdkarkruntime/types/responses/response_stream_event.py +89 -50
  110. volcenginesdkarkruntime/types/responses/response_tool_usage.py +14 -6
  111. volcenginesdkarkruntime/types/responses/responses_output_text_annotation_cover_image.py +25 -0
  112. volcenginesdkarkruntime/types/responses/tool.py +5 -2
  113. volcenginesdkarkruntime/types/responses/tool_choice_knowledge_search.py +22 -0
  114. volcenginesdkarkruntime/types/responses/tool_choice_knowledge_search_param.py +20 -0
  115. volcenginesdkarkruntime/types/responses/tool_choice_mcp.py +31 -0
  116. volcenginesdkarkruntime/types/responses/tool_choice_mcp_param.py +4 -4
  117. volcenginesdkarkruntime/types/responses/tool_choice_web_search.py +22 -0
  118. volcenginesdkarkruntime/types/responses/tool_choice_web_search_param.py +20 -0
  119. volcenginesdkarkruntime/types/responses/tool_param.py +11 -3
  120. volcenginesdkarkruntime/types/responses/user_location.py +29 -0
  121. volcenginesdkarkruntime/types/responses/user_location_param.py +31 -0
  122. volcenginesdkarkruntime/types/responses/web_search_tool.py +11 -22
  123. volcenginesdkarkruntime/types/responses/web_search_tool_param.py +8 -17
  124. volcenginesdkarkruntime/types/shared/__init__.py +3 -0
  125. volcenginesdkarkruntime/types/shared/reasoning.py +10 -0
  126. volcenginesdkarkruntime/types/shared/reasoning_effort.py +17 -0
  127. volcenginesdkarkruntime/types/shared_params/__init__.py +2 -0
  128. volcenginesdkarkruntime/types/shared_params/reasoning.py +12 -0
  129. volcenginesdkarkruntime/types/shared_params/reasoning_effort.py +8 -0
  130. volcenginesdkcbr/__init__.py +91 -0
  131. volcenginesdkcbr/api/__init__.py +6 -0
  132. volcenginesdkcbr/api/cbr_api.py +2362 -0
  133. volcenginesdkcbr/models/__init__.py +87 -0
  134. volcenginesdkcbr/models/backup_policy_for_describe_backup_policies_output.py +357 -0
  135. volcenginesdkcbr/models/create_backup_job_request.py +238 -0
  136. volcenginesdkcbr/models/create_backup_job_response.py +123 -0
  137. volcenginesdkcbr/models/create_backup_plan_request.py +176 -0
  138. volcenginesdkcbr/models/create_backup_plan_response.py +123 -0
  139. volcenginesdkcbr/models/create_backup_policy_request.py +293 -0
  140. volcenginesdkcbr/models/create_backup_policy_response.py +123 -0
  141. volcenginesdkcbr/models/create_backup_resource_request.py +211 -0
  142. volcenginesdkcbr/models/create_backup_resource_response.py +123 -0
  143. volcenginesdkcbr/models/create_restore_job_request.py +177 -0
  144. volcenginesdkcbr/models/create_restore_job_response.py +123 -0
  145. volcenginesdkcbr/models/create_vault_request.py +150 -0
  146. volcenginesdkcbr/models/create_vault_response.py +123 -0
  147. volcenginesdkcbr/models/delete_backup_plan_request.py +124 -0
  148. volcenginesdkcbr/models/delete_backup_plan_response.py +95 -0
  149. volcenginesdkcbr/models/delete_backup_policy_request.py +124 -0
  150. volcenginesdkcbr/models/delete_backup_policy_response.py +95 -0
  151. volcenginesdkcbr/models/delete_backup_resource_request.py +124 -0
  152. volcenginesdkcbr/models/delete_backup_resource_response.py +95 -0
  153. volcenginesdkcbr/models/delete_recovery_point_request.py +124 -0
  154. volcenginesdkcbr/models/delete_recovery_point_response.py +95 -0
  155. volcenginesdkcbr/models/delete_vault_request.py +124 -0
  156. volcenginesdkcbr/models/delete_vault_response.py +95 -0
  157. volcenginesdkcbr/models/describe_backup_plans_request.py +175 -0
  158. volcenginesdkcbr/models/describe_backup_plans_response.py +149 -0
  159. volcenginesdkcbr/models/describe_backup_policies_request.py +175 -0
  160. volcenginesdkcbr/models/describe_backup_policies_response.py +149 -0
  161. volcenginesdkcbr/models/describe_backup_resources_request.py +175 -0
  162. volcenginesdkcbr/models/describe_backup_resources_response.py +149 -0
  163. volcenginesdkcbr/models/describe_recovery_points_request.py +175 -0
  164. volcenginesdkcbr/models/describe_recovery_points_response.py +149 -0
  165. volcenginesdkcbr/models/describe_regions_request.py +95 -0
  166. volcenginesdkcbr/models/describe_regions_response.py +123 -0
  167. volcenginesdkcbr/models/describe_restore_jobs_request.py +175 -0
  168. volcenginesdkcbr/models/describe_restore_jobs_response.py +149 -0
  169. volcenginesdkcbr/models/describe_vaults_request.py +201 -0
  170. volcenginesdkcbr/models/describe_vaults_response.py +149 -0
  171. volcenginesdkcbr/models/disable_backup_policy_request.py +124 -0
  172. volcenginesdkcbr/models/disable_backup_policy_response.py +95 -0
  173. volcenginesdkcbr/models/enable_backup_policy_request.py +124 -0
  174. volcenginesdkcbr/models/enable_backup_policy_response.py +95 -0
  175. volcenginesdkcbr/models/filter_list_for_describe_backup_resources_input.py +149 -0
  176. volcenginesdkcbr/models/filters_for_describe_backup_plans_input.py +149 -0
  177. volcenginesdkcbr/models/filters_for_describe_backup_policies_input.py +175 -0
  178. volcenginesdkcbr/models/filters_for_describe_recovery_points_input.py +253 -0
  179. volcenginesdkcbr/models/filters_for_describe_restore_jobs_input.py +201 -0
  180. volcenginesdkcbr/models/filters_for_describe_vaults_input.py +149 -0
  181. volcenginesdkcbr/models/job_for_describe_restore_jobs_output.py +279 -0
  182. volcenginesdkcbr/models/meta_information_for_create_backup_plan_input.py +149 -0
  183. volcenginesdkcbr/models/meta_information_for_create_backup_resource_input.py +149 -0
  184. volcenginesdkcbr/models/meta_information_for_describe_backup_resources_output.py +149 -0
  185. volcenginesdkcbr/models/meta_information_for_update_backup_plan_input.py +149 -0
  186. volcenginesdkcbr/models/plan_for_describe_backup_plans_output.py +253 -0
  187. volcenginesdkcbr/models/plan_for_describe_backup_resources_output.py +149 -0
  188. volcenginesdkcbr/models/policy_for_describe_backup_plans_output.py +357 -0
  189. volcenginesdkcbr/models/recovery_point_for_describe_recovery_points_output.py +513 -0
  190. volcenginesdkcbr/models/region_for_describe_regions_output.py +149 -0
  191. volcenginesdkcbr/models/resource_for_describe_backup_resources_output.py +409 -0
  192. volcenginesdkcbr/models/resource_list_for_create_backup_plan_input.py +175 -0
  193. volcenginesdkcbr/models/resource_list_for_update_backup_plan_input.py +175 -0
  194. volcenginesdkcbr/models/tag_for_describe_vaults_output.py +149 -0
  195. volcenginesdkcbr/models/update_backup_plan_request.py +202 -0
  196. volcenginesdkcbr/models/update_backup_plan_response.py +95 -0
  197. volcenginesdkcbr/models/update_backup_policy_request.py +261 -0
  198. volcenginesdkcbr/models/update_backup_policy_response.py +95 -0
  199. volcenginesdkcbr/models/update_recovery_point_request.py +151 -0
  200. volcenginesdkcbr/models/update_recovery_point_response.py +95 -0
  201. volcenginesdkcbr/models/update_restore_job_request.py +151 -0
  202. volcenginesdkcbr/models/update_restore_job_response.py +95 -0
  203. volcenginesdkcbr/models/vault_list_for_describe_vaults_output.py +279 -0
  204. volcenginesdkcore/api_client.py +1 -1
  205. volcenginesdkcore/configuration.py +1 -1
  206. volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -0
  207. volcenginesdkcore/observability/debugger.py +4 -2
  208. volcenginesdkcore/retryer/retryer.py +4 -1
  209. volcenginesdkgraph/__init__.py +11 -0
  210. volcenginesdkgraph/api/graph_api.py +485 -0
  211. volcenginesdkgraph/models/__init__.py +11 -0
  212. volcenginesdkgraph/models/describe_vegraph_config_in_k8s_request.py +124 -0
  213. volcenginesdkgraph/models/describe_vegraph_config_in_k8s_response.py +201 -0
  214. volcenginesdkgraph/models/key_black_list_for_update_key_black_list_conf_input.py +175 -0
  215. volcenginesdkgraph/models/update_gremlin_keyword_black_list_conf_request.py +230 -0
  216. volcenginesdkgraph/models/update_gremlin_keyword_black_list_conf_response.py +95 -0
  217. volcenginesdkgraph/models/update_key_black_list_conf_request.py +230 -0
  218. volcenginesdkgraph/models/update_key_black_list_conf_response.py +95 -0
  219. volcenginesdkgraph/models/update_tablet_read_black_list_conf_request.py +230 -0
  220. volcenginesdkgraph/models/update_tablet_read_black_list_conf_response.py +95 -0
  221. volcenginesdkgraph/models/update_tablet_write_black_list_conf_request.py +230 -0
  222. volcenginesdkgraph/models/update_tablet_write_black_list_conf_response.py +95 -0
  223. volcenginesdkmilvus/__init__.py +112 -0
  224. volcenginesdkmilvus/api/__init__.py +6 -0
  225. volcenginesdkmilvus/api/milvus_api.py +2168 -0
  226. volcenginesdkmilvus/models/__init__.py +108 -0
  227. volcenginesdkmilvus/models/allow_group_list_for_describe_instance_detail_output.py +149 -0
  228. volcenginesdkmilvus/models/base_instance_for_describe_instance_detail_output.py +435 -0
  229. volcenginesdkmilvus/models/charge_config_for_create_instance_input.py +201 -0
  230. volcenginesdkmilvus/models/charge_config_for_create_instance_one_step_input.py +201 -0
  231. volcenginesdkmilvus/models/charge_config_for_describe_instance_detail_output.py +201 -0
  232. volcenginesdkmilvus/models/charge_config_for_describe_instances_output.py +201 -0
  233. volcenginesdkmilvus/models/charge_config_for_describe_price_input.py +201 -0
  234. volcenginesdkmilvus/models/component_spec_list_for_create_instance_input.py +253 -0
  235. volcenginesdkmilvus/models/component_spec_list_for_create_instance_one_step_input.py +253 -0
  236. volcenginesdkmilvus/models/component_spec_list_for_describe_price_input.py +227 -0
  237. volcenginesdkmilvus/models/component_spec_list_for_scale_instance_input.py +227 -0
  238. volcenginesdkmilvus/models/config_assign_list_for_modify_instance_config_input.py +149 -0
  239. volcenginesdkmilvus/models/configuration_for_describe_instance_config_output.py +331 -0
  240. volcenginesdkmilvus/models/create_instance_one_step_request.py +306 -0
  241. volcenginesdkmilvus/models/create_instance_one_step_response.py +227 -0
  242. volcenginesdkmilvus/models/create_instance_request.py +306 -0
  243. volcenginesdkmilvus/models/create_instance_response.py +227 -0
  244. volcenginesdkmilvus/models/describe_available_spec_request.py +95 -0
  245. volcenginesdkmilvus/models/describe_available_spec_response.py +201 -0
  246. volcenginesdkmilvus/models/describe_available_version_request.py +95 -0
  247. volcenginesdkmilvus/models/describe_available_version_response.py +123 -0
  248. volcenginesdkmilvus/models/describe_config_modules_request.py +124 -0
  249. volcenginesdkmilvus/models/describe_config_modules_response.py +123 -0
  250. volcenginesdkmilvus/models/describe_instance_config_request.py +124 -0
  251. volcenginesdkmilvus/models/describe_instance_config_response.py +123 -0
  252. volcenginesdkmilvus/models/describe_instance_detail_request.py +124 -0
  253. volcenginesdkmilvus/models/describe_instance_detail_response.py +409 -0
  254. volcenginesdkmilvus/models/describe_instances_request.py +253 -0
  255. volcenginesdkmilvus/models/describe_instances_response.py +227 -0
  256. volcenginesdkmilvus/models/describe_node_info_request.py +124 -0
  257. volcenginesdkmilvus/models/describe_node_info_response.py +123 -0
  258. volcenginesdkmilvus/models/describe_price_request.py +175 -0
  259. volcenginesdkmilvus/models/describe_price_response.py +227 -0
  260. volcenginesdkmilvus/models/describe_zones_request.py +95 -0
  261. volcenginesdkmilvus/models/describe_zones_response.py +123 -0
  262. volcenginesdkmilvus/models/endpoint_list_for_describe_instance_detail_output.py +305 -0
  263. volcenginesdkmilvus/models/instance_configuration_for_create_instance_input.py +227 -0
  264. volcenginesdkmilvus/models/instance_configuration_for_create_instance_one_step_input.py +227 -0
  265. volcenginesdkmilvus/models/instance_info_for_describe_instances_output.py +409 -0
  266. volcenginesdkmilvus/models/list_tags_for_resources_request.py +228 -0
  267. volcenginesdkmilvus/models/list_tags_for_resources_response.py +149 -0
  268. volcenginesdkmilvus/models/modify_delete_protect_request.py +151 -0
  269. volcenginesdkmilvus/models/modify_delete_protect_response.py +123 -0
  270. volcenginesdkmilvus/models/modify_instance_config_request.py +150 -0
  271. volcenginesdkmilvus/models/modify_instance_config_response.py +123 -0
  272. volcenginesdkmilvus/models/modify_instance_name_request.py +151 -0
  273. volcenginesdkmilvus/models/modify_instance_name_response.py +123 -0
  274. volcenginesdkmilvus/models/modify_post_paid_request.py +205 -0
  275. volcenginesdkmilvus/models/modify_post_paid_response.py +253 -0
  276. volcenginesdkmilvus/models/modify_pre_paid_request.py +205 -0
  277. volcenginesdkmilvus/models/modify_pre_paid_response.py +253 -0
  278. volcenginesdkmilvus/models/modify_resource_tags_request.py +176 -0
  279. volcenginesdkmilvus/models/modify_resource_tags_response.py +123 -0
  280. volcenginesdkmilvus/models/network_config_for_create_instance_input.py +175 -0
  281. volcenginesdkmilvus/models/network_config_for_create_instance_one_step_input.py +175 -0
  282. volcenginesdkmilvus/models/network_config_for_describe_instance_detail_output.py +175 -0
  283. volcenginesdkmilvus/models/network_config_for_describe_instances_output.py +175 -0
  284. volcenginesdkmilvus/models/node_cu_type_support_spec_list_for_describe_available_spec_output.py +175 -0
  285. volcenginesdkmilvus/models/node_info_list_for_describe_node_info_output.py +357 -0
  286. volcenginesdkmilvus/models/node_price_list_for_describe_price_output.py +305 -0
  287. volcenginesdkmilvus/models/node_support_spec_list_for_describe_available_spec_output.py +175 -0
  288. volcenginesdkmilvus/models/release_instance_request.py +124 -0
  289. volcenginesdkmilvus/models/release_instance_response.py +123 -0
  290. volcenginesdkmilvus/models/scale_instance_request.py +204 -0
  291. volcenginesdkmilvus/models/scale_instance_response.py +175 -0
  292. volcenginesdkmilvus/models/spec_config_for_describe_instance_detail_output.py +227 -0
  293. volcenginesdkmilvus/models/spec_list_for_describe_available_spec_output.py +253 -0
  294. volcenginesdkmilvus/models/subnet_info_for_create_instance_input.py +149 -0
  295. volcenginesdkmilvus/models/subnet_info_for_create_instance_one_step_input.py +149 -0
  296. volcenginesdkmilvus/models/subnet_info_for_describe_instance_detail_output.py +149 -0
  297. volcenginesdkmilvus/models/subnet_info_for_describe_instances_output.py +149 -0
  298. volcenginesdkmilvus/models/tag_filter_for_describe_instances_input.py +149 -0
  299. volcenginesdkmilvus/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  300. volcenginesdkmilvus/models/tag_for_create_instance_input.py +149 -0
  301. volcenginesdkmilvus/models/tag_for_create_instance_one_step_input.py +149 -0
  302. volcenginesdkmilvus/models/tag_for_describe_instance_detail_output.py +149 -0
  303. volcenginesdkmilvus/models/tag_for_describe_instances_output.py +149 -0
  304. volcenginesdkmilvus/models/tag_for_modify_resource_tags_input.py +149 -0
  305. volcenginesdkmilvus/models/tag_for_tag_resources_input.py +149 -0
  306. volcenginesdkmilvus/models/tag_resource_for_list_tags_for_resources_output.py +201 -0
  307. volcenginesdkmilvus/models/tag_resources_request.py +175 -0
  308. volcenginesdkmilvus/models/tag_resources_response.py +123 -0
  309. volcenginesdkmilvus/models/untag_resources_request.py +175 -0
  310. volcenginesdkmilvus/models/untag_resources_response.py +123 -0
  311. volcenginesdkmilvus/models/version_for_describe_available_version_output.py +149 -0
  312. volcenginesdkmilvus/models/vpc_info_for_create_instance_input.py +149 -0
  313. volcenginesdkmilvus/models/vpc_info_for_create_instance_one_step_input.py +149 -0
  314. volcenginesdkmilvus/models/vpc_info_for_describe_instance_detail_output.py +149 -0
  315. volcenginesdkmilvus/models/vpc_info_for_describe_instances_output.py +149 -0
  316. volcenginesdkmilvus/models/zone_for_describe_zones_output.py +175 -0
  317. volcenginesdkmilvus/models/zone_support_spec_list_for_describe_available_spec_output.py +149 -0
  318. volcenginesdkorganization/__init__.py +6 -0
  319. volcenginesdkorganization/api/organization_api.py +194 -0
  320. volcenginesdkorganization/models/__init__.py +6 -0
  321. volcenginesdkorganization/models/filter_for_list_tags_keys_input.py +123 -0
  322. volcenginesdkorganization/models/filter_for_list_tags_values_input.py +123 -0
  323. volcenginesdkorganization/models/list_tags_keys_request.py +209 -0
  324. volcenginesdkorganization/models/list_tags_keys_response.py +175 -0
  325. volcenginesdkorganization/models/list_tags_values_request.py +236 -0
  326. volcenginesdkorganization/models/list_tags_values_response.py +175 -0
  327. volcenginesdkseccenter20240508/__init__.py +128 -0
  328. volcenginesdkseccenter20240508/api/seccenter20240508_api.py +7987 -3913
  329. volcenginesdkseccenter20240508/models/__init__.py +128 -0
  330. volcenginesdkseccenter20240508/models/add_baseline_check_config_request.py +383 -0
  331. volcenginesdkseccenter20240508/models/add_baseline_check_config_response.py +123 -0
  332. volcenginesdkseccenter20240508/models/add_login_config_request.py +27 -1
  333. volcenginesdkseccenter20240508/models/alarm_topic_config_for_get_tls_info_output.py +175 -0
  334. volcenginesdkseccenter20240508/models/alarm_topic_config_for_modify_tls_config_input.py +149 -0
  335. volcenginesdkseccenter20240508/models/ban_alarm_ip_request.py +175 -0
  336. volcenginesdkseccenter20240508/models/ban_alarm_ip_response.py +123 -0
  337. volcenginesdkseccenter20240508/models/baseline_list_for_add_baseline_check_config_input.py +149 -0
  338. volcenginesdkseccenter20240508/models/baseline_list_for_edit_baseline_check_config_input.py +149 -0
  339. volcenginesdkseccenter20240508/models/baseline_list_for_list_baseline_basic_info_output.py +201 -0
  340. volcenginesdkseccenter20240508/models/baseline_list_for_list_baseline_check_config_output.py +149 -0
  341. volcenginesdkseccenter20240508/models/bind_mlp_auth_request.py +123 -0
  342. volcenginesdkseccenter20240508/models/bind_mlp_auth_response.py +123 -0
  343. volcenginesdkseccenter20240508/models/check_alarm_support_ban_ip_request.py +175 -0
  344. volcenginesdkseccenter20240508/models/check_alarm_support_ban_ip_response.py +227 -0
  345. volcenginesdkseccenter20240508/models/check_install_agent_client_response.py +105 -1
  346. volcenginesdkseccenter20240508/models/conditions_for_list_ordered_hosts_basic_infos_input.py +435 -0
  347. volcenginesdkseccenter20240508/models/create_mlp_asset_sync_task_request.py +124 -0
  348. volcenginesdkseccenter20240508/models/create_mlp_asset_sync_task_response.py +123 -0
  349. volcenginesdkseccenter20240508/models/data_for_get_alarm_rule_list_output.py +331 -0
  350. volcenginesdkseccenter20240508/models/data_for_get_fingerprint_env_output.py +409 -0
  351. volcenginesdkseccenter20240508/models/data_for_get_fingerprint_process_output.py +27 -1
  352. volcenginesdkseccenter20240508/models/data_for_get_fingerprint_service_output.py +53 -1
  353. volcenginesdkseccenter20240508/models/data_for_get_mlp_asset_sync_task_detail_output.py +305 -0
  354. volcenginesdkseccenter20240508/models/data_for_get_offline_notification_list_output.py +929 -0
  355. volcenginesdkseccenter20240508/models/data_for_list_ban_ip_list_output.py +487 -0
  356. volcenginesdkseccenter20240508/models/data_for_list_baseline_basic_info_output.py +201 -0
  357. volcenginesdkseccenter20240508/models/data_for_list_baseline_check_config_output.py +617 -0
  358. volcenginesdkseccenter20240508/models/data_for_list_baseline_for_group_policy_output.py +201 -0
  359. volcenginesdkseccenter20240508/models/data_for_list_check_config_related_baseline_output.py +201 -0
  360. volcenginesdkseccenter20240508/models/data_for_list_fingerprint_collect_config_output.py +331 -0
  361. volcenginesdkseccenter20240508/models/data_for_list_mlp_asset_tasks_output.py +305 -0
  362. volcenginesdkseccenter20240508/models/data_for_list_ordered_hosts_basic_infos_output.py +539 -0
  363. volcenginesdkseccenter20240508/models/delete_baseline_check_config_request.py +124 -0
  364. volcenginesdkseccenter20240508/models/delete_baseline_check_config_response.py +123 -0
  365. volcenginesdkseccenter20240508/models/detect_baseline_by_check_config_request.py +124 -0
  366. volcenginesdkseccenter20240508/models/detect_baseline_by_check_config_response.py +123 -0
  367. volcenginesdkseccenter20240508/models/ecs_instance_for_get_auto_isolate_agent_list_output.py +53 -1
  368. volcenginesdkseccenter20240508/models/ecs_instance_for_get_host_basic_info_output.py +53 -1
  369. volcenginesdkseccenter20240508/models/ecs_instance_for_get_offline_notification_list_output.py +669 -0
  370. volcenginesdkseccenter20240508/models/ecs_instance_for_list_asset_center_hosts_output.py +53 -1
  371. volcenginesdkseccenter20240508/models/ecs_instance_for_list_auto_defense_hosts_output.py +53 -1
  372. volcenginesdkseccenter20240508/models/ecs_instance_for_list_ban_ip_list_output.py +669 -0
  373. volcenginesdkseccenter20240508/models/ecs_instance_for_list_hosts_basic_infos_output.py +53 -1
  374. volcenginesdkseccenter20240508/models/ecs_instance_for_list_multi_level_asset_hosts_output.py +53 -1
  375. volcenginesdkseccenter20240508/models/ecs_instance_for_list_ordered_hosts_basic_infos_output.py +669 -0
  376. volcenginesdkseccenter20240508/models/ecs_instance_for_list_rasp_config_agent_infos_output.py +53 -1
  377. volcenginesdkseccenter20240508/models/edit_baseline_check_config_request.py +410 -0
  378. volcenginesdkseccenter20240508/models/edit_baseline_check_config_response.py +123 -0
  379. volcenginesdkseccenter20240508/models/edit_fingerprint_collect_config_request.py +254 -0
  380. volcenginesdkseccenter20240508/models/edit_fingerprint_collect_config_response.py +123 -0
  381. volcenginesdkseccenter20240508/models/export_dev_fingerprint_data_request.py +1 -1
  382. volcenginesdkseccenter20240508/models/file_for_handle_endpoint_alarms_input.py +149 -0
  383. volcenginesdkseccenter20240508/models/get_alarm_rule_list_request.py +333 -0
  384. volcenginesdkseccenter20240508/models/get_alarm_rule_list_response.py +201 -0
  385. volcenginesdkseccenter20240508/models/get_auto_protect_config_request.py +95 -0
  386. volcenginesdkseccenter20240508/models/get_auto_protect_config_response.py +149 -0
  387. volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py → volcenginesdkseccenter20240508/models/get_brute_force_ban_cap_params_request.py +6 -6
  388. volcenginesdkseccenter20240508/models/get_brute_force_ban_cap_params_response.py +123 -0
  389. volcenginesdkseccenter20240508/models/get_brute_force_ban_config_request.py +123 -0
  390. volcenginesdkseccenter20240508/models/get_brute_force_ban_config_response.py +383 -0
  391. volcenginesdkseccenter20240508/models/get_brute_force_ban_statistics_request.py +123 -0
  392. volcenginesdkseccenter20240508/models/get_brute_force_ban_statistics_response.py +149 -0
  393. volcenginesdkseccenter20240508/models/get_custom_weak_passwords_request.py +95 -0
  394. volcenginesdkseccenter20240508/models/get_custom_weak_passwords_response.py +201 -0
  395. volcenginesdkseccenter20240508/models/get_fingerprint_env_request.py +489 -0
  396. volcenginesdkseccenter20240508/models/get_fingerprint_env_response.py +201 -0
  397. volcenginesdkseccenter20240508/models/get_fingerprint_service_request.py +0 -7
  398. volcenginesdkseccenter20240508/models/get_fingerprint_statistics_response.py +27 -1
  399. volcenginesdkseccenter20240508/models/get_geo_location_request.py +123 -0
  400. volcenginesdkseccenter20240508/models/get_geo_location_response.py +123 -0
  401. volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_detail_request.py +124 -0
  402. volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_detail_response.py +123 -0
  403. volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_status_request.py +124 -0
  404. volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_status_response.py +201 -0
  405. volcenginesdkseccenter20240508/models/get_offline_notification_config_request.py +95 -0
  406. volcenginesdkseccenter20240508/models/get_offline_notification_config_response.py +149 -0
  407. volcenginesdkseccenter20240508/models/get_offline_notification_list_request.py +411 -0
  408. volcenginesdkseccenter20240508/models/get_offline_notification_list_response.py +201 -0
  409. volcenginesdkseccenter20240508/models/get_security_overview_score_stats_request.py +123 -0
  410. volcenginesdkseccenter20240508/models/get_security_overview_score_stats_response.py +149 -0
  411. volcenginesdkseccenter20240508/models/get_tls_info_response.py +122 -70
  412. volcenginesdkseccenter20240508/models/handle_endpoint_alarms_request.py +150 -0
  413. volcenginesdkseccenter20240508/models/handle_endpoint_alarms_response.py +95 -0
  414. volcenginesdkseccenter20240508/models/handle_list_for_handle_endpoint_alarms_input.py +201 -0
  415. volcenginesdkseccenter20240508/models/host_info_for_list_ban_ip_list_output.py +279 -0
  416. volcenginesdkseccenter20240508/models/list_alarm_tags_request.py +6 -6
  417. volcenginesdkseccenter20240508/models/list_ban_ip_list_request.py +567 -0
  418. volcenginesdkseccenter20240508/models/list_ban_ip_list_response.py +201 -0
  419. volcenginesdkseccenter20240508/models/list_baseline_basic_info_request.py +203 -0
  420. volcenginesdkseccenter20240508/models/list_baseline_basic_info_response.py +201 -0
  421. volcenginesdkseccenter20240508/models/list_baseline_check_config_request.py +203 -0
  422. volcenginesdkseccenter20240508/models/list_baseline_check_config_response.py +201 -0
  423. volcenginesdkseccenter20240508/models/list_baseline_for_group_policy_request.py +124 -0
  424. volcenginesdkseccenter20240508/models/list_baseline_for_group_policy_response.py +123 -0
  425. volcenginesdkseccenter20240508/models/list_batch_endpoint_handle_methods_request.py +150 -0
  426. volcenginesdkseccenter20240508/models/list_batch_endpoint_handle_methods_response.py +149 -0
  427. volcenginesdkseccenter20240508/models/list_check_config_related_baseline_request.py +256 -0
  428. volcenginesdkseccenter20240508/models/list_check_config_related_baseline_response.py +201 -0
  429. volcenginesdkseccenter20240508/models/list_fingerprint_collect_config_request.py +149 -0
  430. volcenginesdkseccenter20240508/models/list_fingerprint_collect_config_response.py +201 -0
  431. volcenginesdkseccenter20240508/models/list_mlp_alarm_tags_request.py +6 -6
  432. volcenginesdkseccenter20240508/models/list_mlp_asset_tasks_request.py +255 -0
  433. volcenginesdkseccenter20240508/models/list_mlp_asset_tasks_response.py +201 -0
  434. volcenginesdkseccenter20240508/models/list_ordered_hosts_basic_infos_request.py +256 -0
  435. volcenginesdkseccenter20240508/models/list_ordered_hosts_basic_infos_response.py +201 -0
  436. volcenginesdkseccenter20240508/models/location_for_get_geo_location_output.py +149 -0
  437. volcenginesdkseccenter20240508/models/login_location_for_add_login_config_input.py +175 -0
  438. volcenginesdkseccenter20240508/models/login_location_for_update_login_config_input.py +175 -0
  439. volcenginesdkseccenter20240508/models/login_topic_config_for_get_tls_info_output.py +175 -0
  440. volcenginesdkseccenter20240508/models/login_topic_config_for_modify_tls_config_input.py +149 -0
  441. volcenginesdkseccenter20240508/models/modify_tls_config_request.py +133 -3
  442. volcenginesdkseccenter20240508/models/operation_list_for_list_batch_endpoint_handle_methods_output.py +201 -0
  443. volcenginesdkseccenter20240508/models/port_change_topic_config_for_get_tls_info_output.py +175 -0
  444. volcenginesdkseccenter20240508/models/port_change_topic_config_for_modify_tls_config_input.py +149 -0
  445. volcenginesdkseccenter20240508/models/proc_list_for_list_batch_endpoint_handle_methods_output.py +175 -0
  446. volcenginesdkseccenter20240508/models/process_for_handle_endpoint_alarms_input.py +175 -0
  447. volcenginesdkseccenter20240508/models/process_start_topic_config_for_get_tls_info_output.py +175 -0
  448. volcenginesdkseccenter20240508/models/process_start_topic_config_for_modify_tls_config_input.py +149 -0
  449. volcenginesdkseccenter20240508/models/relate_alarm_info_for_list_ban_ip_list_output.py +149 -0
  450. volcenginesdkseccenter20240508/models/retry_ip_operation_request.py +150 -0
  451. volcenginesdkseccenter20240508/models/retry_ip_operation_response.py +123 -0
  452. volcenginesdkseccenter20240508/models/risk_for_get_offline_notification_list_output.py +201 -0
  453. volcenginesdkseccenter20240508/models/rule_list_for_get_brute_force_ban_config_output.py +227 -0
  454. volcenginesdkseccenter20240508/models/rule_list_for_set_brute_force_ban_config_input.py +227 -0
  455. volcenginesdkseccenter20240508/models/score_for_get_security_overview_score_stats_output.py +149 -0
  456. volcenginesdkseccenter20240508/models/set_brute_force_ban_config_request.py +461 -0
  457. volcenginesdkseccenter20240508/models/set_brute_force_ban_config_response.py +95 -0
  458. volcenginesdkseccenter20240508/models/set_custom_weak_passwords_request.py +123 -0
  459. volcenginesdkseccenter20240508/models/set_custom_weak_passwords_response.py +123 -0
  460. volcenginesdkseccenter20240508/models/stop_mlp_asset_sync_task_request.py +124 -0
  461. volcenginesdkseccenter20240508/models/stop_mlp_asset_sync_task_response.py +123 -0
  462. volcenginesdkseccenter20240508/models/un_ban_ip_item_request.py +123 -0
  463. volcenginesdkseccenter20240508/models/un_ban_ip_item_response.py +149 -0
  464. volcenginesdkseccenter20240508/models/unbind_mlp_auth_request.py +123 -0
  465. volcenginesdkseccenter20240508/models/unbind_mlp_auth_response.py +123 -0
  466. volcenginesdkseccenter20240508/models/update_auto_protect_config_request.py +124 -0
  467. volcenginesdkseccenter20240508/models/update_auto_protect_config_response.py +149 -0
  468. volcenginesdkseccenter20240508/models/update_baseline_check_config_switch_request.py +150 -0
  469. volcenginesdkseccenter20240508/models/update_baseline_check_config_switch_response.py +123 -0
  470. volcenginesdkseccenter20240508/models/update_cloud_provider_request.py +149 -0
  471. volcenginesdkseccenter20240508/models/update_cloud_provider_response.py +201 -0
  472. volcenginesdkseccenter20240508/models/update_login_config_request.py +27 -1
  473. volcenginesdkseccenter20240508/models/update_offline_notification_config_request.py +151 -0
  474. volcenginesdkseccenter20240508/models/update_offline_notification_config_response.py +123 -0
  475. volcenginesdkseccenter20240508/models/vuln_topic_config_for_get_tls_info_output.py +175 -0
  476. volcenginesdkseccenter20240508/models/vuln_topic_config_for_modify_tls_config_input.py +149 -0
  477. volcenginesdkvefaas/__init__.py +1 -0
  478. volcenginesdkvefaas/models/__init__.py +1 -0
  479. volcenginesdkvefaas/models/describe_sandbox_response.py +53 -1
  480. volcenginesdkvefaas/models/metadata_list_for_describe_sandbox_output.py +149 -0
  481. volcenginesdkvod20250101/__init__.py +0 -1
  482. volcenginesdkvod20250101/models/__init__.py +0 -1
  483. volcenginesdkvod20250101/models/create_ai_termbase_request.py +6 -5
  484. {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/WHEEL +0 -0
  485. {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/LICENSE.txt +0 -0
  486. {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/NOTICE.md +0 -0
@@ -1,4 +1,3 @@
1
-
2
1
  # Copyright (c) [2025] [OpenAI]
3
2
  # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
4
3
  # SPDX-License-Identifier: Apache-2.0
@@ -10,51 +9,53 @@
10
9
  #
11
10
  # This modified file is released under the same license.
12
11
 
13
- from typing import List, Union, Optional
12
+ from typing import List, Optional, Union
13
+
14
14
  from typing_extensions import Literal, TypeAlias
15
+ from volcenginesdkarkruntime.types.shared.reasoning import Reasoning
16
+ from volcenginesdkarkruntime.types.shared.thinking import Thinking
15
17
 
16
- from .tool import Tool
17
18
  from ..._models import BaseModel
19
+ from .response_caching import ResponseCaching
18
20
  from .response_error import ResponseError
19
- from .response_usage import ResponseUsage
20
- from .response_status import ResponseStatus
21
- from volcenginesdkarkruntime.types.shared.thinking import Thinking
22
- from .tool_choice_options import ToolChoiceOptions
21
+ from .response_incomplete_details import IncompleteDetails
23
22
  from .response_output_item import ResponseOutputItem
24
23
  from .response_text_config import ResponseTextConfig
24
+ from .response_usage import ResponseUsage
25
+ from .tool import Tool
25
26
  from .tool_choice_function import ToolChoiceFunction
26
- from .response_incomplete_details import IncompleteDetails
27
- from .response_caching import ResponseCaching
28
-
27
+ from .tool_choice_knowledge_search import ToolChoiceKnowledgeSearch
28
+ from .tool_choice_mcp import ToolChoiceMcp
29
+ from .tool_choice_options import ToolChoiceOptions
30
+ from .tool_choice_web_search import ToolChoiceWebSearch
29
31
 
30
32
  __all__ = ["Response", "ToolChoice"]
31
33
 
32
34
 
33
- ToolChoice: TypeAlias = Union[ToolChoiceOptions, ToolChoiceFunction]
35
+ ToolChoice: TypeAlias = Union[
36
+ ToolChoiceOptions,
37
+ ToolChoiceFunction,
38
+ ToolChoiceMcp,
39
+ ToolChoiceWebSearch,
40
+ ToolChoiceKnowledgeSearch,
41
+ ]
34
42
 
35
43
 
36
44
  class Response(BaseModel):
37
- id: str
38
- """Unique identifier for this Response."""
39
-
40
- created_at: float
45
+ created_at: int
41
46
  """Unix timestamp (in seconds) of when this Response was created."""
42
47
 
43
48
  error: Optional[ResponseError] = None
44
49
  """An error object returned when the model fails to generate a Response."""
45
50
 
51
+ id: str
52
+ """Unique identifier for this Response."""
53
+
46
54
  incomplete_details: Optional[IncompleteDetails] = None
47
55
  """Details about why the response is incomplete."""
48
56
 
49
- instructions: Optional[str] = None
50
- """
51
- Inserts a system (or developer) message as the first item in the model's
52
- context.
53
-
54
- When using along with `previous_response_id`, the instructions from a previous
55
- response will not be carried over to the next response. This makes it simple to
56
- swap out system (or developer) messages in new responses.
57
- """
57
+ max_output_tokens: Optional[int] = None
58
+ """An upper bound for the number of tokens that can be generated for a response."""
58
59
 
59
60
  model: str
60
61
  """Model Name or endpoint id."""
@@ -63,90 +64,55 @@ class Response(BaseModel):
63
64
  """The object type of this resource - always set to `response`."""
64
65
 
65
66
  output: List[ResponseOutputItem]
66
- """An array of content items generated by the model.
67
+ """An array of content items generated by the model."""
67
68
 
68
- - The length and order of items in the `output` array is dependent on the
69
- model's response.
70
- - Rather than accessing the first item in the `output` array and assuming it's
71
- an `assistant` message with the content generated by the model, you might
72
- consider using the `output_text` property where supported in SDKs.
73
- """
69
+ previous_response_id: Optional[str] = None
70
+ """The unique ID of the previous response to the model. Use this to create multi-turn conversations."""
74
71
 
75
- parallel_tool_calls: bool
76
- """Whether to allow the model to run tool calls in parallel."""
72
+ thinking: Optional[Thinking] = None
73
+ """The thinking mode to use for the model."""
77
74
 
78
- temperature: Optional[float] = None
79
- """What sampling temperature to use, between 0 and 2.
75
+ service_tier: Optional[Literal["auto", "default"]] = None
76
+ """Specifies the latency tier to use for processing the request."""
80
77
 
81
- Higher values like 0.8 will make the output more random, while lower values like
82
- 0.2 will make it more focused and deterministic. We generally recommend altering
83
- this or `top_p` but not both.
84
- """
78
+ status: Literal["in_progress", "completed", "incomplete", "failed"]
79
+ """The status of the response generation. One of `completed`, `failed`, `in_progress`, or `incomplete`."""
85
80
 
86
- tool_choice: ToolChoice
87
- """
88
- How the model should select which tool (or tools) to use when generating a
89
- response. See the `tools` parameter to see how to specify which tools the model
90
- can call.
91
- """
81
+ temperature: Optional[float] = None
82
+ """What sampling temperature to use, between 0 and 2."""
92
83
 
93
84
  tools: List[Tool]
94
- """
95
- An array of tools the model may call while generating a response.
96
-
97
- You can specify which tool to use by setting the `tool_choice` parameter.
98
- """
85
+ """An array of tools the model may call while generating a response. You can specify which tool to use by setting the `tool_choice` parameter."""
99
86
 
100
87
  top_p: Optional[float] = None
101
- """
102
- An alternative to sampling with temperature, called nucleus sampling, where the
103
- model considers the results of the tokens with top_p probability mass. So 0.1
104
- means only the tokens comprising the top 10% probability mass are considered.
105
-
106
- We generally recommend altering this or `temperature` but not both.
107
- """
88
+ """An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered."""
108
89
 
109
- max_output_tokens: Optional[int] = None
110
- """
111
- An upper bound for the number of tokens that can be generated for a response.
112
- """
113
-
114
- previous_response_id: Optional[str] = None
115
- """The unique ID of the previous response to the model.
116
-
117
- Use this to create multi-turn conversations.
118
- """
90
+ usage: Optional[ResponseUsage] = None
91
+ """Represents token usage details including input tokens, output tokens, a breakdown of output tokens, and the total tokens used."""
119
92
 
120
- thinking: Optional[Thinking] = None
121
- """
122
- The thinking mode to use for the model.
123
- """
93
+ caching: Optional[ResponseCaching] = None
94
+ """Represents the caching configuration for the response."""
124
95
 
125
- service_tier: Optional[Literal["auto", "default"]] = None
126
- """
127
- Specifies the latency tier to use for processing the request.
128
- """
96
+ text: Optional[ResponseTextConfig] = None
97
+ """Configuration options for a text response from the model. Can be plain text or json object"""
129
98
 
130
- status: Optional[ResponseStatus] = None
131
- """The status of the response generation.
99
+ instructions: Optional[str] = None
100
+ """Inserts a system (or developer) message as the first item in the model's context."""
132
101
 
133
- One of `completed`, `failed`, `in_progress`, or `incomplete`.
134
- """
102
+ store: Optional[bool] = None
103
+ """Whether to store the response object"""
135
104
 
136
- text: Optional[ResponseTextConfig] = None
137
- """Configuration options for a text response from the model.
105
+ expire_at: Optional[int] = None
106
+ """The expiration time of the response object"""
138
107
 
139
- Can be plain text or json object
108
+ tool_choice: Optional[ToolChoice] = None
109
+ """How the model should select which tool (or tools) to use when generating a response. See the `tools` parameter to see how to specify which tools the model can call."""
140
110
 
141
- """
111
+ parallel_tool_calls: Optional[bool] = None
112
+ """Whether to allow the model to run tool calls in parallel."""
142
113
 
143
- usage: Optional[ResponseUsage] = None
144
- """
145
- Represents token usage details including input tokens, output tokens, a
146
- breakdown of output tokens, and the total tokens used.
147
- """
114
+ max_tool_calls: Optional[int] = None
115
+ """The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored."""
148
116
 
149
- caching: Optional[ResponseCaching] = None
150
- """
151
- Represents the caching configuration for the response.
152
- """
117
+ reasoning: Optional[Reasoning] = None
118
+ """Configuration options for reasoning models"""
@@ -1,4 +1,3 @@
1
-
2
1
  # Copyright (c) [2025] [OpenAI]
3
2
  # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
4
3
  # SPDX-License-Identifier: Apache-2.0
@@ -10,27 +9,9 @@
10
9
  #
11
10
  # This modified file is released under the same license.
12
11
 
13
- from typing_extensions import Literal
14
12
 
15
- from ..._models import BaseModel
16
- from .response_output_text import ResponseOutputTextAnnotation
13
+ from .response_output_text_annotation_added_event import (
14
+ ResponseOutputTextAnnotationAddedEvent,
15
+ )
17
16
 
18
17
  __all__ = ["ResponseOutputTextAnnotationAddedEvent"]
19
-
20
-
21
- class ResponseOutputTextAnnotationAddedEvent(BaseModel):
22
-
23
- item_id: str
24
- """The ID of the item this event is associated with."""
25
-
26
- output_index: int
27
- """The index of the output item this event is associated with."""
28
-
29
- type: Literal["response.output_text.annotation.added"]
30
- """The type of the event. Always `response.annotation.added`."""
31
-
32
- content_index: int
33
- """The index of the content in the output content."""
34
-
35
- annotation: ResponseOutputTextAnnotation
36
- """The annotation added to the output content."""
@@ -1,4 +1,3 @@
1
-
2
1
  # Copyright (c) [2025] [OpenAI]
3
2
  # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
4
3
  # SPDX-License-Identifier: Apache-2.0
@@ -11,15 +10,16 @@
11
10
  # This modified file is released under the same license.
12
11
 
13
12
  from typing import Optional
13
+
14
14
  from typing_extensions import Literal
15
15
 
16
- from pydantic import BaseModel
16
+ from ..._models import BaseModel
17
17
 
18
18
  __all__ = ["ResponseCaching"]
19
19
 
20
20
 
21
21
  class ResponseCaching(BaseModel):
22
- type: Optional[Literal["enabled", "disabled"]]
23
- """
24
- Whether to enable caching.
25
- """
22
+ type: Optional[Literal["disabled", "enabled"]] = None
23
+ """Whether to enable caching."""
24
+
25
+ prefix: Optional[bool] = None
@@ -1,4 +1,3 @@
1
-
2
1
  # Copyright (c) [2025] [OpenAI]
3
2
  # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
4
3
  # SPDX-License-Identifier: Apache-2.0
@@ -12,11 +11,15 @@
12
11
 
13
12
  from __future__ import annotations
14
13
 
15
- from typing_extensions import Literal, Required, TypedDict
14
+ from typing import Optional
15
+
16
+ from typing_extensions import Literal, TypedDict
16
17
 
17
18
  __all__ = ["ResponseCaching"]
18
19
 
19
20
 
20
21
  class ResponseCaching(TypedDict, total=False):
21
- type: Required[Literal["disabled", "enabled"]]
22
- """The type of caching."""
22
+ type: Optional[Literal["disabled", "enabled"]]
23
+ """Whether to enable caching."""
24
+
25
+ prefix: Optional[bool]
@@ -1,4 +1,3 @@
1
-
2
1
  # Copyright (c) [2025] [OpenAI]
3
2
  # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
4
3
  # SPDX-License-Identifier: Apache-2.0
@@ -13,14 +12,23 @@
13
12
  from __future__ import annotations
14
13
 
15
14
  from typing import Union
15
+
16
16
  from typing_extensions import TypeAlias
17
17
 
18
- from .tool_choice_options import ToolChoiceOptions
19
18
  from .tool_choice_function_param import ToolChoiceFunctionParam
19
+ from .tool_choice_knowledge_search_param import ToolChoiceKnowledgeSearchParam
20
20
  from .tool_choice_mcp_param import ToolChoiceMcpParam
21
+ from .tool_choice_options import ToolChoiceOptions
22
+ from .tool_choice_web_search_param import ToolChoiceWebSearchParam
21
23
 
22
24
  __all__ = [
23
25
  "ToolChoice",
24
26
  ]
25
27
 
26
- ToolChoice: TypeAlias = Union[ToolChoiceOptions, ToolChoiceFunctionParam, ToolChoiceMcpParam]
28
+ ToolChoice: TypeAlias = Union[
29
+ ToolChoiceOptions,
30
+ ToolChoiceFunctionParam,
31
+ ToolChoiceMcpParam,
32
+ ToolChoiceWebSearchParam,
33
+ ToolChoiceKnowledgeSearchParam,
34
+ ]
@@ -0,0 +1,24 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing import Optional
15
+
16
+ from ..._models import BaseModel
17
+
18
+ __all__ = ["ResponseImageProcessAction"]
19
+
20
+
21
+ class ResponseImageProcessAction(BaseModel):
22
+ type: str
23
+
24
+ result_image_url: Optional[str] = None
@@ -0,0 +1,30 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing import Union
15
+
16
+ from typing_extensions import TypeAlias
17
+
18
+ from .response_image_process_grounding_args import ResponseImageProcessGroundingArgs
19
+ from .response_image_process_point_args import ResponseImageProcessPointArgs
20
+ from .response_image_process_rotate_args import ResponseImageProcessRotateArgs
21
+ from .response_image_process_zoom_args import ResponseImageProcessZoomArgs
22
+
23
+ __all__ = ["ResponseImageProcessArgs"]
24
+
25
+ ResponseImageProcessArgs: TypeAlias = Union[
26
+ ResponseImageProcessPointArgs,
27
+ ResponseImageProcessGroundingArgs,
28
+ ResponseImageProcessRotateArgs,
29
+ ResponseImageProcessZoomArgs,
30
+ ]
@@ -0,0 +1,35 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing import Optional
15
+
16
+ from typing_extensions import Literal
17
+
18
+ from ..._models import BaseModel
19
+ from .response_image_process_action import ResponseImageProcessAction
20
+ from .response_image_process_args import ResponseImageProcessArgs
21
+ from .response_image_process_error import ResponseImageProcessError
22
+
23
+ __all__ = ["ResponseImageProcessCallCompletedEvent"]
24
+
25
+
26
+ class ResponseImageProcessCallCompletedEvent(BaseModel):
27
+ type: Literal["response.image_process_call.completed"]
28
+
29
+ item_id: str
30
+
31
+ action: ResponseImageProcessAction
32
+
33
+ arguments: ResponseImageProcessArgs
34
+
35
+ error: Optional[ResponseImageProcessError] = None
@@ -0,0 +1,24 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing_extensions import Literal
15
+
16
+ from ..._models import BaseModel
17
+
18
+ __all__ = ["ResponseImageProcessCallInProgressEvent"]
19
+
20
+
21
+ class ResponseImageProcessCallInProgressEvent(BaseModel):
22
+ type: Literal["response.image_process_call.in_progress"]
23
+
24
+ item_id: str
@@ -0,0 +1,30 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing_extensions import Literal
15
+
16
+ from ..._models import BaseModel
17
+ from .response_image_process_action import ResponseImageProcessAction
18
+ from .response_image_process_args import ResponseImageProcessArgs
19
+
20
+ __all__ = ["ResponseImageProcessCallProcessingEvent"]
21
+
22
+
23
+ class ResponseImageProcessCallProcessingEvent(BaseModel):
24
+ type: Literal["response.image_process_call.progressing"]
25
+
26
+ item_id: str
27
+
28
+ action: ResponseImageProcessAction
29
+
30
+ arguments: ResponseImageProcessArgs
@@ -0,0 +1,20 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from ..._models import BaseModel
15
+
16
+ __all__ = ["ResponseImageProcessError"]
17
+
18
+
19
+ class ResponseImageProcessError(BaseModel):
20
+ message: str
@@ -0,0 +1,24 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from ..._models import BaseModel
15
+
16
+ __all__ = ["ResponseImageProcessGroundingArgs"]
17
+
18
+
19
+ class ResponseImageProcessGroundingArgs(BaseModel):
20
+ image_index: int
21
+
22
+ bbox_str: str
23
+
24
+ crop: bool
@@ -0,0 +1,24 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from ..._models import BaseModel
15
+
16
+ __all__ = ["ResponseImageProcessPointArgs"]
17
+
18
+
19
+ class ResponseImageProcessPointArgs(BaseModel):
20
+ image_index: int
21
+
22
+ points: str
23
+
24
+ drawLine: bool
@@ -0,0 +1,22 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from ..._models import BaseModel
15
+
16
+ __all__ = ["ResponseImageProcessRotateArgs"]
17
+
18
+
19
+ class ResponseImageProcessRotateArgs(BaseModel):
20
+ image_index: int
21
+
22
+ degree: int
@@ -0,0 +1,24 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from ..._models import BaseModel
15
+
16
+ __all__ = ["ResponseImageProcessZoomArgs"]
17
+
18
+
19
+ class ResponseImageProcessZoomArgs(BaseModel):
20
+ image_index: int
21
+
22
+ bbox_str: str
23
+
24
+ scale: float
@@ -0,0 +1,33 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing import Optional
15
+
16
+ from typing_extensions import Literal
17
+
18
+ from ..._models import BaseModel
19
+ from .audio_chunking_strategy import AudioChunkingStrategy
20
+
21
+ __all__ = ["ResponseInputAudio"]
22
+
23
+
24
+ class ResponseInputAudio(BaseModel):
25
+ type: Literal["input_audio"]
26
+
27
+ chunking_strategy: Optional[AudioChunkingStrategy] = None
28
+
29
+ audio_url: str
30
+
31
+ file_id: Optional[str] = None
32
+
33
+ audio_bytes: Optional[bytes] = None
@@ -0,0 +1,32 @@
1
+ # Copyright (c) [2025] [OpenAI]
2
+ # Copyright (c) [2025] [ByteDance Ltd. and/or its affiliates.]
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # This file has been modified by [ByteDance Ltd. and/or its affiliates.] on 2025.7
6
+ #
7
+ # Original file was released under Apache License Version 2.0, with the full license text
8
+ # available at https://github.com/openai/openai-python/blob/main/LICENSE.
9
+ #
10
+ # This modified file is released under the same license.
11
+
12
+ from __future__ import annotations
13
+
14
+ from typing import Optional
15
+
16
+ from typing_extensions import Literal, Required, TypedDict
17
+
18
+ from .audio_chunking_strategy_param import AudioChunkingStrategyParam
19
+
20
+ __all__ = ["ResponseInputAudioParam"]
21
+
22
+
23
+ class ResponseInputAudioParam(TypedDict, total=False):
24
+ type: Required[Literal["input_audio"]]
25
+
26
+ chunking_strategy: Optional[AudioChunkingStrategyParam]
27
+
28
+ audio_url: Required[str]
29
+
30
+ file_id: Optional[str]
31
+
32
+ audio_bytes: Optional[bytes]