arkruntime 0.1.0__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.
- arkruntime/__init__.py +11 -0
- arkruntime/_base_client.py +1373 -0
- arkruntime/_client.py +585 -0
- arkruntime/_compat.py +265 -0
- arkruntime/_constants.py +55 -0
- arkruntime/_exceptions.py +188 -0
- arkruntime/_files.py +122 -0
- arkruntime/_legacy_response.py +438 -0
- arkruntime/_managed_agents_serialize.py +55 -0
- arkruntime/_models.py +733 -0
- arkruntime/_qs.py +164 -0
- arkruntime/_request_options.py +118 -0
- arkruntime/_resource.py +41 -0
- arkruntime/_response.py +599 -0
- arkruntime/_streaming.py +460 -0
- arkruntime/_types.py +207 -0
- arkruntime/_utils/__init__.py +144 -0
- arkruntime/_utils/_key_agreement.py +217 -0
- arkruntime/_utils/_logs.py +28 -0
- arkruntime/_utils/_model_breaker.py +87 -0
- arkruntime/_utils/_streams.py +17 -0
- arkruntime/_utils/_transform.py +463 -0
- arkruntime/_utils/_typing.py +157 -0
- arkruntime/_utils/_utils.py +473 -0
- arkruntime/common/__init__.py +6 -0
- arkruntime/common/_parsing/__init__.py +31 -0
- arkruntime/common/_parsing/_completions.py +272 -0
- arkruntime/common/_parsing/_responses.py +174 -0
- arkruntime/common/_pydantic.py +166 -0
- arkruntime/common/_tools.py +85 -0
- arkruntime/common/streaming/__init__.py +4 -0
- arkruntime/common/streaming/_deltas.py +68 -0
- arkruntime/common/streaming/chat/__init__.py +49 -0
- arkruntime/common/streaming/chat/_completions.py +732 -0
- arkruntime/common/streaming/chat/_events.py +96 -0
- arkruntime/common/streaming/chat/_types.py +28 -0
- arkruntime/pagination.py +128 -0
- arkruntime/resources/__init__.py +75 -0
- arkruntime/resources/agents/__init__.py +3 -0
- arkruntime/resources/agents/agents.py +372 -0
- arkruntime/resources/batch/__init__.py +6 -0
- arkruntime/resources/batch/_utils.py +156 -0
- arkruntime/resources/batch/batch.py +40 -0
- arkruntime/resources/batch/chat/__init__.py +6 -0
- arkruntime/resources/batch/chat/chat.py +22 -0
- arkruntime/resources/batch/chat/completions.py +217 -0
- arkruntime/resources/batch/embeddings.py +150 -0
- arkruntime/resources/batch/multimodal_embeddings.py +160 -0
- arkruntime/resources/beta/__init__.py +4 -0
- arkruntime/resources/beta/beta.py +73 -0
- arkruntime/resources/beta/chat/__init__.py +13 -0
- arkruntime/resources/beta/chat/chat.py +23 -0
- arkruntime/resources/beta/chat/completions.py +356 -0
- arkruntime/resources/chat/__init__.py +7 -0
- arkruntime/resources/chat/chat.py +23 -0
- arkruntime/resources/chat/completions.py +242 -0
- arkruntime/resources/content_generation/__init__.py +7 -0
- arkruntime/resources/content_generation/content_generation.py +21 -0
- arkruntime/resources/content_generation/tasks.py +331 -0
- arkruntime/resources/embeddings/__init__.py +6 -0
- arkruntime/resources/embeddings/embeddings.py +140 -0
- arkruntime/resources/encryption.py +187 -0
- arkruntime/resources/environments/__init__.py +3 -0
- arkruntime/resources/environments/environments.py +216 -0
- arkruntime/resources/files/__init__.py +6 -0
- arkruntime/resources/files/files.py +401 -0
- arkruntime/resources/images/__init__.py +10 -0
- arkruntime/resources/images/images.py +152 -0
- arkruntime/resources/memory_stores/__init__.py +7 -0
- arkruntime/resources/memory_stores/memories.py +262 -0
- arkruntime/resources/memory_stores/memory_stores.py +223 -0
- arkruntime/resources/multimodal_embeddings/__init__.py +9 -0
- arkruntime/resources/multimodal_embeddings/multimodal_embeddings.py +150 -0
- arkruntime/resources/responses/__init__.py +8 -0
- arkruntime/resources/responses/input_items.py +241 -0
- arkruntime/resources/responses/responses.py +467 -0
- arkruntime/resources/sessions/__init__.py +24 -0
- arkruntime/resources/sessions/session_events.py +336 -0
- arkruntime/resources/sessions/session_resources.py +89 -0
- arkruntime/resources/sessions/session_threads.py +275 -0
- arkruntime/resources/sessions/sessions.py +331 -0
- arkruntime/resources/skills/__init__.py +3 -0
- arkruntime/resources/skills/skills.py +112 -0
- arkruntime/resources/tokenization/__init__.py +9 -0
- arkruntime/resources/tokenization/tokenization.py +131 -0
- arkruntime/resources/vaults/__init__.py +4 -0
- arkruntime/resources/vaults/credentials.py +253 -0
- arkruntime/resources/vaults/vaults.py +197 -0
- arkruntime/types/__init__.py +7 -0
- arkruntime/types/agent/__init__.py +56 -0
- arkruntime/types/agent/_init_extras_shim.py +12 -0
- arkruntime/types/agent/agent.py +86 -0
- arkruntime/types/agent/agent_ref.py +32 -0
- arkruntime/types/agent/agent_ref_type.py +18 -0
- arkruntime/types/agent/agent_skill_ref.py +32 -0
- arkruntime/types/agent/create_agent_request.py +65 -0
- arkruntime/types/agent/delete_agent_response.py +20 -0
- arkruntime/types/agent/list_agents_response.py +32 -0
- arkruntime/types/agent/mcp_server.py +30 -0
- arkruntime/types/agent/mcp_server_type.py +16 -0
- arkruntime/types/agent/model_config.py +28 -0
- arkruntime/types/agent/model_speed.py +18 -0
- arkruntime/types/agent/multiagent_config.py +29 -0
- arkruntime/types/agent/multiagent_type.py +16 -0
- arkruntime/types/agent/permission_policy.py +22 -0
- arkruntime/types/agent/permission_policy_type.py +18 -0
- arkruntime/types/agent/skill_ref_type.py +19 -0
- arkruntime/types/agent/tag.py +26 -0
- arkruntime/types/agent/tool_config.py +32 -0
- arkruntime/types/agent/tool_default_config.py +28 -0
- arkruntime/types/agent/tool_item.py +57 -0
- arkruntime/types/agent/update_agent_request.py +70 -0
- arkruntime/types/chat/__init__.py +212 -0
- arkruntime/types/chat/_init_extras_shim.py +73 -0
- arkruntime/types/chat/chat_completion_choice_logprobs.py +20 -0
- arkruntime/types/chat/chat_completion_content_part.py +32 -0
- arkruntime/types/chat/chat_completion_content_part_audio.py +23 -0
- arkruntime/types/chat/chat_completion_content_part_audio_input_audio.py +30 -0
- arkruntime/types/chat/chat_completion_content_part_audio_input_audio_param.py +25 -0
- arkruntime/types/chat/chat_completion_content_part_audio_param.py +22 -0
- arkruntime/types/chat/chat_completion_content_part_file.py +21 -0
- arkruntime/types/chat/chat_completion_content_part_file_file.py +30 -0
- arkruntime/types/chat/chat_completion_content_part_file_file_param.py +25 -0
- arkruntime/types/chat/chat_completion_content_part_file_param.py +22 -0
- arkruntime/types/chat/chat_completion_content_part_image.py +23 -0
- arkruntime/types/chat/chat_completion_content_part_image_image_url.py +33 -0
- arkruntime/types/chat/chat_completion_content_part_image_image_url_param.py +28 -0
- arkruntime/types/chat/chat_completion_content_part_image_param.py +22 -0
- arkruntime/types/chat/chat_completion_content_part_param.py +29 -0
- arkruntime/types/chat/chat_completion_content_part_text.py +22 -0
- arkruntime/types/chat/chat_completion_content_part_text_param.py +19 -0
- arkruntime/types/chat/chat_completion_content_part_video.py +23 -0
- arkruntime/types/chat/chat_completion_content_part_video_param.py +22 -0
- arkruntime/types/chat/chat_completion_content_part_video_video_url.py +36 -0
- arkruntime/types/chat/chat_completion_content_part_video_video_url_param.py +30 -0
- arkruntime/types/chat/chat_completion_message_content.py +17 -0
- arkruntime/types/chat/chat_completion_message_content_param.py +15 -0
- arkruntime/types/chat/chat_completion_message_tool_call.py +29 -0
- arkruntime/types/chat/chat_completion_message_tool_call_chunk.py +31 -0
- arkruntime/types/chat/chat_completion_message_tool_call_chunk_function.py +16 -0
- arkruntime/types/chat/chat_completion_message_tool_call_function.py +23 -0
- arkruntime/types/chat/chat_completion_message_tool_call_function_param.py +22 -0
- arkruntime/types/chat/chat_completion_message_tool_call_param.py +26 -0
- arkruntime/types/chat/chat_completion_named_tool_choice.py +21 -0
- arkruntime/types/chat/chat_completion_named_tool_choice_param.py +22 -0
- arkruntime/types/chat/chat_completion_request.py +129 -0
- arkruntime/types/chat/chat_completion_request_assistant_message.py +39 -0
- arkruntime/types/chat/chat_completion_request_assistant_message_param.py +36 -0
- arkruntime/types/chat/chat_completion_request_message.py +32 -0
- arkruntime/types/chat/chat_completion_request_message_param.py +29 -0
- arkruntime/types/chat/chat_completion_request_param.py +122 -0
- arkruntime/types/chat/chat_completion_request_system_message.py +25 -0
- arkruntime/types/chat/chat_completion_request_system_message_param.py +23 -0
- arkruntime/types/chat/chat_completion_request_tool_message.py +29 -0
- arkruntime/types/chat/chat_completion_request_tool_message_param.py +26 -0
- arkruntime/types/chat/chat_completion_request_user_message.py +29 -0
- arkruntime/types/chat/chat_completion_request_user_message_param.py +27 -0
- arkruntime/types/chat/chat_completion_response.py +52 -0
- arkruntime/types/chat/chat_completion_response_choice.py +36 -0
- arkruntime/types/chat/chat_completion_response_format.py +28 -0
- arkruntime/types/chat/chat_completion_response_format_json_schema.py +33 -0
- arkruntime/types/chat/chat_completion_response_format_json_schema_param.py +31 -0
- arkruntime/types/chat/chat_completion_response_format_param.py +27 -0
- arkruntime/types/chat/chat_completion_response_message.py +37 -0
- arkruntime/types/chat/chat_completion_role.py +16 -0
- arkruntime/types/chat/chat_completion_service_status.py +17 -0
- arkruntime/types/chat/chat_completion_stop.py +13 -0
- arkruntime/types/chat/chat_completion_stop_param.py +11 -0
- arkruntime/types/chat/chat_completion_stream_choice_logprobs.py +17 -0
- arkruntime/types/chat/chat_completion_stream_options.py +22 -0
- arkruntime/types/chat/chat_completion_stream_options_param.py +19 -0
- arkruntime/types/chat/chat_completion_stream_response.py +34 -0
- arkruntime/types/chat/chat_completion_stream_response_choice.py +27 -0
- arkruntime/types/chat/chat_completion_stream_response_delta.py +36 -0
- arkruntime/types/chat/chat_completion_token_logprob.py +26 -0
- arkruntime/types/chat/chat_completion_token_logprob_top_logprob.py +17 -0
- arkruntime/types/chat/chat_completion_tool.py +20 -0
- arkruntime/types/chat/chat_completion_tool_choice.py +18 -0
- arkruntime/types/chat/chat_completion_tool_choice_function.py +13 -0
- arkruntime/types/chat/chat_completion_tool_choice_function_param.py +13 -0
- arkruntime/types/chat/chat_completion_tool_choice_param.py +16 -0
- arkruntime/types/chat/chat_completion_tool_param.py +20 -0
- arkruntime/types/chat/completion_tokens_details.py +16 -0
- arkruntime/types/chat/completion_usage.py +35 -0
- arkruntime/types/chat/error.py +28 -0
- arkruntime/types/chat/error_response.py +15 -0
- arkruntime/types/chat/finish_reason.py +16 -0
- arkruntime/types/chat/function_object.py +35 -0
- arkruntime/types/chat/function_object_param.py +38 -0
- arkruntime/types/chat/image_detail.py +16 -0
- arkruntime/types/chat/image_pixel_limit.py +16 -0
- arkruntime/types/chat/image_pixel_limit_param.py +17 -0
- arkruntime/types/chat/model_fallback_status.py +20 -0
- arkruntime/types/chat/moderation_hit_type.py +14 -0
- arkruntime/types/chat/parsed_chat_completion_shim.py +52 -0
- arkruntime/types/chat/parsed_function_tool_call_shim.py +29 -0
- arkruntime/types/chat/prompt_tokens_details.py +34 -0
- arkruntime/types/chat/reasoning_effort.py +19 -0
- arkruntime/types/chat/request_service_tier.py +15 -0
- arkruntime/types/chat/response_format_type.py +15 -0
- arkruntime/types/chat/response_service_tier.py +15 -0
- arkruntime/types/chat/thinking.py +17 -0
- arkruntime/types/chat/thinking_mode.py +15 -0
- arkruntime/types/chat/thinking_param.py +17 -0
- arkruntime/types/chat/tool_choice_mode.py +15 -0
- arkruntime/types/chat/tool_type.py +13 -0
- arkruntime/types/chat/tool_type_param.py +11 -0
- arkruntime/types/chat/video_image_pixel_limit.py +16 -0
- arkruntime/types/chat/video_image_pixel_limit_param.py +17 -0
- arkruntime/types/completion_usage.py +43 -0
- arkruntime/types/content_generation/__init__.py +66 -0
- arkruntime/types/content_generation/_init_extras_shim.py +12 -0
- arkruntime/types/content_generation/audio_role.py +16 -0
- arkruntime/types/content_generation/audio_url.py +16 -0
- arkruntime/types/content_generation/audio_url_param.py +14 -0
- arkruntime/types/content_generation/content_generation_task.py +125 -0
- arkruntime/types/content_generation/content_item.py +54 -0
- arkruntime/types/content_generation/content_item_param.py +46 -0
- arkruntime/types/content_generation/content_type.py +21 -0
- arkruntime/types/content_generation/create_content_generation_task_request.py +106 -0
- arkruntime/types/content_generation/create_content_generation_task_request_param.py +83 -0
- arkruntime/types/content_generation/create_content_generation_task_response.py +16 -0
- arkruntime/types/content_generation/draft_task.py +16 -0
- arkruntime/types/content_generation/draft_task_param.py +14 -0
- arkruntime/types/content_generation/image_role.py +20 -0
- arkruntime/types/content_generation/image_url.py +16 -0
- arkruntime/types/content_generation/image_url_param.py +14 -0
- arkruntime/types/content_generation/list_content_generation_tasks_response.py +24 -0
- arkruntime/types/content_generation/reasoning_effort.py +16 -0
- arkruntime/types/content_generation/task_content.py +30 -0
- arkruntime/types/content_generation/task_error.py +20 -0
- arkruntime/types/content_generation/task_status.py +21 -0
- arkruntime/types/content_generation/task_usage.py +28 -0
- arkruntime/types/content_generation/tool.py +18 -0
- arkruntime/types/content_generation/tool_param.py +17 -0
- arkruntime/types/content_generation/tool_type.py +13 -0
- arkruntime/types/content_generation/tool_type_param.py +11 -0
- arkruntime/types/content_generation/tool_usage.py +18 -0
- arkruntime/types/content_generation/video_role.py +16 -0
- arkruntime/types/content_generation/video_url.py +16 -0
- arkruntime/types/content_generation/video_url_param.py +14 -0
- arkruntime/types/embedding/__init__.py +30 -0
- arkruntime/types/embedding/_init_extras_shim.py +12 -0
- arkruntime/types/embedding/embedding.py +18 -0
- arkruntime/types/embedding/embedding_input.py +18 -0
- arkruntime/types/embedding/embedding_input_param.py +16 -0
- arkruntime/types/embedding/embedding_item.py +32 -0
- arkruntime/types/embedding/embedding_request.py +39 -0
- arkruntime/types/embedding/embedding_request_param.py +37 -0
- arkruntime/types/embedding/embedding_response.py +41 -0
- arkruntime/types/embedding/embedding_usage.py +24 -0
- arkruntime/types/embedding/encoding_format.py +14 -0
- arkruntime/types/environment/__init__.py +36 -0
- arkruntime/types/environment/_init_extras_shim.py +12 -0
- arkruntime/types/environment/create_environment_request.py +41 -0
- arkruntime/types/environment/delete_environment_response.py +24 -0
- arkruntime/types/environment/env_config.py +38 -0
- arkruntime/types/environment/env_config_type.py +18 -0
- arkruntime/types/environment/environment.py +57 -0
- arkruntime/types/environment/environment_scope.py +18 -0
- arkruntime/types/environment/list_environments_response.py +30 -0
- arkruntime/types/environment/networking_config.py +37 -0
- arkruntime/types/environment/networking_type.py +18 -0
- arkruntime/types/environment/packages_config.py +47 -0
- arkruntime/types/environment/update_environment_request.py +45 -0
- arkruntime/types/file/__init__.py +40 -0
- arkruntime/types/file/_init_extras_shim.py +12 -0
- arkruntime/types/file/file_create_request.py +41 -0
- arkruntime/types/file/file_create_request_param.py +41 -0
- arkruntime/types/file/file_deleted.py +30 -0
- arkruntime/types/file/file_error.py +32 -0
- arkruntime/types/file/file_list_response.py +42 -0
- arkruntime/types/file/file_object.py +71 -0
- arkruntime/types/file/order.py +18 -0
- arkruntime/types/file/preprocess_configs.py +24 -0
- arkruntime/types/file/preprocess_configs_param.py +22 -0
- arkruntime/types/file/purpose.py +18 -0
- arkruntime/types/file/status.py +19 -0
- arkruntime/types/file/tos_storage.py +28 -0
- arkruntime/types/file/tos_storage_param.py +25 -0
- arkruntime/types/file/video.py +26 -0
- arkruntime/types/file/video_param.py +23 -0
- arkruntime/types/images/__init__.py +55 -0
- arkruntime/types/images/_init_extras_shim.py +12 -0
- arkruntime/types/images/bounding_box.py +27 -0
- arkruntime/types/images/create_image_generation_request.py +88 -0
- arkruntime/types/images/create_image_generation_request_param.py +73 -0
- arkruntime/types/images/image_data_item.py +58 -0
- arkruntime/types/images/image_error.py +20 -0
- arkruntime/types/images/image_generation_response.py +43 -0
- arkruntime/types/images/image_generation_stream_event.py +74 -0
- arkruntime/types/images/image_generation_stream_event_type.py +19 -0
- arkruntime/types/images/optimize_prompt_mode.py +18 -0
- arkruntime/types/images/optimize_prompt_options.py +20 -0
- arkruntime/types/images/optimize_prompt_options_param.py +18 -0
- arkruntime/types/images/output_format.py +18 -0
- arkruntime/types/images/response_format.py +18 -0
- arkruntime/types/images/sequential_image_generation_mode.py +18 -0
- arkruntime/types/images/sequential_image_generation_options.py +18 -0
- arkruntime/types/images/sequential_image_generation_options_param.py +16 -0
- arkruntime/types/images/tool.py +18 -0
- arkruntime/types/images/tool_param.py +17 -0
- arkruntime/types/images/tool_type.py +13 -0
- arkruntime/types/images/tool_type_param.py +11 -0
- arkruntime/types/images/tool_usage.py +18 -0
- arkruntime/types/images/usage.py +36 -0
- arkruntime/types/memory/__init__.py +44 -0
- arkruntime/types/memory/_init_extras_shim.py +12 -0
- arkruntime/types/memory/actor.py +26 -0
- arkruntime/types/memory/actor_type.py +16 -0
- arkruntime/types/memory/create_memory_request.py +24 -0
- arkruntime/types/memory/create_memory_store_request.py +30 -0
- arkruntime/types/memory/delete_memory_response.py +26 -0
- arkruntime/types/memory/delete_memory_store_response.py +26 -0
- arkruntime/types/memory/list_memories_order_by.py +18 -0
- arkruntime/types/memory/list_memories_response.py +32 -0
- arkruntime/types/memory/list_memory_stores_response.py +28 -0
- arkruntime/types/memory/memory.py +64 -0
- arkruntime/types/memory/memory_list_item.py +58 -0
- arkruntime/types/memory/memory_list_item_type.py +20 -0
- arkruntime/types/memory/memory_store.py +64 -0
- arkruntime/types/memory/update_memory_request.py +27 -0
- arkruntime/types/memory/update_memory_store_request.py +31 -0
- arkruntime/types/multimodal_embedding/__init__.py +54 -0
- arkruntime/types/multimodal_embedding/_init_extras_shim.py +12 -0
- arkruntime/types/multimodal_embedding/embedding.py +13 -0
- arkruntime/types/multimodal_embedding/embedding_data_item.py +33 -0
- arkruntime/types/multimodal_embedding/embedding_input.py +34 -0
- arkruntime/types/multimodal_embedding/embedding_input_param.py +29 -0
- arkruntime/types/multimodal_embedding/embedding_input_type.py +15 -0
- arkruntime/types/multimodal_embedding/embedding_object.py +14 -0
- arkruntime/types/multimodal_embedding/embedding_usage.py +26 -0
- arkruntime/types/multimodal_embedding/encoding_format.py +14 -0
- arkruntime/types/multimodal_embedding/image_url.py +16 -0
- arkruntime/types/multimodal_embedding/image_url_param.py +14 -0
- arkruntime/types/multimodal_embedding/multi_embedding_config.py +18 -0
- arkruntime/types/multimodal_embedding/multi_embedding_config_param.py +17 -0
- arkruntime/types/multimodal_embedding/multi_embedding_mode.py +14 -0
- arkruntime/types/multimodal_embedding/multi_modal_embedding_request.py +47 -0
- arkruntime/types/multimodal_embedding/multi_modal_embedding_request_param.py +39 -0
- arkruntime/types/multimodal_embedding/multi_modal_embedding_response.py +41 -0
- arkruntime/types/multimodal_embedding/prompt_tokens_details.py +20 -0
- arkruntime/types/multimodal_embedding/sparse_embedding_config.py +20 -0
- arkruntime/types/multimodal_embedding/sparse_embedding_config_param.py +18 -0
- arkruntime/types/multimodal_embedding/sparse_embedding_mode.py +14 -0
- arkruntime/types/multimodal_embedding/sparse_embedding_value.py +20 -0
- arkruntime/types/multimodal_embedding/video_url.py +22 -0
- arkruntime/types/multimodal_embedding/video_url_param.py +19 -0
- arkruntime/types/responses/__init__.py +528 -0
- arkruntime/types/responses/_init_extras_shim.py +47 -0
- arkruntime/types/responses/annotation.py +20 -0
- arkruntime/types/responses/annotation_param.py +14 -0
- arkruntime/types/responses/applied_edit.py +22 -0
- arkruntime/types/responses/audio_chunk.py +15 -0
- arkruntime/types/responses/audio_chunking_strategy.py +18 -0
- arkruntime/types/responses/audio_chunking_strategy_param.py +21 -0
- arkruntime/types/responses/cache_mode.py +14 -0
- arkruntime/types/responses/clear_thinking.py +18 -0
- arkruntime/types/responses/clear_thinking_keep.py +18 -0
- arkruntime/types/responses/clear_thinking_keep_param.py +19 -0
- arkruntime/types/responses/clear_thinking_param.py +19 -0
- arkruntime/types/responses/clear_thinking_response.py +16 -0
- arkruntime/types/responses/clear_tool_uses.py +23 -0
- arkruntime/types/responses/clear_tool_uses_inputs.py +18 -0
- arkruntime/types/responses/clear_tool_uses_inputs_param.py +19 -0
- arkruntime/types/responses/clear_tool_uses_param.py +27 -0
- arkruntime/types/responses/clear_tool_uses_response.py +16 -0
- arkruntime/types/responses/content_filter.py +14 -0
- arkruntime/types/responses/content_item.py +36 -0
- arkruntime/types/responses/content_item_audio.py +20 -0
- arkruntime/types/responses/content_item_audio_param.py +23 -0
- arkruntime/types/responses/content_item_file.py +19 -0
- arkruntime/types/responses/content_item_file_param.py +23 -0
- arkruntime/types/responses/content_item_image.py +22 -0
- arkruntime/types/responses/content_item_image_param.py +26 -0
- arkruntime/types/responses/content_item_param.py +29 -0
- arkruntime/types/responses/content_item_text.py +22 -0
- arkruntime/types/responses/content_item_text_param.py +19 -0
- arkruntime/types/responses/content_item_video.py +27 -0
- arkruntime/types/responses/content_item_video_param.py +24 -0
- arkruntime/types/responses/context_management.py +17 -0
- arkruntime/types/responses/context_management_param.py +17 -0
- arkruntime/types/responses/context_management_response.py +17 -0
- arkruntime/types/responses/cover_image.py +26 -0
- arkruntime/types/responses/cover_image_param.py +22 -0
- arkruntime/types/responses/delete_response_response.py +17 -0
- arkruntime/types/responses/doc_citation.py +19 -0
- arkruntime/types/responses/doc_citation_param.py +23 -0
- arkruntime/types/responses/doubao_app_call_block.py +30 -0
- arkruntime/types/responses/doubao_app_call_block_output_text.py +21 -0
- arkruntime/types/responses/doubao_app_call_block_reasoning_search.py +24 -0
- arkruntime/types/responses/doubao_app_call_block_reasoning_text.py +21 -0
- arkruntime/types/responses/doubao_app_call_block_search.py +24 -0
- arkruntime/types/responses/doubao_app_feature.py +20 -0
- arkruntime/types/responses/doubao_app_feature_item.py +18 -0
- arkruntime/types/responses/doubao_app_feature_item_param.py +19 -0
- arkruntime/types/responses/doubao_app_feature_mode.py +14 -0
- arkruntime/types/responses/doubao_app_feature_param.py +23 -0
- arkruntime/types/responses/doubao_app_search_result.py +15 -0
- arkruntime/types/responses/doubao_app_search_text_item.py +15 -0
- arkruntime/types/responses/doubao_app_tool.py +20 -0
- arkruntime/types/responses/doubao_app_tool_param.py +22 -0
- arkruntime/types/responses/edit.py +19 -0
- arkruntime/types/responses/edit_param.py +14 -0
- arkruntime/types/responses/function_tool.py +32 -0
- arkruntime/types/responses/function_tool_param.py +29 -0
- arkruntime/types/responses/image_detail.py +16 -0
- arkruntime/types/responses/image_pixel_limit.py +16 -0
- arkruntime/types/responses/image_pixel_limit_param.py +17 -0
- arkruntime/types/responses/image_process_options.py +15 -0
- arkruntime/types/responses/image_process_options_param.py +15 -0
- arkruntime/types/responses/image_process_tool.py +21 -0
- arkruntime/types/responses/image_process_tool_param.py +25 -0
- arkruntime/types/responses/incomplete_details.py +24 -0
- arkruntime/types/responses/input_item.py +38 -0
- arkruntime/types/responses/input_item_list_params_shim.py +39 -0
- arkruntime/types/responses/input_item_param.py +33 -0
- arkruntime/types/responses/input_tokens_details.py +17 -0
- arkruntime/types/responses/item_agent_tool_call.py +20 -0
- arkruntime/types/responses/item_doubao_app_call.py +22 -0
- arkruntime/types/responses/item_easy_message.py +22 -0
- arkruntime/types/responses/item_easy_message_param.py +26 -0
- arkruntime/types/responses/item_function_image_process.py +24 -0
- arkruntime/types/responses/item_function_knowledge_search.py +21 -0
- arkruntime/types/responses/item_function_mcp_approval_request.py +34 -0
- arkruntime/types/responses/item_function_mcp_approval_request_param.py +28 -0
- arkruntime/types/responses/item_function_mcp_approval_response.py +34 -0
- arkruntime/types/responses/item_function_mcp_approval_response_param.py +28 -0
- arkruntime/types/responses/item_function_mcp_call.py +44 -0
- arkruntime/types/responses/item_function_mcp_call_param.py +38 -0
- arkruntime/types/responses/item_function_mcp_list_tools.py +36 -0
- arkruntime/types/responses/item_function_mcp_list_tools_param.py +30 -0
- arkruntime/types/responses/item_function_tool_call.py +37 -0
- arkruntime/types/responses/item_function_tool_call_output.py +22 -0
- arkruntime/types/responses/item_function_tool_call_output_param.py +26 -0
- arkruntime/types/responses/item_function_tool_call_param.py +32 -0
- arkruntime/types/responses/item_function_web_search.py +21 -0
- arkruntime/types/responses/item_input_message.py +24 -0
- arkruntime/types/responses/item_output_message.py +23 -0
- arkruntime/types/responses/item_reasoning.py +24 -0
- arkruntime/types/responses/item_reasoning_param.py +29 -0
- arkruntime/types/responses/item_reference.py +16 -0
- arkruntime/types/responses/item_status.py +17 -0
- arkruntime/types/responses/item_transcription.py +21 -0
- arkruntime/types/responses/knowledge_search_tool.py +46 -0
- arkruntime/types/responses/knowledge_search_tool_param.py +37 -0
- arkruntime/types/responses/list_input_items_response.py +21 -0
- arkruntime/types/responses/mcp_allowed_tools.py +17 -0
- arkruntime/types/responses/mcp_allowed_tools_filter.py +15 -0
- arkruntime/types/responses/mcp_allowed_tools_filter_param.py +15 -0
- arkruntime/types/responses/mcp_allowed_tools_param.py +13 -0
- arkruntime/types/responses/mcp_approval_mode.py +14 -0
- arkruntime/types/responses/mcp_list_tools_tool.py +30 -0
- arkruntime/types/responses/mcp_list_tools_tool_param.py +25 -0
- arkruntime/types/responses/mcp_require_approval.py +18 -0
- arkruntime/types/responses/mcp_require_approval_param.py +14 -0
- arkruntime/types/responses/mcp_tool.py +24 -0
- arkruntime/types/responses/mcp_tool_approval_filter.py +19 -0
- arkruntime/types/responses/mcp_tool_approval_filter_always.py +15 -0
- arkruntime/types/responses/mcp_tool_approval_filter_always_param.py +15 -0
- arkruntime/types/responses/mcp_tool_approval_filter_never.py +15 -0
- arkruntime/types/responses/mcp_tool_approval_filter_never_param.py +15 -0
- arkruntime/types/responses/mcp_tool_approval_filter_param.py +20 -0
- arkruntime/types/responses/mcp_tool_param.py +30 -0
- arkruntime/types/responses/message_content.py +15 -0
- arkruntime/types/responses/message_content_param.py +13 -0
- arkruntime/types/responses/message_role.py +16 -0
- arkruntime/types/responses/order.py +18 -0
- arkruntime/types/responses/output_content_item.py +23 -0
- arkruntime/types/responses/output_content_item_param.py +18 -0
- arkruntime/types/responses/output_content_item_reasoning_text.py +19 -0
- arkruntime/types/responses/output_content_item_reasoning_text_param.py +21 -0
- arkruntime/types/responses/output_content_item_text.py +19 -0
- arkruntime/types/responses/output_content_item_text_param.py +21 -0
- arkruntime/types/responses/output_item.py +46 -0
- arkruntime/types/responses/output_tokens_details.py +13 -0
- arkruntime/types/responses/parsed_response_shim.py +106 -0
- arkruntime/types/responses/reasoning.py +17 -0
- arkruntime/types/responses/reasoning_effort.py +19 -0
- arkruntime/types/responses/reasoning_param.py +17 -0
- arkruntime/types/responses/reasoning_summary_part.py +16 -0
- arkruntime/types/responses/reasoning_summary_part_param.py +17 -0
- arkruntime/types/responses/response.py +58 -0
- arkruntime/types/responses/response_agent_tool_call_completed_event.py +19 -0
- arkruntime/types/responses/response_agent_tool_call_in_progress_event.py +19 -0
- arkruntime/types/responses/response_caching.py +18 -0
- arkruntime/types/responses/response_caching_param.py +19 -0
- arkruntime/types/responses/response_completed_event.py +28 -0
- arkruntime/types/responses/response_content_part_added_event.py +22 -0
- arkruntime/types/responses/response_content_part_done_event.py +22 -0
- arkruntime/types/responses/response_created_event.py +28 -0
- arkruntime/types/responses/response_doubao_app_call_block_added_event.py +21 -0
- arkruntime/types/responses/response_doubao_app_call_block_done_event.py +21 -0
- arkruntime/types/responses/response_doubao_app_call_completed_event.py +22 -0
- arkruntime/types/responses/response_doubao_app_call_failed_event.py +19 -0
- arkruntime/types/responses/response_doubao_app_call_in_progress_event.py +19 -0
- arkruntime/types/responses/response_doubao_app_call_output_text_delta_event.py +20 -0
- arkruntime/types/responses/response_doubao_app_call_output_text_done_event.py +20 -0
- arkruntime/types/responses/response_doubao_app_call_reasoning_search_completed_event.py +24 -0
- arkruntime/types/responses/response_doubao_app_call_reasoning_search_in_progress_event.py +19 -0
- arkruntime/types/responses/response_doubao_app_call_reasoning_search_searching_event.py +20 -0
- arkruntime/types/responses/response_doubao_app_call_reasoning_text_delta_event.py +20 -0
- arkruntime/types/responses/response_doubao_app_call_reasoning_text_done_event.py +20 -0
- arkruntime/types/responses/response_doubao_app_call_search_completed_event.py +24 -0
- arkruntime/types/responses/response_doubao_app_call_search_in_progress_event.py +19 -0
- arkruntime/types/responses/response_doubao_app_call_search_searching_event.py +20 -0
- arkruntime/types/responses/response_error.py +20 -0
- arkruntime/types/responses/response_error_event.py +34 -0
- arkruntime/types/responses/response_failed_event.py +28 -0
- arkruntime/types/responses/response_function_call_arguments_delta_event.py +34 -0
- arkruntime/types/responses/response_function_call_arguments_done_event.py +31 -0
- arkruntime/types/responses/response_image_process_action.py +16 -0
- arkruntime/types/responses/response_image_process_call_completed_event.py +22 -0
- arkruntime/types/responses/response_image_process_call_in_progress_event.py +21 -0
- arkruntime/types/responses/response_image_process_call_processing_event.py +22 -0
- arkruntime/types/responses/response_image_process_error.py +13 -0
- arkruntime/types/responses/response_in_progress_event.py +28 -0
- arkruntime/types/responses/response_includable.py +15 -0
- arkruntime/types/responses/response_incomplete_event.py +28 -0
- arkruntime/types/responses/response_knowledge_search_call_completed_event.py +21 -0
- arkruntime/types/responses/response_knowledge_search_call_failed_event.py +21 -0
- arkruntime/types/responses/response_knowledge_search_call_in_progress_event.py +21 -0
- arkruntime/types/responses/response_knowledge_search_call_searching_event.py +21 -0
- arkruntime/types/responses/response_mcp_approval_request_event.py +20 -0
- arkruntime/types/responses/response_mcp_call_arguments_delta_event.py +35 -0
- arkruntime/types/responses/response_mcp_call_arguments_done_event.py +34 -0
- arkruntime/types/responses/response_mcp_call_completed_event.py +30 -0
- arkruntime/types/responses/response_mcp_call_failed_event.py +30 -0
- arkruntime/types/responses/response_mcp_call_in_progress_event.py +30 -0
- arkruntime/types/responses/response_mcp_list_tools_completed_event.py +30 -0
- arkruntime/types/responses/response_mcp_list_tools_failed_event.py +30 -0
- arkruntime/types/responses/response_mcp_list_tools_in_progress_event.py +30 -0
- arkruntime/types/responses/response_output_item_added_event.py +20 -0
- arkruntime/types/responses/response_output_item_done_event.py +20 -0
- arkruntime/types/responses/response_output_text_annotation_added_event.py +46 -0
- arkruntime/types/responses/response_reasoning_raw_text_delta_event.py +38 -0
- arkruntime/types/responses/response_reasoning_raw_text_done_event.py +38 -0
- arkruntime/types/responses/response_reasoning_summary_part_added_event.py +22 -0
- arkruntime/types/responses/response_reasoning_summary_part_done_event.py +22 -0
- arkruntime/types/responses/response_reasoning_summary_text_delta_event.py +38 -0
- arkruntime/types/responses/response_reasoning_summary_text_done_event.py +38 -0
- arkruntime/types/responses/response_reasoning_text_delta_event.py +38 -0
- arkruntime/types/responses/response_reasoning_text_done_event.py +38 -0
- arkruntime/types/responses/response_status.py +16 -0
- arkruntime/types/responses/response_stream_event.py +216 -0
- arkruntime/types/responses/response_text_config.py +15 -0
- arkruntime/types/responses/response_text_config_param.py +16 -0
- arkruntime/types/responses/response_text_delta_event.py +38 -0
- arkruntime/types/responses/response_text_done_event.py +38 -0
- arkruntime/types/responses/response_transcription_part_added_event.py +22 -0
- arkruntime/types/responses/response_transcription_part_done_event.py +22 -0
- arkruntime/types/responses/response_transcription_text_delta_event.py +46 -0
- arkruntime/types/responses/response_transcription_text_done_event.py +52 -0
- arkruntime/types/responses/response_usage.py +47 -0
- arkruntime/types/responses/response_web_search_call_completed_event.py +30 -0
- arkruntime/types/responses/response_web_search_call_in_progress_event.py +30 -0
- arkruntime/types/responses/response_web_search_call_searching_event.py +30 -0
- arkruntime/types/responses/responses_input.py +15 -0
- arkruntime/types/responses/responses_input_param.py +13 -0
- arkruntime/types/responses/responses_request.py +50 -0
- arkruntime/types/responses/responses_request_param.py +73 -0
- arkruntime/types/responses/service_tier.py +14 -0
- arkruntime/types/responses/session.py +13 -0
- arkruntime/types/responses/session_param.py +13 -0
- arkruntime/types/responses/text_format.py +22 -0
- arkruntime/types/responses/text_format_param.py +25 -0
- arkruntime/types/responses/text_format_type.py +15 -0
- arkruntime/types/responses/text_translation_options.py +14 -0
- arkruntime/types/responses/thinking.py +17 -0
- arkruntime/types/responses/thinking_mode.py +15 -0
- arkruntime/types/responses/thinking_param.py +17 -0
- arkruntime/types/responses/thinking_turns_param.py +16 -0
- arkruntime/types/responses/thinking_turns_param_param.py +17 -0
- arkruntime/types/responses/tool.py +34 -0
- arkruntime/types/responses/tool_choice.py +16 -0
- arkruntime/types/responses/tool_choice_function.py +22 -0
- arkruntime/types/responses/tool_choice_function_param.py +19 -0
- arkruntime/types/responses/tool_choice_knowledge_search.py +15 -0
- arkruntime/types/responses/tool_choice_knowledge_search_param.py +15 -0
- arkruntime/types/responses/tool_choice_mcp.py +26 -0
- arkruntime/types/responses/tool_choice_mcp_param.py +22 -0
- arkruntime/types/responses/tool_choice_options.py +15 -0
- arkruntime/types/responses/tool_choice_param.py +14 -0
- arkruntime/types/responses/tool_choice_web_search.py +15 -0
- arkruntime/types/responses/tool_choice_web_search_param.py +15 -0
- arkruntime/types/responses/tool_name_list.py +15 -0
- arkruntime/types/responses/tool_name_list_param.py +15 -0
- arkruntime/types/responses/tool_param.py +25 -0
- arkruntime/types/responses/tool_usage.py +27 -0
- arkruntime/types/responses/tool_usage_details.py +30 -0
- arkruntime/types/responses/tool_uses_keep.py +16 -0
- arkruntime/types/responses/tool_uses_keep_param.py +17 -0
- arkruntime/types/responses/tool_uses_trigger.py +16 -0
- arkruntime/types/responses/tool_uses_trigger_param.py +17 -0
- arkruntime/types/responses/transcription_part.py +19 -0
- arkruntime/types/responses/truncation_mode.py +14 -0
- arkruntime/types/responses/typed_tool_choice.py +30 -0
- arkruntime/types/responses/typed_tool_choice_param.py +21 -0
- arkruntime/types/responses/url_citation.py +26 -0
- arkruntime/types/responses/url_citation_param.py +35 -0
- arkruntime/types/responses/user_location.py +34 -0
- arkruntime/types/responses/user_location_param.py +28 -0
- arkruntime/types/responses/web_search_action.py +16 -0
- arkruntime/types/responses/web_search_source.py +16 -0
- arkruntime/types/responses/web_search_tool.py +22 -0
- arkruntime/types/responses/web_search_tool_param.py +26 -0
- arkruntime/types/session/__init__.py +154 -0
- arkruntime/types/session/_init_extras_shim.py +88 -0
- arkruntime/types/session/agent_identifier.py +19 -0
- arkruntime/types/session/agent_ref.py +31 -0
- arkruntime/types/session/base64_document_source.py +27 -0
- arkruntime/types/session/base64_image_source.py +27 -0
- arkruntime/types/session/cache_creation.py +26 -0
- arkruntime/types/session/create_session_request.py +50 -0
- arkruntime/types/session/create_session_resource_request.py +29 -0
- arkruntime/types/session/delete_session_response.py +24 -0
- arkruntime/types/session/document_source.py +34 -0
- arkruntime/types/session/file_document_source.py +23 -0
- arkruntime/types/session/file_image_source.py +23 -0
- arkruntime/types/session/image_source.py +28 -0
- arkruntime/types/session/list_session_events_response_wire.py +31 -0
- arkruntime/types/session/list_session_resources_response.py +24 -0
- arkruntime/types/session/list_session_threads_response.py +28 -0
- arkruntime/types/session/list_sessions_order.py +18 -0
- arkruntime/types/session/list_sessions_response.py +28 -0
- arkruntime/types/session/managed_agents_agent_message_preview.py +27 -0
- arkruntime/types/session/managed_agents_agent_thinking_preview.py +27 -0
- arkruntime/types/session/managed_agents_delta_content.py +34 -0
- arkruntime/types/session/managed_agents_delta_event.py +34 -0
- arkruntime/types/session/managed_agents_delta_text_block.py +27 -0
- arkruntime/types/session/managed_agents_document_block.py +33 -0
- arkruntime/types/session/managed_agents_event_params.py +57 -0
- arkruntime/types/session/managed_agents_file_rubric_params.py +23 -0
- arkruntime/types/session/managed_agents_image_block.py +25 -0
- arkruntime/types/session/managed_agents_message_content_block.py +30 -0
- arkruntime/types/session/managed_agents_rubric.py +26 -0
- arkruntime/types/session/managed_agents_search_result_block.py +38 -0
- arkruntime/types/session/managed_agents_session_event.py +34 -0
- arkruntime/types/session/managed_agents_start_event.py +31 -0
- arkruntime/types/session/managed_agents_start_event_preview.py +27 -0
- arkruntime/types/session/managed_agents_stream_preview_event.py +26 -0
- arkruntime/types/session/managed_agents_system_content_block.py +23 -0
- arkruntime/types/session/managed_agents_system_message_event_params.py +34 -0
- arkruntime/types/session/managed_agents_text_block.py +23 -0
- arkruntime/types/session/managed_agents_text_rubric_params.py +23 -0
- arkruntime/types/session/managed_agents_tool_result_content_block.py +34 -0
- arkruntime/types/session/managed_agents_user_custom_tool_result_event_params.py +44 -0
- arkruntime/types/session/managed_agents_user_define_outcome_event_params.py +45 -0
- arkruntime/types/session/managed_agents_user_interrupt_event_params.py +31 -0
- arkruntime/types/session/managed_agents_user_message_event_params.py +34 -0
- arkruntime/types/session/managed_agents_user_tool_confirmation_event_params.py +46 -0
- arkruntime/types/session/managed_agents_user_tool_result_event_params.py +44 -0
- arkruntime/types/session/plain_text_document_source.py +27 -0
- arkruntime/types/session/search_result_citations.py +20 -0
- arkruntime/types/session/search_result_content.py +20 -0
- arkruntime/types/session/send_session_events_request.py +24 -0
- arkruntime/types/session/send_session_events_response.py +22 -0
- arkruntime/types/session/session.py +80 -0
- arkruntime/types/session/session_resource.py +70 -0
- arkruntime/types/session/session_resource_access.py +18 -0
- arkruntime/types/session/session_resource_type.py +19 -0
- arkruntime/types/session/session_status.py +20 -0
- arkruntime/types/session/session_stream_shim.py +540 -0
- arkruntime/types/session/session_thread.py +56 -0
- arkruntime/types/session/session_thread_status.py +20 -0
- arkruntime/types/session/session_usage.py +36 -0
- arkruntime/types/session/tag.py +26 -0
- arkruntime/types/session/tool_confirmation_result.py +18 -0
- arkruntime/types/session/update_session_request.py +28 -0
- arkruntime/types/session/url_document_source.py +23 -0
- arkruntime/types/session/url_image_source.py +23 -0
- arkruntime/types/skill/__init__.py +18 -0
- arkruntime/types/skill/_init_extras_shim.py +12 -0
- arkruntime/types/skill/create_skill_request.py +18 -0
- arkruntime/types/skill/skill.py +46 -0
- arkruntime/types/tokenization/__init__.py +24 -0
- arkruntime/types/tokenization/_init_extras_shim.py +12 -0
- arkruntime/types/tokenization/tokenization_input.py +17 -0
- arkruntime/types/tokenization/tokenization_input_param.py +15 -0
- arkruntime/types/tokenization/tokenization_item.py +39 -0
- arkruntime/types/tokenization/tokenization_request.py +30 -0
- arkruntime/types/tokenization/tokenization_request_param.py +30 -0
- arkruntime/types/tokenization/tokenization_response.py +36 -0
- arkruntime/types/vault/__init__.py +62 -0
- arkruntime/types/vault/_init_extras_shim.py +12 -0
- arkruntime/types/vault/create_credential_request.py +32 -0
- arkruntime/types/vault/create_vault_request.py +26 -0
- arkruntime/types/vault/credential.py +52 -0
- arkruntime/types/vault/credential_auth.py +64 -0
- arkruntime/types/vault/credential_auth_type.py +22 -0
- arkruntime/types/vault/credential_networking.py +29 -0
- arkruntime/types/vault/credential_networking_type.py +18 -0
- arkruntime/types/vault/credential_validation.py +54 -0
- arkruntime/types/vault/delete_credential_response.py +26 -0
- arkruntime/types/vault/delete_vault_response.py +26 -0
- arkruntime/types/vault/limited_credential_networking.py +22 -0
- arkruntime/types/vault/list_credentials_response.py +35 -0
- arkruntime/types/vault/list_vaults_response.py +32 -0
- arkruntime/types/vault/mcp_probe.py +26 -0
- arkruntime/types/vault/mcpo_auth_refresh.py +45 -0
- arkruntime/types/vault/refresh_http_response.py +32 -0
- arkruntime/types/vault/refresh_object.py +27 -0
- arkruntime/types/vault/refresh_status.py +20 -0
- arkruntime/types/vault/token_endpoint_auth.py +29 -0
- arkruntime/types/vault/token_endpoint_auth_type.py +19 -0
- arkruntime/types/vault/update_credential_request.py +35 -0
- arkruntime/types/vault/update_vault_request.py +27 -0
- arkruntime/types/vault/validation_status.py +19 -0
- arkruntime/types/vault/vault.py +42 -0
- arkruntime-0.1.0.dist-info/METADATA +347 -0
- arkruntime-0.1.0.dist-info/RECORD +714 -0
- arkruntime-0.1.0.dist-info/WHEEL +5 -0
- arkruntime-0.1.0.dist-info/licenses/LICENSE +201 -0
- arkruntime-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
# Generated by datamodel-code-generator from ark-apis typespec/openapi.
|
|
2
|
+
# DO NOT EDIT — regenerate with `make gen-py-<api>` in ark-apis.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
|
|
5
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from .annotation import Annotation
|
|
10
|
+
from .applied_edit import AppliedEdit
|
|
11
|
+
from .audio_chunk import AudioChunk
|
|
12
|
+
from .audio_chunking_strategy import AudioChunkingStrategy
|
|
13
|
+
from .cache_mode import CacheMode
|
|
14
|
+
from .clear_thinking import ClearThinking
|
|
15
|
+
from .clear_thinking_keep import ClearThinkingKeep
|
|
16
|
+
from .clear_thinking_response import ClearThinkingResponse
|
|
17
|
+
from .clear_tool_uses import ClearToolUses
|
|
18
|
+
from .clear_tool_uses_inputs import ClearToolUsesInputs
|
|
19
|
+
from .clear_tool_uses_response import ClearToolUsesResponse
|
|
20
|
+
from .content_filter import ContentFilter
|
|
21
|
+
from .content_item import ContentItem
|
|
22
|
+
from .content_item_audio import ContentItemAudio
|
|
23
|
+
from .content_item_file import ContentItemFile
|
|
24
|
+
from .content_item_image import ContentItemImage
|
|
25
|
+
from .content_item_text import ContentItemText
|
|
26
|
+
from .content_item_video import ContentItemVideo
|
|
27
|
+
from .context_management import ContextManagement
|
|
28
|
+
from .context_management_response import ContextManagementResponse
|
|
29
|
+
from .cover_image import CoverImage
|
|
30
|
+
from .delete_response_response import DeleteResponseResponse
|
|
31
|
+
from .doc_citation import DocCitation
|
|
32
|
+
from .doubao_app_call_block import DoubaoAppCallBlock
|
|
33
|
+
from .doubao_app_call_block_output_text import DoubaoAppCallBlockOutputText
|
|
34
|
+
from .doubao_app_call_block_reasoning_search import DoubaoAppCallBlockReasoningSearch
|
|
35
|
+
from .doubao_app_call_block_reasoning_text import DoubaoAppCallBlockReasoningText
|
|
36
|
+
from .doubao_app_call_block_search import DoubaoAppCallBlockSearch
|
|
37
|
+
from .doubao_app_feature import DoubaoAppFeature
|
|
38
|
+
from .doubao_app_feature_item import DoubaoAppFeatureItem
|
|
39
|
+
from .doubao_app_feature_mode import DoubaoAppFeatureMode
|
|
40
|
+
from .doubao_app_search_result import DoubaoAppSearchResult
|
|
41
|
+
from .doubao_app_search_text_item import DoubaoAppSearchTextItem
|
|
42
|
+
from .doubao_app_tool import DoubaoAppTool
|
|
43
|
+
from .edit import Edit
|
|
44
|
+
from .function_tool import FunctionTool
|
|
45
|
+
from .image_detail import ImageDetail
|
|
46
|
+
from .image_pixel_limit import ImagePixelLimit
|
|
47
|
+
from .image_process_options import ImageProcessOptions
|
|
48
|
+
from .image_process_tool import ImageProcessTool
|
|
49
|
+
from .incomplete_details import IncompleteDetails
|
|
50
|
+
from .input_item import InputItem
|
|
51
|
+
from .input_tokens_details import InputTokensDetails
|
|
52
|
+
from .item_agent_tool_call import ItemAgentToolCall
|
|
53
|
+
from .item_doubao_app_call import ItemDoubaoAppCall
|
|
54
|
+
from .item_easy_message import ItemEasyMessage
|
|
55
|
+
from .item_function_image_process import ItemFunctionImageProcess
|
|
56
|
+
from .item_function_knowledge_search import ItemFunctionKnowledgeSearch
|
|
57
|
+
from .item_function_mcp_approval_request import ItemFunctionMcpApprovalRequest
|
|
58
|
+
from .item_function_mcp_approval_response import ItemFunctionMcpApprovalResponse
|
|
59
|
+
from .item_function_mcp_call import ItemFunctionMcpCall
|
|
60
|
+
from .item_function_mcp_list_tools import ItemFunctionMcpListTools
|
|
61
|
+
from .item_function_tool_call import ItemFunctionToolCall
|
|
62
|
+
from .item_function_tool_call_output import ItemFunctionToolCallOutput
|
|
63
|
+
from .item_function_web_search import ItemFunctionWebSearch
|
|
64
|
+
from .item_input_message import ItemInputMessage
|
|
65
|
+
from .item_output_message import ItemOutputMessage
|
|
66
|
+
from .item_reasoning import ItemReasoning
|
|
67
|
+
from .item_reference import ItemReference
|
|
68
|
+
from .item_status import ItemStatus
|
|
69
|
+
from .item_transcription import ItemTranscription
|
|
70
|
+
from .knowledge_search_tool import KnowledgeSearchTool
|
|
71
|
+
from .list_input_items_response import ListInputItemsResponse
|
|
72
|
+
from .mcp_allowed_tools import McpAllowedTools
|
|
73
|
+
from .mcp_allowed_tools_filter import McpAllowedToolsFilter
|
|
74
|
+
from .mcp_approval_mode import McpApprovalMode
|
|
75
|
+
from .mcp_list_tools_tool import McpListToolsTool
|
|
76
|
+
from .mcp_require_approval import McpRequireApproval
|
|
77
|
+
from .mcp_tool import McpTool
|
|
78
|
+
from .mcp_tool_approval_filter import McpToolApprovalFilter
|
|
79
|
+
from .mcp_tool_approval_filter_always import McpToolApprovalFilterAlways
|
|
80
|
+
from .mcp_tool_approval_filter_never import McpToolApprovalFilterNever
|
|
81
|
+
from .message_content import MessageContent
|
|
82
|
+
from .message_role import MessageRole
|
|
83
|
+
from .order import Order
|
|
84
|
+
from .output_content_item import OutputContentItem
|
|
85
|
+
from .output_content_item_reasoning_text import OutputContentItemReasoningText
|
|
86
|
+
from .output_content_item_text import OutputContentItemText
|
|
87
|
+
from .output_item import OutputItem
|
|
88
|
+
from .output_tokens_details import OutputTokensDetails
|
|
89
|
+
from .reasoning import Reasoning
|
|
90
|
+
from .reasoning_effort import ReasoningEffort
|
|
91
|
+
from .reasoning_summary_part import ReasoningSummaryPart
|
|
92
|
+
from .response import Response
|
|
93
|
+
from .response_agent_tool_call_completed_event import (
|
|
94
|
+
ResponseAgentToolCallCompletedEvent,
|
|
95
|
+
)
|
|
96
|
+
from .response_agent_tool_call_in_progress_event import (
|
|
97
|
+
ResponseAgentToolCallInProgressEvent,
|
|
98
|
+
)
|
|
99
|
+
from .response_caching import ResponseCaching
|
|
100
|
+
from .response_completed_event import ResponseCompletedEvent
|
|
101
|
+
from .response_content_part_added_event import ResponseContentPartAddedEvent
|
|
102
|
+
from .response_content_part_done_event import ResponseContentPartDoneEvent
|
|
103
|
+
from .response_created_event import ResponseCreatedEvent
|
|
104
|
+
from .response_doubao_app_call_block_added_event import (
|
|
105
|
+
ResponseDoubaoAppCallBlockAddedEvent,
|
|
106
|
+
)
|
|
107
|
+
from .response_doubao_app_call_block_done_event import (
|
|
108
|
+
ResponseDoubaoAppCallBlockDoneEvent,
|
|
109
|
+
)
|
|
110
|
+
from .response_doubao_app_call_completed_event import (
|
|
111
|
+
ResponseDoubaoAppCallCompletedEvent,
|
|
112
|
+
)
|
|
113
|
+
from .response_doubao_app_call_failed_event import ResponseDoubaoAppCallFailedEvent
|
|
114
|
+
from .response_doubao_app_call_in_progress_event import (
|
|
115
|
+
ResponseDoubaoAppCallInProgressEvent,
|
|
116
|
+
)
|
|
117
|
+
from .response_doubao_app_call_output_text_delta_event import (
|
|
118
|
+
ResponseDoubaoAppCallOutputTextDeltaEvent,
|
|
119
|
+
)
|
|
120
|
+
from .response_doubao_app_call_output_text_done_event import (
|
|
121
|
+
ResponseDoubaoAppCallOutputTextDoneEvent,
|
|
122
|
+
)
|
|
123
|
+
from .response_doubao_app_call_reasoning_search_completed_event import (
|
|
124
|
+
ResponseDoubaoAppCallReasoningSearchCompletedEvent,
|
|
125
|
+
)
|
|
126
|
+
from .response_doubao_app_call_reasoning_search_in_progress_event import (
|
|
127
|
+
ResponseDoubaoAppCallReasoningSearchInProgressEvent,
|
|
128
|
+
)
|
|
129
|
+
from .response_doubao_app_call_reasoning_search_searching_event import (
|
|
130
|
+
ResponseDoubaoAppCallReasoningSearchSearchingEvent,
|
|
131
|
+
)
|
|
132
|
+
from .response_doubao_app_call_reasoning_text_delta_event import (
|
|
133
|
+
ResponseDoubaoAppCallReasoningTextDeltaEvent,
|
|
134
|
+
)
|
|
135
|
+
from .response_doubao_app_call_reasoning_text_done_event import (
|
|
136
|
+
ResponseDoubaoAppCallReasoningTextDoneEvent,
|
|
137
|
+
)
|
|
138
|
+
from .response_doubao_app_call_search_completed_event import (
|
|
139
|
+
ResponseDoubaoAppCallSearchCompletedEvent,
|
|
140
|
+
)
|
|
141
|
+
from .response_doubao_app_call_search_in_progress_event import (
|
|
142
|
+
ResponseDoubaoAppCallSearchInProgressEvent,
|
|
143
|
+
)
|
|
144
|
+
from .response_doubao_app_call_search_searching_event import (
|
|
145
|
+
ResponseDoubaoAppCallSearchSearchingEvent,
|
|
146
|
+
)
|
|
147
|
+
from .response_error import ResponseError
|
|
148
|
+
from .response_error_event import ResponseErrorEvent
|
|
149
|
+
from .response_failed_event import ResponseFailedEvent
|
|
150
|
+
from .response_function_call_arguments_delta_event import (
|
|
151
|
+
ResponseFunctionCallArgumentsDeltaEvent,
|
|
152
|
+
)
|
|
153
|
+
from .response_function_call_arguments_done_event import (
|
|
154
|
+
ResponseFunctionCallArgumentsDoneEvent,
|
|
155
|
+
)
|
|
156
|
+
from .response_image_process_action import ResponseImageProcessAction
|
|
157
|
+
from .response_image_process_call_completed_event import (
|
|
158
|
+
ResponseImageProcessCallCompletedEvent,
|
|
159
|
+
)
|
|
160
|
+
from .response_image_process_call_in_progress_event import (
|
|
161
|
+
ResponseImageProcessCallInProgressEvent,
|
|
162
|
+
)
|
|
163
|
+
from .response_image_process_call_processing_event import (
|
|
164
|
+
ResponseImageProcessCallProcessingEvent,
|
|
165
|
+
)
|
|
166
|
+
from .response_image_process_error import ResponseImageProcessError
|
|
167
|
+
from .response_in_progress_event import ResponseInProgressEvent
|
|
168
|
+
from .response_includable import ResponseIncludable
|
|
169
|
+
from .response_incomplete_event import ResponseIncompleteEvent
|
|
170
|
+
from .response_knowledge_search_call_completed_event import (
|
|
171
|
+
ResponseKnowledgeSearchCallCompletedEvent,
|
|
172
|
+
)
|
|
173
|
+
from .response_knowledge_search_call_failed_event import (
|
|
174
|
+
ResponseKnowledgeSearchCallFailedEvent,
|
|
175
|
+
)
|
|
176
|
+
from .response_knowledge_search_call_in_progress_event import (
|
|
177
|
+
ResponseKnowledgeSearchCallInProgressEvent,
|
|
178
|
+
)
|
|
179
|
+
from .response_knowledge_search_call_searching_event import (
|
|
180
|
+
ResponseKnowledgeSearchCallSearchingEvent,
|
|
181
|
+
)
|
|
182
|
+
from .response_mcp_approval_request_event import ResponseMcpApprovalRequestEvent
|
|
183
|
+
from .response_mcp_call_arguments_delta_event import ResponseMcpCallArgumentsDeltaEvent
|
|
184
|
+
from .response_mcp_call_arguments_done_event import ResponseMcpCallArgumentsDoneEvent
|
|
185
|
+
from .response_mcp_call_completed_event import ResponseMcpCallCompletedEvent
|
|
186
|
+
from .response_mcp_call_failed_event import ResponseMcpCallFailedEvent
|
|
187
|
+
from .response_mcp_call_in_progress_event import ResponseMcpCallInProgressEvent
|
|
188
|
+
from .response_mcp_list_tools_completed_event import ResponseMcpListToolsCompletedEvent
|
|
189
|
+
from .response_mcp_list_tools_failed_event import ResponseMcpListToolsFailedEvent
|
|
190
|
+
from .response_mcp_list_tools_in_progress_event import (
|
|
191
|
+
ResponseMcpListToolsInProgressEvent,
|
|
192
|
+
)
|
|
193
|
+
from .response_output_item_added_event import ResponseOutputItemAddedEvent
|
|
194
|
+
from .response_output_item_done_event import ResponseOutputItemDoneEvent
|
|
195
|
+
from .response_output_text_annotation_added_event import (
|
|
196
|
+
ResponseOutputTextAnnotationAddedEvent,
|
|
197
|
+
)
|
|
198
|
+
from .response_reasoning_raw_text_delta_event import ResponseReasoningRawTextDeltaEvent
|
|
199
|
+
from .response_reasoning_raw_text_done_event import ResponseReasoningRawTextDoneEvent
|
|
200
|
+
from .response_reasoning_summary_part_added_event import (
|
|
201
|
+
ResponseReasoningSummaryPartAddedEvent,
|
|
202
|
+
)
|
|
203
|
+
from .response_reasoning_summary_part_done_event import (
|
|
204
|
+
ResponseReasoningSummaryPartDoneEvent,
|
|
205
|
+
)
|
|
206
|
+
from .response_reasoning_summary_text_delta_event import (
|
|
207
|
+
ResponseReasoningSummaryTextDeltaEvent,
|
|
208
|
+
)
|
|
209
|
+
from .response_reasoning_summary_text_done_event import (
|
|
210
|
+
ResponseReasoningSummaryTextDoneEvent,
|
|
211
|
+
)
|
|
212
|
+
from .response_reasoning_text_delta_event import ResponseReasoningTextDeltaEvent
|
|
213
|
+
from .response_reasoning_text_done_event import ResponseReasoningTextDoneEvent
|
|
214
|
+
from .response_status import ResponseStatus
|
|
215
|
+
from .response_stream_event import ResponseStreamEvent
|
|
216
|
+
from .response_text_config import ResponseTextConfig
|
|
217
|
+
from .response_text_delta_event import ResponseTextDeltaEvent
|
|
218
|
+
from .response_text_done_event import ResponseTextDoneEvent
|
|
219
|
+
from .response_transcription_part_added_event import ResponseTranscriptionPartAddedEvent
|
|
220
|
+
from .response_transcription_part_done_event import ResponseTranscriptionPartDoneEvent
|
|
221
|
+
from .response_transcription_text_delta_event import ResponseTranscriptionTextDeltaEvent
|
|
222
|
+
from .response_transcription_text_done_event import ResponseTranscriptionTextDoneEvent
|
|
223
|
+
from .response_usage import ResponseUsage
|
|
224
|
+
from .response_web_search_call_completed_event import (
|
|
225
|
+
ResponseWebSearchCallCompletedEvent,
|
|
226
|
+
)
|
|
227
|
+
from .response_web_search_call_in_progress_event import (
|
|
228
|
+
ResponseWebSearchCallInProgressEvent,
|
|
229
|
+
)
|
|
230
|
+
from .response_web_search_call_searching_event import (
|
|
231
|
+
ResponseWebSearchCallSearchingEvent,
|
|
232
|
+
)
|
|
233
|
+
from .responses_input import ResponsesInput
|
|
234
|
+
from .responses_request import ResponsesRequest
|
|
235
|
+
from .service_tier import ServiceTier
|
|
236
|
+
from .session import Session
|
|
237
|
+
from .text_format import TextFormat
|
|
238
|
+
from .text_format_type import TextFormatType
|
|
239
|
+
from .text_translation_options import TextTranslationOptions
|
|
240
|
+
from .thinking import Thinking
|
|
241
|
+
from .thinking_mode import ThinkingMode
|
|
242
|
+
from .thinking_turns_param import ThinkingTurnsParam
|
|
243
|
+
from .tool import Tool
|
|
244
|
+
from .tool_choice import ToolChoice
|
|
245
|
+
from .tool_choice_function import ToolChoiceFunction
|
|
246
|
+
from .tool_choice_knowledge_search import ToolChoiceKnowledgeSearch
|
|
247
|
+
from .tool_choice_mcp import ToolChoiceMcp
|
|
248
|
+
from .tool_choice_options import ToolChoiceOptions
|
|
249
|
+
from .tool_choice_web_search import ToolChoiceWebSearch
|
|
250
|
+
from .tool_name_list import ToolNameList
|
|
251
|
+
from .tool_usage import ToolUsage
|
|
252
|
+
from .tool_usage_details import ToolUsageDetails
|
|
253
|
+
from .tool_uses_keep import ToolUsesKeep
|
|
254
|
+
from .tool_uses_trigger import ToolUsesTrigger
|
|
255
|
+
from .transcription_part import TranscriptionPart
|
|
256
|
+
from .truncation_mode import TruncationMode
|
|
257
|
+
from .typed_tool_choice import TypedToolChoice
|
|
258
|
+
from .url_citation import UrlCitation
|
|
259
|
+
from .user_location import UserLocation
|
|
260
|
+
from .web_search_action import WebSearchAction
|
|
261
|
+
from .web_search_source import WebSearchSource
|
|
262
|
+
from .web_search_tool import WebSearchTool
|
|
263
|
+
|
|
264
|
+
__all__ = [
|
|
265
|
+
"Annotation",
|
|
266
|
+
"AppliedEdit",
|
|
267
|
+
"AudioChunk",
|
|
268
|
+
"AudioChunkingStrategy",
|
|
269
|
+
"CacheMode",
|
|
270
|
+
"ClearThinking",
|
|
271
|
+
"ClearThinkingKeep",
|
|
272
|
+
"ClearThinkingResponse",
|
|
273
|
+
"ClearToolUses",
|
|
274
|
+
"ClearToolUsesInputs",
|
|
275
|
+
"ClearToolUsesResponse",
|
|
276
|
+
"ContentFilter",
|
|
277
|
+
"ContentItem",
|
|
278
|
+
"ContentItemAudio",
|
|
279
|
+
"ContentItemFile",
|
|
280
|
+
"ContentItemImage",
|
|
281
|
+
"ContentItemText",
|
|
282
|
+
"ContentItemVideo",
|
|
283
|
+
"ContextManagement",
|
|
284
|
+
"ContextManagementResponse",
|
|
285
|
+
"CoverImage",
|
|
286
|
+
"DeleteResponseResponse",
|
|
287
|
+
"DocCitation",
|
|
288
|
+
"DoubaoAppCallBlock",
|
|
289
|
+
"DoubaoAppCallBlockOutputText",
|
|
290
|
+
"DoubaoAppCallBlockReasoningSearch",
|
|
291
|
+
"DoubaoAppCallBlockReasoningText",
|
|
292
|
+
"DoubaoAppCallBlockSearch",
|
|
293
|
+
"DoubaoAppFeature",
|
|
294
|
+
"DoubaoAppFeatureItem",
|
|
295
|
+
"DoubaoAppFeatureMode",
|
|
296
|
+
"DoubaoAppSearchResult",
|
|
297
|
+
"DoubaoAppSearchTextItem",
|
|
298
|
+
"DoubaoAppTool",
|
|
299
|
+
"Edit",
|
|
300
|
+
"FunctionTool",
|
|
301
|
+
"ImageDetail",
|
|
302
|
+
"ImagePixelLimit",
|
|
303
|
+
"ImageProcessOptions",
|
|
304
|
+
"ImageProcessTool",
|
|
305
|
+
"IncompleteDetails",
|
|
306
|
+
"InputItem",
|
|
307
|
+
"InputTokensDetails",
|
|
308
|
+
"ItemAgentToolCall",
|
|
309
|
+
"ItemDoubaoAppCall",
|
|
310
|
+
"ItemEasyMessage",
|
|
311
|
+
"ItemFunctionImageProcess",
|
|
312
|
+
"ItemFunctionKnowledgeSearch",
|
|
313
|
+
"ItemFunctionMcpApprovalRequest",
|
|
314
|
+
"ItemFunctionMcpApprovalResponse",
|
|
315
|
+
"ItemFunctionMcpCall",
|
|
316
|
+
"ItemFunctionMcpListTools",
|
|
317
|
+
"ItemFunctionToolCall",
|
|
318
|
+
"ItemFunctionToolCallOutput",
|
|
319
|
+
"ItemFunctionWebSearch",
|
|
320
|
+
"ItemInputMessage",
|
|
321
|
+
"ItemOutputMessage",
|
|
322
|
+
"ItemReasoning",
|
|
323
|
+
"ItemReference",
|
|
324
|
+
"ItemStatus",
|
|
325
|
+
"ItemTranscription",
|
|
326
|
+
"KnowledgeSearchTool",
|
|
327
|
+
"ListInputItemsResponse",
|
|
328
|
+
"McpAllowedTools",
|
|
329
|
+
"McpAllowedToolsFilter",
|
|
330
|
+
"McpApprovalMode",
|
|
331
|
+
"McpListToolsTool",
|
|
332
|
+
"McpRequireApproval",
|
|
333
|
+
"McpTool",
|
|
334
|
+
"McpToolApprovalFilter",
|
|
335
|
+
"McpToolApprovalFilterAlways",
|
|
336
|
+
"McpToolApprovalFilterNever",
|
|
337
|
+
"MessageContent",
|
|
338
|
+
"MessageRole",
|
|
339
|
+
"Order",
|
|
340
|
+
"OutputContentItem",
|
|
341
|
+
"OutputContentItemReasoningText",
|
|
342
|
+
"OutputContentItemText",
|
|
343
|
+
"OutputItem",
|
|
344
|
+
"OutputTokensDetails",
|
|
345
|
+
"Reasoning",
|
|
346
|
+
"ReasoningEffort",
|
|
347
|
+
"ReasoningSummaryPart",
|
|
348
|
+
"Response",
|
|
349
|
+
"ResponseAgentToolCallCompletedEvent",
|
|
350
|
+
"ResponseAgentToolCallInProgressEvent",
|
|
351
|
+
"ResponseCaching",
|
|
352
|
+
"ResponseCompletedEvent",
|
|
353
|
+
"ResponseContentPartAddedEvent",
|
|
354
|
+
"ResponseContentPartDoneEvent",
|
|
355
|
+
"ResponseCreatedEvent",
|
|
356
|
+
"ResponseDoubaoAppCallBlockAddedEvent",
|
|
357
|
+
"ResponseDoubaoAppCallBlockDoneEvent",
|
|
358
|
+
"ResponseDoubaoAppCallCompletedEvent",
|
|
359
|
+
"ResponseDoubaoAppCallFailedEvent",
|
|
360
|
+
"ResponseDoubaoAppCallInProgressEvent",
|
|
361
|
+
"ResponseDoubaoAppCallOutputTextDeltaEvent",
|
|
362
|
+
"ResponseDoubaoAppCallOutputTextDoneEvent",
|
|
363
|
+
"ResponseDoubaoAppCallReasoningSearchCompletedEvent",
|
|
364
|
+
"ResponseDoubaoAppCallReasoningSearchInProgressEvent",
|
|
365
|
+
"ResponseDoubaoAppCallReasoningSearchSearchingEvent",
|
|
366
|
+
"ResponseDoubaoAppCallReasoningTextDeltaEvent",
|
|
367
|
+
"ResponseDoubaoAppCallReasoningTextDoneEvent",
|
|
368
|
+
"ResponseDoubaoAppCallSearchCompletedEvent",
|
|
369
|
+
"ResponseDoubaoAppCallSearchInProgressEvent",
|
|
370
|
+
"ResponseDoubaoAppCallSearchSearchingEvent",
|
|
371
|
+
"ResponseError",
|
|
372
|
+
"ResponseErrorEvent",
|
|
373
|
+
"ResponseFailedEvent",
|
|
374
|
+
"ResponseFunctionCallArgumentsDeltaEvent",
|
|
375
|
+
"ResponseFunctionCallArgumentsDoneEvent",
|
|
376
|
+
"ResponseImageProcessAction",
|
|
377
|
+
"ResponseImageProcessCallCompletedEvent",
|
|
378
|
+
"ResponseImageProcessCallInProgressEvent",
|
|
379
|
+
"ResponseImageProcessCallProcessingEvent",
|
|
380
|
+
"ResponseImageProcessError",
|
|
381
|
+
"ResponseInProgressEvent",
|
|
382
|
+
"ResponseIncludable",
|
|
383
|
+
"ResponseIncompleteEvent",
|
|
384
|
+
"ResponseKnowledgeSearchCallCompletedEvent",
|
|
385
|
+
"ResponseKnowledgeSearchCallFailedEvent",
|
|
386
|
+
"ResponseKnowledgeSearchCallInProgressEvent",
|
|
387
|
+
"ResponseKnowledgeSearchCallSearchingEvent",
|
|
388
|
+
"ResponseMcpApprovalRequestEvent",
|
|
389
|
+
"ResponseMcpCallArgumentsDeltaEvent",
|
|
390
|
+
"ResponseMcpCallArgumentsDoneEvent",
|
|
391
|
+
"ResponseMcpCallCompletedEvent",
|
|
392
|
+
"ResponseMcpCallFailedEvent",
|
|
393
|
+
"ResponseMcpCallInProgressEvent",
|
|
394
|
+
"ResponseMcpListToolsCompletedEvent",
|
|
395
|
+
"ResponseMcpListToolsFailedEvent",
|
|
396
|
+
"ResponseMcpListToolsInProgressEvent",
|
|
397
|
+
"ResponseOutputItemAddedEvent",
|
|
398
|
+
"ResponseOutputItemDoneEvent",
|
|
399
|
+
"ResponseOutputTextAnnotationAddedEvent",
|
|
400
|
+
"ResponseReasoningRawTextDeltaEvent",
|
|
401
|
+
"ResponseReasoningRawTextDoneEvent",
|
|
402
|
+
"ResponseReasoningSummaryPartAddedEvent",
|
|
403
|
+
"ResponseReasoningSummaryPartDoneEvent",
|
|
404
|
+
"ResponseReasoningSummaryTextDeltaEvent",
|
|
405
|
+
"ResponseReasoningSummaryTextDoneEvent",
|
|
406
|
+
"ResponseReasoningTextDeltaEvent",
|
|
407
|
+
"ResponseReasoningTextDoneEvent",
|
|
408
|
+
"ResponseStatus",
|
|
409
|
+
"ResponseStreamEvent",
|
|
410
|
+
"ResponseTextConfig",
|
|
411
|
+
"ResponseTextDeltaEvent",
|
|
412
|
+
"ResponseTextDoneEvent",
|
|
413
|
+
"ResponseTranscriptionPartAddedEvent",
|
|
414
|
+
"ResponseTranscriptionPartDoneEvent",
|
|
415
|
+
"ResponseTranscriptionTextDeltaEvent",
|
|
416
|
+
"ResponseTranscriptionTextDoneEvent",
|
|
417
|
+
"ResponseUsage",
|
|
418
|
+
"ResponseWebSearchCallCompletedEvent",
|
|
419
|
+
"ResponseWebSearchCallInProgressEvent",
|
|
420
|
+
"ResponseWebSearchCallSearchingEvent",
|
|
421
|
+
"ResponsesInput",
|
|
422
|
+
"ResponsesRequest",
|
|
423
|
+
"ServiceTier",
|
|
424
|
+
"Session",
|
|
425
|
+
"TextFormat",
|
|
426
|
+
"TextFormatType",
|
|
427
|
+
"TextTranslationOptions",
|
|
428
|
+
"Thinking",
|
|
429
|
+
"ThinkingMode",
|
|
430
|
+
"ThinkingTurnsParam",
|
|
431
|
+
"Tool",
|
|
432
|
+
"ToolChoice",
|
|
433
|
+
"ToolChoiceFunction",
|
|
434
|
+
"ToolChoiceKnowledgeSearch",
|
|
435
|
+
"ToolChoiceMcp",
|
|
436
|
+
"ToolChoiceOptions",
|
|
437
|
+
"ToolChoiceWebSearch",
|
|
438
|
+
"ToolNameList",
|
|
439
|
+
"ToolUsage",
|
|
440
|
+
"ToolUsageDetails",
|
|
441
|
+
"ToolUsesKeep",
|
|
442
|
+
"ToolUsesTrigger",
|
|
443
|
+
"TranscriptionPart",
|
|
444
|
+
"TruncationMode",
|
|
445
|
+
"TypedToolChoice",
|
|
446
|
+
"UrlCitation",
|
|
447
|
+
"UserLocation",
|
|
448
|
+
"WebSearchAction",
|
|
449
|
+
"WebSearchSource",
|
|
450
|
+
"WebSearchTool",
|
|
451
|
+
]
|
|
452
|
+
from .annotation_param import AnnotationParam
|
|
453
|
+
from .audio_chunking_strategy_param import AudioChunkingStrategyParam
|
|
454
|
+
from .clear_thinking_keep_param import ClearThinkingKeepParam
|
|
455
|
+
from .clear_thinking_param import ClearThinkingParam
|
|
456
|
+
from .clear_tool_uses_inputs_param import ClearToolUsesInputsParam
|
|
457
|
+
from .clear_tool_uses_param import ClearToolUsesParam
|
|
458
|
+
from .content_item_audio_param import ContentItemAudioParam
|
|
459
|
+
from .content_item_file_param import ContentItemFileParam
|
|
460
|
+
from .content_item_image_param import ContentItemImageParam
|
|
461
|
+
from .content_item_param import ContentItemParam
|
|
462
|
+
from .content_item_text_param import ContentItemTextParam
|
|
463
|
+
from .content_item_video_param import ContentItemVideoParam
|
|
464
|
+
from .context_management_param import ContextManagementParam
|
|
465
|
+
from .cover_image_param import CoverImageParam
|
|
466
|
+
from .doc_citation_param import DocCitationParam
|
|
467
|
+
from .doubao_app_feature_item_param import DoubaoAppFeatureItemParam
|
|
468
|
+
from .doubao_app_feature_param import DoubaoAppFeatureParam
|
|
469
|
+
from .doubao_app_tool_param import DoubaoAppToolParam
|
|
470
|
+
from .edit_param import EditParam
|
|
471
|
+
from .function_tool_param import FunctionToolParam
|
|
472
|
+
from .image_pixel_limit_param import ImagePixelLimitParam
|
|
473
|
+
from .image_process_options_param import ImageProcessOptionsParam
|
|
474
|
+
from .image_process_tool_param import ImageProcessToolParam
|
|
475
|
+
from .input_item_param import InputItemParam
|
|
476
|
+
from .item_easy_message_param import ItemEasyMessageParam
|
|
477
|
+
from .item_function_mcp_approval_request_param import (
|
|
478
|
+
ItemFunctionMcpApprovalRequestParam,
|
|
479
|
+
)
|
|
480
|
+
from .item_function_mcp_approval_response_param import (
|
|
481
|
+
ItemFunctionMcpApprovalResponseParam,
|
|
482
|
+
)
|
|
483
|
+
from .item_function_mcp_call_param import ItemFunctionMcpCallParam
|
|
484
|
+
from .item_function_mcp_list_tools_param import ItemFunctionMcpListToolsParam
|
|
485
|
+
from .item_function_tool_call_output_param import ItemFunctionToolCallOutputParam
|
|
486
|
+
from .item_function_tool_call_param import ItemFunctionToolCallParam
|
|
487
|
+
from .item_reasoning_param import ItemReasoningParam
|
|
488
|
+
from .knowledge_search_tool_param import KnowledgeSearchToolParam
|
|
489
|
+
from .mcp_allowed_tools_filter_param import McpAllowedToolsFilterParam
|
|
490
|
+
from .mcp_allowed_tools_param import McpAllowedToolsParam
|
|
491
|
+
from .mcp_list_tools_tool_param import McpListToolsToolParam
|
|
492
|
+
from .mcp_require_approval_param import McpRequireApprovalParam
|
|
493
|
+
from .mcp_tool_approval_filter_always_param import McpToolApprovalFilterAlwaysParam
|
|
494
|
+
from .mcp_tool_approval_filter_never_param import McpToolApprovalFilterNeverParam
|
|
495
|
+
from .mcp_tool_approval_filter_param import McpToolApprovalFilterParam
|
|
496
|
+
from .mcp_tool_param import McpToolParam
|
|
497
|
+
from .message_content_param import MessageContentParam
|
|
498
|
+
from .output_content_item_param import OutputContentItemParam
|
|
499
|
+
from .output_content_item_reasoning_text_param import (
|
|
500
|
+
OutputContentItemReasoningTextParam,
|
|
501
|
+
)
|
|
502
|
+
from .output_content_item_text_param import OutputContentItemTextParam
|
|
503
|
+
from .reasoning_param import ReasoningParam
|
|
504
|
+
from .reasoning_summary_part_param import ReasoningSummaryPartParam
|
|
505
|
+
from .response_caching_param import ResponseCachingParam
|
|
506
|
+
from .response_text_config_param import ResponseTextConfigParam
|
|
507
|
+
from .responses_input_param import ResponsesInputParam
|
|
508
|
+
from .responses_request_param import ResponsesRequestParam
|
|
509
|
+
from .session_param import SessionParam
|
|
510
|
+
from .text_format_param import TextFormatParam
|
|
511
|
+
from .thinking_param import ThinkingParam
|
|
512
|
+
from .thinking_turns_param_param import ThinkingTurnsParamParam
|
|
513
|
+
from .tool_choice_function_param import ToolChoiceFunctionParam
|
|
514
|
+
from .tool_choice_knowledge_search_param import ToolChoiceKnowledgeSearchParam
|
|
515
|
+
from .tool_choice_mcp_param import ToolChoiceMcpParam
|
|
516
|
+
from .tool_choice_param import ToolChoiceParam
|
|
517
|
+
from .tool_choice_web_search_param import ToolChoiceWebSearchParam
|
|
518
|
+
from .tool_name_list_param import ToolNameListParam
|
|
519
|
+
from .tool_param import ToolParam
|
|
520
|
+
from .tool_uses_keep_param import ToolUsesKeepParam
|
|
521
|
+
from .tool_uses_trigger_param import ToolUsesTriggerParam
|
|
522
|
+
from .typed_tool_choice_param import TypedToolChoiceParam
|
|
523
|
+
from .url_citation_param import UrlCitationParam
|
|
524
|
+
from .user_location_param import UserLocationParam
|
|
525
|
+
from .web_search_tool_param import WebSearchToolParam
|
|
526
|
+
|
|
527
|
+
# Hand-written extras (preserved across regen via Makefile rsync --exclude=*_shim.py).
|
|
528
|
+
from ._init_extras_shim import * # noqa: F401,F403
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
"""Hand-written re-exports for the responses API.
|
|
5
|
+
|
|
6
|
+
Pulled into ``__init__.py`` via a trailing
|
|
7
|
+
``from ._init_extras_shim import *`` block emitted by the ark-apis
|
|
8
|
+
generator. Preserved across regen by the Makefile rsync
|
|
9
|
+
``--exclude='*_shim.py'`` rule.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
# Hand-written sibling models.
|
|
15
|
+
from .input_item_list_params_shim import InputItemListParams
|
|
16
|
+
|
|
17
|
+
# Cross-SDK aliases. ark-apis renames a few Responses types relative
|
|
18
|
+
# to the upstream SDK; the SDK's parsing helpers and external
|
|
19
|
+
# consumers still address them by the upstream short names.
|
|
20
|
+
from .output_content_item_text import OutputContentItemText as ResponseOutputText
|
|
21
|
+
from .item_output_message import ItemOutputMessage as ResponseOutputMessage
|
|
22
|
+
from .item_function_tool_call import ItemFunctionToolCall as ResponseFunctionToolCall
|
|
23
|
+
from .text_format_param import TextFormatParam as ResponseFormatTextConfigParam
|
|
24
|
+
|
|
25
|
+
# Parsed-* sibling models for response auto-parsing.
|
|
26
|
+
from .parsed_response_shim import (
|
|
27
|
+
ParsedContent,
|
|
28
|
+
ParsedResponse,
|
|
29
|
+
ParsedResponseOutputItem,
|
|
30
|
+
ParsedResponseOutputMessage,
|
|
31
|
+
ParsedResponseOutputText,
|
|
32
|
+
ParsedResponseFunctionToolCall,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
__all__ = [
|
|
36
|
+
"InputItemListParams",
|
|
37
|
+
"ResponseOutputText",
|
|
38
|
+
"ResponseOutputMessage",
|
|
39
|
+
"ResponseFunctionToolCall",
|
|
40
|
+
"ResponseFormatTextConfigParam",
|
|
41
|
+
"ParsedContent",
|
|
42
|
+
"ParsedResponse",
|
|
43
|
+
"ParsedResponseOutputItem",
|
|
44
|
+
"ParsedResponseOutputMessage",
|
|
45
|
+
"ParsedResponseOutputText",
|
|
46
|
+
"ParsedResponseFunctionToolCall",
|
|
47
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated by datamodel-code-generator from ark-apis typespec/openapi.
|
|
2
|
+
# DO NOT EDIT — regenerate with `make gen-py-<api>` in ark-apis.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
|
|
5
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from typing import Annotated, Union
|
|
10
|
+
|
|
11
|
+
from pydantic import Field
|
|
12
|
+
from typing_extensions import TypeAliasType
|
|
13
|
+
|
|
14
|
+
from .doc_citation import DocCitation
|
|
15
|
+
from .url_citation import UrlCitation
|
|
16
|
+
|
|
17
|
+
Annotation = TypeAliasType(
|
|
18
|
+
"Annotation",
|
|
19
|
+
Annotated[Union[UrlCitation, DocCitation], Field(discriminator="type")],
|
|
20
|
+
)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated by datamodel-code-generator from ark-apis typespec/openapi.
|
|
2
|
+
# DO NOT EDIT — regenerate with `make gen-py-<api>` in ark-apis.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
|
|
5
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from typing import TypeAlias, Union
|
|
10
|
+
|
|
11
|
+
from .doc_citation_param import DocCitationParam
|
|
12
|
+
from .url_citation_param import UrlCitationParam
|
|
13
|
+
|
|
14
|
+
AnnotationParam: TypeAlias = Union[UrlCitationParam, DocCitationParam]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated by datamodel-code-generator from ark-apis typespec/openapi.
|
|
2
|
+
# DO NOT EDIT — regenerate with `make gen-py-<api>` in ark-apis.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
|
|
5
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from typing import Annotated, Union
|
|
10
|
+
|
|
11
|
+
from pydantic import Field
|
|
12
|
+
from typing_extensions import TypeAliasType
|
|
13
|
+
|
|
14
|
+
from .clear_thinking_response import ClearThinkingResponse
|
|
15
|
+
from .clear_tool_uses_response import ClearToolUsesResponse
|
|
16
|
+
|
|
17
|
+
AppliedEdit = TypeAliasType(
|
|
18
|
+
"AppliedEdit",
|
|
19
|
+
Annotated[
|
|
20
|
+
Union[ClearToolUsesResponse, ClearThinkingResponse], Field(discriminator="type")
|
|
21
|
+
],
|
|
22
|
+
)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated by datamodel-code-generator from ark-apis typespec/openapi.
|
|
2
|
+
# DO NOT EDIT — regenerate with `make gen-py-<api>` in ark-apis.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
|
|
5
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from arkruntime._models import BaseModel
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AudioChunk(BaseModel):
|
|
13
|
+
text: str
|
|
14
|
+
start_time: int
|
|
15
|
+
end_time: int
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by datamodel-code-generator from ark-apis typespec/openapi.
|
|
2
|
+
# DO NOT EDIT — regenerate with `make gen-py-<api>` in ark-apis.
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
|
|
5
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from typing import Literal, Optional
|
|
10
|
+
|
|
11
|
+
from arkruntime._models import BaseModel
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class AudioChunkingStrategy(BaseModel):
|
|
15
|
+
type: Literal["server_vad"]
|
|
16
|
+
prefix_padding_ms: Optional[int] = None
|
|
17
|
+
silence_duration_ms: Optional[int] = None
|
|
18
|
+
threshold: Optional[float] = None
|