alibabacloud-agentrun20250910 4.0.4__py3-none-any.whl → 5.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.
- alibabacloud_agentrun20250910/__init__.py +1 -1
- alibabacloud_agentrun20250910/client.py +2641 -5033
- alibabacloud_agentrun20250910/models/__init__.py +633 -0
- alibabacloud_agentrun20250910/models/_activate_template_mcprequest.py +43 -0
- alibabacloud_agentrun20250910/models/_activate_template_mcpresponse.py +54 -0
- alibabacloud_agentrun20250910/models/_agent_runtime.py +261 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_endpoint.py +110 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_endpoint_result.py +55 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_result.py +55 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_version.py +79 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_version_result.py +55 -0
- alibabacloud_agentrun20250910/models/_ai_fallback_config.py +44 -0
- alibabacloud_agentrun20250910/models/_ai_fallback_service_config.py +49 -0
- alibabacloud_agentrun20250910/models/_ai_service_config.py +67 -0
- alibabacloud_agentrun20250910/models/_apig_llmmodel.py +137 -0
- alibabacloud_agentrun20250910/models/_arms_configuration.py +43 -0
- alibabacloud_agentrun20250910/models/_attach_policy_config.py +49 -0
- alibabacloud_agentrun20250910/models/_browser.py +145 -0
- alibabacloud_agentrun20250910/models/_browser_automation_stream.py +41 -0
- alibabacloud_agentrun20250910/models/_browser_configuration.py +73 -0
- alibabacloud_agentrun20250910/models/_browser_live_view_stream.py +33 -0
- alibabacloud_agentrun20250910/models/_browser_oss_location.py +41 -0
- alibabacloud_agentrun20250910/models/_browser_recording_configuration.py +44 -0
- alibabacloud_agentrun20250910/models/_browser_result.py +55 -0
- alibabacloud_agentrun20250910/models/_browser_session_list_out.py +68 -0
- alibabacloud_agentrun20250910/models/_browser_session_out.py +83 -0
- alibabacloud_agentrun20250910/models/_browser_streams.py +47 -0
- alibabacloud_agentrun20250910/models/_browser_view_port.py +41 -0
- alibabacloud_agentrun20250910/models/_capconfig.py +49 -0
- alibabacloud_agentrun20250910/models/_cert_config.py +52 -0
- alibabacloud_agentrun20250910/models/_code_configuration.py +79 -0
- alibabacloud_agentrun20250910/models/_code_info.py +41 -0
- alibabacloud_agentrun20250910/models/_code_interpreter.py +134 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_result.py +55 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_config.py +54 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_list_out.py +68 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_out.py +94 -0
- alibabacloud_agentrun20250910/models/_common_result.py +54 -0
- alibabacloud_agentrun20250910/models/_container_configuration.py +62 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_input.py +62 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py +219 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_version_input.py +34 -0
- alibabacloud_agentrun20250910/models/_create_apig_llmmodel_input.py +83 -0
- alibabacloud_agentrun20250910/models/_create_browser_input.py +101 -0
- alibabacloud_agentrun20250910/models/_create_browser_request.py +37 -0
- alibabacloud_agentrun20250910/models/_create_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_input.py +107 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_request.py +37 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_credential_input.py +87 -0
- alibabacloud_agentrun20250910/models/_create_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_create_credential_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_custom_domain_input.py +100 -0
- alibabacloud_agentrun20250910/models/_create_domain_input.py +49 -0
- alibabacloud_agentrun20250910/models/_create_gateway_input.py +60 -0
- alibabacloud_agentrun20250910/models/_create_gateway_target_input.py +52 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_input.py +78 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_memory_collection_input.py +101 -0
- alibabacloud_agentrun20250910/models/_create_model_input.py +83 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_input.py +154 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_model_service_input.py +110 -0
- alibabacloud_agentrun20250910/models/_create_model_service_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_input.py +75 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_template_input.py +210 -0
- alibabacloud_agentrun20250910/models/_create_template_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_tool_data.py +65 -0
- alibabacloud_agentrun20250910/models/_create_tool_input.py +80 -0
- alibabacloud_agentrun20250910/models/_create_tool_output.py +52 -0
- alibabacloud_agentrun20250910/models/_credential.py +124 -0
- alibabacloud_agentrun20250910/models/_credential_configuration.py +34 -0
- alibabacloud_agentrun20250910/models/_credential_list_item.py +89 -0
- alibabacloud_agentrun20250910/models/_credential_public_config.py +167 -0
- alibabacloud_agentrun20250910/models/_credential_result.py +52 -0
- alibabacloud_agentrun20250910/models/_custom_domain.py +114 -0
- alibabacloud_agentrun20250910/models/_custom_domain_result.py +55 -0
- alibabacloud_agentrun20250910/models/_custom_runtime_config.py +51 -0
- alibabacloud_agentrun20250910/models/_delete_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_browser_out.py +49 -0
- alibabacloud_agentrun20250910/models/_delete_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_browser_result.py +55 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_out.py +49 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_result.py +55 -0
- alibabacloud_agentrun20250910/models/_delete_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_knowledge_base_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_model_proxy_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_model_service_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_sandbox_result.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_template_result.py +54 -0
- alibabacloud_agentrun20250910/models/_deregister_service_input.py +36 -0
- alibabacloud_agentrun20250910/models/_domain_info.py +57 -0
- alibabacloud_agentrun20250910/models/_embedder_config.py +71 -0
- alibabacloud_agentrun20250910/models/_error_result.py +52 -0
- alibabacloud_agentrun20250910/models/_fclink_config.py +41 -0
- alibabacloud_agentrun20250910/models/_gateway.py +81 -0
- alibabacloud_agentrun20250910/models/_gateway_network_configuration.py +51 -0
- alibabacloud_agentrun20250910/models/_get_access_token_request.py +49 -0
- alibabacloud_agentrun20250910/models/_get_access_token_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_access_token_response_body.py +79 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_request.py +34 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_get_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_get_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_get_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_tool_output.py +44 -0
- alibabacloud_agentrun20250910/models/_gray_traffic_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_health_check_config.py +79 -0
- alibabacloud_agentrun20250910/models/_health_check_configuration.py +79 -0
- alibabacloud_agentrun20250910/models/_knowledge_base.py +99 -0
- alibabacloud_agentrun20250910/models/_knowledge_base_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_input.py +63 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_request.py +61 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_input.py +43 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_request.py +43 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_input.py +63 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py +70 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_list_browsers_input.py +50 -0
- alibabacloud_agentrun20250910/models/_list_browsers_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_browsers_request.py +61 -0
- alibabacloud_agentrun20250910/models/_list_browsers_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_browsers_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_input.py +50 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_request.py +52 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_credentials_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_credentials_request.py +84 -0
- alibabacloud_agentrun20250910/models/_list_credentials_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_credentials_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_domains_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_gateways_output.py +60 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_request.py +49 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_memory_collections_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_memory_collections_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_request.py +65 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_response_body.py +176 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_request.py +58 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_model_services_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_model_services_request.py +66 -0
- alibabacloud_agentrun20250910/models/_list_model_services_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_services_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_output.py +53 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_request.py +67 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_templates_output.py +72 -0
- alibabacloud_agentrun20250910/models/_list_templates_request.py +68 -0
- alibabacloud_agentrun20250910/models/_list_templates_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_templates_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_tools_output.py +68 -0
- alibabacloud_agentrun20250910/models/_llmapiconfiguration.py +101 -0
- alibabacloud_agentrun20250910/models/_llmconfig.py +71 -0
- alibabacloud_agentrun20250910/models/_llmdeploy_config.py +93 -0
- alibabacloud_agentrun20250910/models/_log_configuration.py +43 -0
- alibabacloud_agentrun20250910/models/_mcpapi.py +95 -0
- alibabacloud_agentrun20250910/models/_mcpapiconfiguration.py +65 -0
- alibabacloud_agentrun20250910/models/_mcpbackend_config.py +52 -0
- alibabacloud_agentrun20250910/models/_mcpmatch.py +36 -0
- alibabacloud_agentrun20250910/models/_mcppath_match.py +41 -0
- alibabacloud_agentrun20250910/models/_mcpserver_config.py +49 -0
- alibabacloud_agentrun20250910/models/_mcpservice_config.py +33 -0
- alibabacloud_agentrun20250910/models/_memory_collection.py +117 -0
- alibabacloud_agentrun20250910/models/_memory_collection_result.py +52 -0
- alibabacloud_agentrun20250910/models/_model.py +137 -0
- alibabacloud_agentrun20250910/models/_model_features.py +65 -0
- alibabacloud_agentrun20250910/models/_model_info_config.py +74 -0
- alibabacloud_agentrun20250910/models/_model_parameter_rule.py +75 -0
- alibabacloud_agentrun20250910/models/_model_properties.py +33 -0
- alibabacloud_agentrun20250910/models/_model_proxy.py +194 -0
- alibabacloud_agentrun20250910/models/_model_proxy_result.py +52 -0
- alibabacloud_agentrun20250910/models/_model_service.py +146 -0
- alibabacloud_agentrun20250910/models/_model_service_result.py +52 -0
- alibabacloud_agentrun20250910/models/_nasconfig.py +60 -0
- alibabacloud_agentrun20250910/models/_nasmount_config.py +49 -0
- alibabacloud_agentrun20250910/models/_network_configuration.py +59 -0
- alibabacloud_agentrun20250910/models/_oss_configuration.py +68 -0
- alibabacloud_agentrun20250910/models/_ossmount_config.py +44 -0
- alibabacloud_agentrun20250910/models/_ossmount_point.py +65 -0
- alibabacloud_agentrun20250910/models/_pagination_info.py +57 -0
- alibabacloud_agentrun20250910/models/_path_config.py +72 -0
- alibabacloud_agentrun20250910/models/_polar_fs_config.py +60 -0
- alibabacloud_agentrun20250910/models/_polar_fs_mount_config.py +49 -0
- alibabacloud_agentrun20250910/models/_policy_config.py +52 -0
- alibabacloud_agentrun20250910/models/_protocol_configuration.py +33 -0
- alibabacloud_agentrun20250910/models/_provider_settings.py +51 -0
- alibabacloud_agentrun20250910/models/_proxy_config.py +372 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_input.py +43 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_request.py +36 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_response.py +54 -0
- alibabacloud_agentrun20250910/models/_recording_configuration.py +47 -0
- alibabacloud_agentrun20250910/models/_register_service_input.py +98 -0
- alibabacloud_agentrun20250910/models/_related_resource.py +49 -0
- alibabacloud_agentrun20250910/models/_related_workload.py +49 -0
- alibabacloud_agentrun20250910/models/_route_config.py +45 -0
- alibabacloud_agentrun20250910/models/_routing_configuration.py +45 -0
- alibabacloud_agentrun20250910/models/_sandbox.py +123 -0
- alibabacloud_agentrun20250910/models/_sandbox_health_check_out.py +36 -0
- alibabacloud_agentrun20250910/models/_sandbox_health_check_result.py +54 -0
- alibabacloud_agentrun20250910/models/_sandbox_result.py +57 -0
- alibabacloud_agentrun20250910/models/_service_config.py +44 -0
- alibabacloud_agentrun20250910/models/_service_result.py +54 -0
- alibabacloud_agentrun20250910/models/_start_browser_session_input.py +33 -0
- alibabacloud_agentrun20250910/models/_start_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_start_code_interpreter_session_input.py +34 -0
- alibabacloud_agentrun20250910/models/_start_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_stop_code_interpreter_session_result.py +42 -0
- alibabacloud_agentrun20250910/models/_stop_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_stop_sandbox_result.py +52 -0
- alibabacloud_agentrun20250910/models/_stop_template_mcpresponse.py +54 -0
- alibabacloud_agentrun20250910/models/_target.py +55 -0
- alibabacloud_agentrun20250910/models/_target_configuration.py +55 -0
- alibabacloud_agentrun20250910/models/_target_service_config.py +57 -0
- alibabacloud_agentrun20250910/models/_template.py +352 -0
- alibabacloud_agentrun20250910/models/_template_result.py +57 -0
- alibabacloud_agentrun20250910/models/_tlsconfig.py +54 -0
- alibabacloud_agentrun20250910/models/_tool_info.py +100 -0
- alibabacloud_agentrun20250910/models/_tool_list_item.py +100 -0
- alibabacloud_agentrun20250910/models/_trigger_config.py +43 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_input.py +62 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_request.py +39 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py +193 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_request.py +39 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_apig_llmmodel_input.py +83 -0
- alibabacloud_agentrun20250910/models/_update_credential_input.py +60 -0
- alibabacloud_agentrun20250910/models/_update_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_update_credential_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_custom_domain_input.py +79 -0
- alibabacloud_agentrun20250910/models/_update_domain_input.py +41 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_input.py +59 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_memory_collection_input.py +85 -0
- alibabacloud_agentrun20250910/models/_update_model_input.py +83 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_input.py +93 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_model_service_input.py +98 -0
- alibabacloud_agentrun20250910/models/_update_model_service_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_target_configuration_input.py +44 -0
- alibabacloud_agentrun20250910/models/_update_template_input.py +177 -0
- alibabacloud_agentrun20250910/models/_update_template_request.py +48 -0
- alibabacloud_agentrun20250910/models/_update_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_tool_data.py +65 -0
- alibabacloud_agentrun20250910/models/_update_tool_input.py +49 -0
- alibabacloud_agentrun20250910/models/_update_tool_output.py +52 -0
- alibabacloud_agentrun20250910/models/_vector_store_config.py +95 -0
- alibabacloud_agentrun20250910/models/_version_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_view_port_configuration.py +47 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/METADATA +7 -7
- alibabacloud_agentrun20250910-5.1.0.dist-info/RECORD +306 -0
- alibabacloud_agentrun20250910/models.py +0 -15270
- alibabacloud_agentrun20250910-4.0.4.dist-info/RECORD +0 -8
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class ActivateTemplateMCPResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.TemplateResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.TemplateResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class AgentRuntime(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
agent_runtime_arn: str = None,
|
|
14
|
+
agent_runtime_id: str = None,
|
|
15
|
+
agent_runtime_name: str = None,
|
|
16
|
+
agent_runtime_version: str = None,
|
|
17
|
+
artifact_type: str = None,
|
|
18
|
+
code_configuration: main_models.CodeConfiguration = None,
|
|
19
|
+
container_configuration: main_models.ContainerConfiguration = None,
|
|
20
|
+
cpu: float = None,
|
|
21
|
+
created_at: str = None,
|
|
22
|
+
credential_name: str = None,
|
|
23
|
+
description: str = None,
|
|
24
|
+
environment_variables: Dict[str, str] = None,
|
|
25
|
+
execution_role_arn: str = None,
|
|
26
|
+
health_check_configuration: main_models.HealthCheckConfiguration = None,
|
|
27
|
+
last_updated_at: str = None,
|
|
28
|
+
log_configuration: main_models.LogConfiguration = None,
|
|
29
|
+
memory: int = None,
|
|
30
|
+
network_configuration: main_models.NetworkConfiguration = None,
|
|
31
|
+
port: int = None,
|
|
32
|
+
protocol_configuration: main_models.ProtocolConfiguration = None,
|
|
33
|
+
session_concurrency_limit_per_instance: int = None,
|
|
34
|
+
session_idle_timeout_seconds: int = None,
|
|
35
|
+
status: str = None,
|
|
36
|
+
status_reason: str = None,
|
|
37
|
+
):
|
|
38
|
+
# 智能体运行时的全局唯一资源名称
|
|
39
|
+
self.agent_runtime_arn = agent_runtime_arn
|
|
40
|
+
# 智能体运行时的唯一标识符
|
|
41
|
+
self.agent_runtime_id = agent_runtime_id
|
|
42
|
+
# 智能体运行时的名称,用于标识和区分不同的运行时实例
|
|
43
|
+
self.agent_runtime_name = agent_runtime_name
|
|
44
|
+
# 智能体运行时的版本号,用于版本管理和回滚
|
|
45
|
+
self.agent_runtime_version = agent_runtime_version
|
|
46
|
+
# 智能体运行时的部署类型,支持Code(代码模式)和Container(容器模式)
|
|
47
|
+
self.artifact_type = artifact_type
|
|
48
|
+
# 当artifactType为Code时的代码配置信息
|
|
49
|
+
self.code_configuration = code_configuration
|
|
50
|
+
# 当artifactType为Container时的容器配置信息
|
|
51
|
+
self.container_configuration = container_configuration
|
|
52
|
+
# 智能体运行时分配的CPU资源,单位为核数
|
|
53
|
+
self.cpu = cpu
|
|
54
|
+
# 智能体运行时的创建时间,采用ISO 8601格式
|
|
55
|
+
self.created_at = created_at
|
|
56
|
+
# 用于访问智能体的凭证名称,访问智能体运行时将使用此凭证进行身份验证
|
|
57
|
+
self.credential_name = credential_name
|
|
58
|
+
# 智能体运行时的描述信息,说明该运行时的用途和功能
|
|
59
|
+
self.description = description
|
|
60
|
+
# 智能体运行时的环境变量配置
|
|
61
|
+
self.environment_variables = environment_variables
|
|
62
|
+
# 为智能体运行时提供访问云服务权限的执行角色ARN
|
|
63
|
+
self.execution_role_arn = execution_role_arn
|
|
64
|
+
# 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
|
|
65
|
+
self.health_check_configuration = health_check_configuration
|
|
66
|
+
# 智能体运行时最后一次更新的时间,采用ISO 8601格式
|
|
67
|
+
self.last_updated_at = last_updated_at
|
|
68
|
+
# SLS(简单日志服务)配置
|
|
69
|
+
self.log_configuration = log_configuration
|
|
70
|
+
# 智能体运行时分配的内存资源,单位为MB
|
|
71
|
+
self.memory = memory
|
|
72
|
+
# 智能体运行时的网络配置信息
|
|
73
|
+
self.network_configuration = network_configuration
|
|
74
|
+
# 智能体运行时监听的端口号
|
|
75
|
+
self.port = port
|
|
76
|
+
# 智能体运行时的通信协议配置
|
|
77
|
+
self.protocol_configuration = protocol_configuration
|
|
78
|
+
# 每个运行时实例允许的最大并发会话数
|
|
79
|
+
self.session_concurrency_limit_per_instance = session_concurrency_limit_per_instance
|
|
80
|
+
# 会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用
|
|
81
|
+
self.session_idle_timeout_seconds = session_idle_timeout_seconds
|
|
82
|
+
# 智能体运行时的当前状态,如READY(就绪)、CREATING(创建中)、FAILED(失败)等
|
|
83
|
+
self.status = status
|
|
84
|
+
# 当前状态的原因说明(如适用)
|
|
85
|
+
self.status_reason = status_reason
|
|
86
|
+
|
|
87
|
+
def validate(self):
|
|
88
|
+
if self.code_configuration:
|
|
89
|
+
self.code_configuration.validate()
|
|
90
|
+
if self.container_configuration:
|
|
91
|
+
self.container_configuration.validate()
|
|
92
|
+
if self.health_check_configuration:
|
|
93
|
+
self.health_check_configuration.validate()
|
|
94
|
+
if self.log_configuration:
|
|
95
|
+
self.log_configuration.validate()
|
|
96
|
+
if self.network_configuration:
|
|
97
|
+
self.network_configuration.validate()
|
|
98
|
+
if self.protocol_configuration:
|
|
99
|
+
self.protocol_configuration.validate()
|
|
100
|
+
|
|
101
|
+
def to_map(self):
|
|
102
|
+
result = dict()
|
|
103
|
+
_map = super().to_map()
|
|
104
|
+
if _map is not None:
|
|
105
|
+
result = _map
|
|
106
|
+
if self.agent_runtime_arn is not None:
|
|
107
|
+
result['agentRuntimeArn'] = self.agent_runtime_arn
|
|
108
|
+
|
|
109
|
+
if self.agent_runtime_id is not None:
|
|
110
|
+
result['agentRuntimeId'] = self.agent_runtime_id
|
|
111
|
+
|
|
112
|
+
if self.agent_runtime_name is not None:
|
|
113
|
+
result['agentRuntimeName'] = self.agent_runtime_name
|
|
114
|
+
|
|
115
|
+
if self.agent_runtime_version is not None:
|
|
116
|
+
result['agentRuntimeVersion'] = self.agent_runtime_version
|
|
117
|
+
|
|
118
|
+
if self.artifact_type is not None:
|
|
119
|
+
result['artifactType'] = self.artifact_type
|
|
120
|
+
|
|
121
|
+
if self.code_configuration is not None:
|
|
122
|
+
result['codeConfiguration'] = self.code_configuration.to_map()
|
|
123
|
+
|
|
124
|
+
if self.container_configuration is not None:
|
|
125
|
+
result['containerConfiguration'] = self.container_configuration.to_map()
|
|
126
|
+
|
|
127
|
+
if self.cpu is not None:
|
|
128
|
+
result['cpu'] = self.cpu
|
|
129
|
+
|
|
130
|
+
if self.created_at is not None:
|
|
131
|
+
result['createdAt'] = self.created_at
|
|
132
|
+
|
|
133
|
+
if self.credential_name is not None:
|
|
134
|
+
result['credentialName'] = self.credential_name
|
|
135
|
+
|
|
136
|
+
if self.description is not None:
|
|
137
|
+
result['description'] = self.description
|
|
138
|
+
|
|
139
|
+
if self.environment_variables is not None:
|
|
140
|
+
result['environmentVariables'] = self.environment_variables
|
|
141
|
+
|
|
142
|
+
if self.execution_role_arn is not None:
|
|
143
|
+
result['executionRoleArn'] = self.execution_role_arn
|
|
144
|
+
|
|
145
|
+
if self.health_check_configuration is not None:
|
|
146
|
+
result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
|
|
147
|
+
|
|
148
|
+
if self.last_updated_at is not None:
|
|
149
|
+
result['lastUpdatedAt'] = self.last_updated_at
|
|
150
|
+
|
|
151
|
+
if self.log_configuration is not None:
|
|
152
|
+
result['logConfiguration'] = self.log_configuration.to_map()
|
|
153
|
+
|
|
154
|
+
if self.memory is not None:
|
|
155
|
+
result['memory'] = self.memory
|
|
156
|
+
|
|
157
|
+
if self.network_configuration is not None:
|
|
158
|
+
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
159
|
+
|
|
160
|
+
if self.port is not None:
|
|
161
|
+
result['port'] = self.port
|
|
162
|
+
|
|
163
|
+
if self.protocol_configuration is not None:
|
|
164
|
+
result['protocolConfiguration'] = self.protocol_configuration.to_map()
|
|
165
|
+
|
|
166
|
+
if self.session_concurrency_limit_per_instance is not None:
|
|
167
|
+
result['sessionConcurrencyLimitPerInstance'] = self.session_concurrency_limit_per_instance
|
|
168
|
+
|
|
169
|
+
if self.session_idle_timeout_seconds is not None:
|
|
170
|
+
result['sessionIdleTimeoutSeconds'] = self.session_idle_timeout_seconds
|
|
171
|
+
|
|
172
|
+
if self.status is not None:
|
|
173
|
+
result['status'] = self.status
|
|
174
|
+
|
|
175
|
+
if self.status_reason is not None:
|
|
176
|
+
result['statusReason'] = self.status_reason
|
|
177
|
+
|
|
178
|
+
return result
|
|
179
|
+
|
|
180
|
+
def from_map(self, m: dict = None):
|
|
181
|
+
m = m or dict()
|
|
182
|
+
if m.get('agentRuntimeArn') is not None:
|
|
183
|
+
self.agent_runtime_arn = m.get('agentRuntimeArn')
|
|
184
|
+
|
|
185
|
+
if m.get('agentRuntimeId') is not None:
|
|
186
|
+
self.agent_runtime_id = m.get('agentRuntimeId')
|
|
187
|
+
|
|
188
|
+
if m.get('agentRuntimeName') is not None:
|
|
189
|
+
self.agent_runtime_name = m.get('agentRuntimeName')
|
|
190
|
+
|
|
191
|
+
if m.get('agentRuntimeVersion') is not None:
|
|
192
|
+
self.agent_runtime_version = m.get('agentRuntimeVersion')
|
|
193
|
+
|
|
194
|
+
if m.get('artifactType') is not None:
|
|
195
|
+
self.artifact_type = m.get('artifactType')
|
|
196
|
+
|
|
197
|
+
if m.get('codeConfiguration') is not None:
|
|
198
|
+
temp_model = main_models.CodeConfiguration()
|
|
199
|
+
self.code_configuration = temp_model.from_map(m.get('codeConfiguration'))
|
|
200
|
+
|
|
201
|
+
if m.get('containerConfiguration') is not None:
|
|
202
|
+
temp_model = main_models.ContainerConfiguration()
|
|
203
|
+
self.container_configuration = temp_model.from_map(m.get('containerConfiguration'))
|
|
204
|
+
|
|
205
|
+
if m.get('cpu') is not None:
|
|
206
|
+
self.cpu = m.get('cpu')
|
|
207
|
+
|
|
208
|
+
if m.get('createdAt') is not None:
|
|
209
|
+
self.created_at = m.get('createdAt')
|
|
210
|
+
|
|
211
|
+
if m.get('credentialName') is not None:
|
|
212
|
+
self.credential_name = m.get('credentialName')
|
|
213
|
+
|
|
214
|
+
if m.get('description') is not None:
|
|
215
|
+
self.description = m.get('description')
|
|
216
|
+
|
|
217
|
+
if m.get('environmentVariables') is not None:
|
|
218
|
+
self.environment_variables = m.get('environmentVariables')
|
|
219
|
+
|
|
220
|
+
if m.get('executionRoleArn') is not None:
|
|
221
|
+
self.execution_role_arn = m.get('executionRoleArn')
|
|
222
|
+
|
|
223
|
+
if m.get('healthCheckConfiguration') is not None:
|
|
224
|
+
temp_model = main_models.HealthCheckConfiguration()
|
|
225
|
+
self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
|
|
226
|
+
|
|
227
|
+
if m.get('lastUpdatedAt') is not None:
|
|
228
|
+
self.last_updated_at = m.get('lastUpdatedAt')
|
|
229
|
+
|
|
230
|
+
if m.get('logConfiguration') is not None:
|
|
231
|
+
temp_model = main_models.LogConfiguration()
|
|
232
|
+
self.log_configuration = temp_model.from_map(m.get('logConfiguration'))
|
|
233
|
+
|
|
234
|
+
if m.get('memory') is not None:
|
|
235
|
+
self.memory = m.get('memory')
|
|
236
|
+
|
|
237
|
+
if m.get('networkConfiguration') is not None:
|
|
238
|
+
temp_model = main_models.NetworkConfiguration()
|
|
239
|
+
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
240
|
+
|
|
241
|
+
if m.get('port') is not None:
|
|
242
|
+
self.port = m.get('port')
|
|
243
|
+
|
|
244
|
+
if m.get('protocolConfiguration') is not None:
|
|
245
|
+
temp_model = main_models.ProtocolConfiguration()
|
|
246
|
+
self.protocol_configuration = temp_model.from_map(m.get('protocolConfiguration'))
|
|
247
|
+
|
|
248
|
+
if m.get('sessionConcurrencyLimitPerInstance') is not None:
|
|
249
|
+
self.session_concurrency_limit_per_instance = m.get('sessionConcurrencyLimitPerInstance')
|
|
250
|
+
|
|
251
|
+
if m.get('sessionIdleTimeoutSeconds') is not None:
|
|
252
|
+
self.session_idle_timeout_seconds = m.get('sessionIdleTimeoutSeconds')
|
|
253
|
+
|
|
254
|
+
if m.get('status') is not None:
|
|
255
|
+
self.status = m.get('status')
|
|
256
|
+
|
|
257
|
+
if m.get('statusReason') is not None:
|
|
258
|
+
self.status_reason = m.get('statusReason')
|
|
259
|
+
|
|
260
|
+
return self
|
|
261
|
+
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class AgentRuntimeEndpoint(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
agent_runtime_endpoint_arn: str = None,
|
|
12
|
+
agent_runtime_endpoint_id: str = None,
|
|
13
|
+
agent_runtime_endpoint_name: str = None,
|
|
14
|
+
agent_runtime_id: str = None,
|
|
15
|
+
description: str = None,
|
|
16
|
+
endpoint_public_url: str = None,
|
|
17
|
+
routing_configuration: main_models.RoutingConfiguration = None,
|
|
18
|
+
status: str = None,
|
|
19
|
+
status_reason: str = None,
|
|
20
|
+
target_version: str = None,
|
|
21
|
+
):
|
|
22
|
+
self.agent_runtime_endpoint_arn = agent_runtime_endpoint_arn
|
|
23
|
+
self.agent_runtime_endpoint_id = agent_runtime_endpoint_id
|
|
24
|
+
self.agent_runtime_endpoint_name = agent_runtime_endpoint_name
|
|
25
|
+
self.agent_runtime_id = agent_runtime_id
|
|
26
|
+
self.description = description
|
|
27
|
+
# 智能体运行时端点的公网访问地址
|
|
28
|
+
self.endpoint_public_url = endpoint_public_url
|
|
29
|
+
# 智能体运行时端点的路由配置,支持多版本权重分配
|
|
30
|
+
self.routing_configuration = routing_configuration
|
|
31
|
+
self.status = status
|
|
32
|
+
self.status_reason = status_reason
|
|
33
|
+
self.target_version = target_version
|
|
34
|
+
|
|
35
|
+
def validate(self):
|
|
36
|
+
if self.routing_configuration:
|
|
37
|
+
self.routing_configuration.validate()
|
|
38
|
+
|
|
39
|
+
def to_map(self):
|
|
40
|
+
result = dict()
|
|
41
|
+
_map = super().to_map()
|
|
42
|
+
if _map is not None:
|
|
43
|
+
result = _map
|
|
44
|
+
if self.agent_runtime_endpoint_arn is not None:
|
|
45
|
+
result['agentRuntimeEndpointArn'] = self.agent_runtime_endpoint_arn
|
|
46
|
+
|
|
47
|
+
if self.agent_runtime_endpoint_id is not None:
|
|
48
|
+
result['agentRuntimeEndpointId'] = self.agent_runtime_endpoint_id
|
|
49
|
+
|
|
50
|
+
if self.agent_runtime_endpoint_name is not None:
|
|
51
|
+
result['agentRuntimeEndpointName'] = self.agent_runtime_endpoint_name
|
|
52
|
+
|
|
53
|
+
if self.agent_runtime_id is not None:
|
|
54
|
+
result['agentRuntimeId'] = self.agent_runtime_id
|
|
55
|
+
|
|
56
|
+
if self.description is not None:
|
|
57
|
+
result['description'] = self.description
|
|
58
|
+
|
|
59
|
+
if self.endpoint_public_url is not None:
|
|
60
|
+
result['endpointPublicUrl'] = self.endpoint_public_url
|
|
61
|
+
|
|
62
|
+
if self.routing_configuration is not None:
|
|
63
|
+
result['routingConfiguration'] = self.routing_configuration.to_map()
|
|
64
|
+
|
|
65
|
+
if self.status is not None:
|
|
66
|
+
result['status'] = self.status
|
|
67
|
+
|
|
68
|
+
if self.status_reason is not None:
|
|
69
|
+
result['statusReason'] = self.status_reason
|
|
70
|
+
|
|
71
|
+
if self.target_version is not None:
|
|
72
|
+
result['targetVersion'] = self.target_version
|
|
73
|
+
|
|
74
|
+
return result
|
|
75
|
+
|
|
76
|
+
def from_map(self, m: dict = None):
|
|
77
|
+
m = m or dict()
|
|
78
|
+
if m.get('agentRuntimeEndpointArn') is not None:
|
|
79
|
+
self.agent_runtime_endpoint_arn = m.get('agentRuntimeEndpointArn')
|
|
80
|
+
|
|
81
|
+
if m.get('agentRuntimeEndpointId') is not None:
|
|
82
|
+
self.agent_runtime_endpoint_id = m.get('agentRuntimeEndpointId')
|
|
83
|
+
|
|
84
|
+
if m.get('agentRuntimeEndpointName') is not None:
|
|
85
|
+
self.agent_runtime_endpoint_name = m.get('agentRuntimeEndpointName')
|
|
86
|
+
|
|
87
|
+
if m.get('agentRuntimeId') is not None:
|
|
88
|
+
self.agent_runtime_id = m.get('agentRuntimeId')
|
|
89
|
+
|
|
90
|
+
if m.get('description') is not None:
|
|
91
|
+
self.description = m.get('description')
|
|
92
|
+
|
|
93
|
+
if m.get('endpointPublicUrl') is not None:
|
|
94
|
+
self.endpoint_public_url = m.get('endpointPublicUrl')
|
|
95
|
+
|
|
96
|
+
if m.get('routingConfiguration') is not None:
|
|
97
|
+
temp_model = main_models.RoutingConfiguration()
|
|
98
|
+
self.routing_configuration = temp_model.from_map(m.get('routingConfiguration'))
|
|
99
|
+
|
|
100
|
+
if m.get('status') is not None:
|
|
101
|
+
self.status = m.get('status')
|
|
102
|
+
|
|
103
|
+
if m.get('statusReason') is not None:
|
|
104
|
+
self.status_reason = m.get('statusReason')
|
|
105
|
+
|
|
106
|
+
if m.get('targetVersion') is not None:
|
|
107
|
+
self.target_version = m.get('targetVersion')
|
|
108
|
+
|
|
109
|
+
return self
|
|
110
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class AgentRuntimeEndpointResult(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
code: str = None,
|
|
12
|
+
data: main_models.AgentRuntimeEndpoint = None,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
):
|
|
15
|
+
# SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR
|
|
16
|
+
self.code = code
|
|
17
|
+
# 智能体运行时端点的详细信息
|
|
18
|
+
self.data = data
|
|
19
|
+
# 唯一的请求标识符,用于问题追踪
|
|
20
|
+
self.request_id = request_id
|
|
21
|
+
|
|
22
|
+
def validate(self):
|
|
23
|
+
if self.data:
|
|
24
|
+
self.data.validate()
|
|
25
|
+
|
|
26
|
+
def to_map(self):
|
|
27
|
+
result = dict()
|
|
28
|
+
_map = super().to_map()
|
|
29
|
+
if _map is not None:
|
|
30
|
+
result = _map
|
|
31
|
+
if self.code is not None:
|
|
32
|
+
result['code'] = self.code
|
|
33
|
+
|
|
34
|
+
if self.data is not None:
|
|
35
|
+
result['data'] = self.data.to_map()
|
|
36
|
+
|
|
37
|
+
if self.request_id is not None:
|
|
38
|
+
result['requestId'] = self.request_id
|
|
39
|
+
|
|
40
|
+
return result
|
|
41
|
+
|
|
42
|
+
def from_map(self, m: dict = None):
|
|
43
|
+
m = m or dict()
|
|
44
|
+
if m.get('code') is not None:
|
|
45
|
+
self.code = m.get('code')
|
|
46
|
+
|
|
47
|
+
if m.get('data') is not None:
|
|
48
|
+
temp_model = main_models.AgentRuntimeEndpoint()
|
|
49
|
+
self.data = temp_model.from_map(m.get('data'))
|
|
50
|
+
|
|
51
|
+
if m.get('requestId') is not None:
|
|
52
|
+
self.request_id = m.get('requestId')
|
|
53
|
+
|
|
54
|
+
return self
|
|
55
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class AgentRuntimeResult(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
code: str = None,
|
|
12
|
+
data: main_models.AgentRuntime = None,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
):
|
|
15
|
+
# SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR
|
|
16
|
+
self.code = code
|
|
17
|
+
# 智能体运行时的详细信息
|
|
18
|
+
self.data = data
|
|
19
|
+
# 唯一的请求标识符,用于问题追踪
|
|
20
|
+
self.request_id = request_id
|
|
21
|
+
|
|
22
|
+
def validate(self):
|
|
23
|
+
if self.data:
|
|
24
|
+
self.data.validate()
|
|
25
|
+
|
|
26
|
+
def to_map(self):
|
|
27
|
+
result = dict()
|
|
28
|
+
_map = super().to_map()
|
|
29
|
+
if _map is not None:
|
|
30
|
+
result = _map
|
|
31
|
+
if self.code is not None:
|
|
32
|
+
result['code'] = self.code
|
|
33
|
+
|
|
34
|
+
if self.data is not None:
|
|
35
|
+
result['data'] = self.data.to_map()
|
|
36
|
+
|
|
37
|
+
if self.request_id is not None:
|
|
38
|
+
result['requestId'] = self.request_id
|
|
39
|
+
|
|
40
|
+
return result
|
|
41
|
+
|
|
42
|
+
def from_map(self, m: dict = None):
|
|
43
|
+
m = m or dict()
|
|
44
|
+
if m.get('code') is not None:
|
|
45
|
+
self.code = m.get('code')
|
|
46
|
+
|
|
47
|
+
if m.get('data') is not None:
|
|
48
|
+
temp_model = main_models.AgentRuntime()
|
|
49
|
+
self.data = temp_model.from_map(m.get('data'))
|
|
50
|
+
|
|
51
|
+
if m.get('requestId') is not None:
|
|
52
|
+
self.request_id = m.get('requestId')
|
|
53
|
+
|
|
54
|
+
return self
|
|
55
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class AgentRuntimeVersion(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
agent_runtime_arn: str = None,
|
|
11
|
+
agent_runtime_id: str = None,
|
|
12
|
+
agent_runtime_name: str = None,
|
|
13
|
+
agent_runtime_version: str = None,
|
|
14
|
+
description: str = None,
|
|
15
|
+
last_updated_at: str = None,
|
|
16
|
+
):
|
|
17
|
+
# 智能体运行时的ARN
|
|
18
|
+
self.agent_runtime_arn = agent_runtime_arn
|
|
19
|
+
# 智能体运行时的ID
|
|
20
|
+
self.agent_runtime_id = agent_runtime_id
|
|
21
|
+
# 智能体运行时的名称
|
|
22
|
+
self.agent_runtime_name = agent_runtime_name
|
|
23
|
+
# 已发布版本的版本号
|
|
24
|
+
self.agent_runtime_version = agent_runtime_version
|
|
25
|
+
# 此版本的描述
|
|
26
|
+
self.description = description
|
|
27
|
+
# 最后更新的时间戳
|
|
28
|
+
self.last_updated_at = last_updated_at
|
|
29
|
+
|
|
30
|
+
def validate(self):
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
def to_map(self):
|
|
34
|
+
result = dict()
|
|
35
|
+
_map = super().to_map()
|
|
36
|
+
if _map is not None:
|
|
37
|
+
result = _map
|
|
38
|
+
if self.agent_runtime_arn is not None:
|
|
39
|
+
result['agentRuntimeArn'] = self.agent_runtime_arn
|
|
40
|
+
|
|
41
|
+
if self.agent_runtime_id is not None:
|
|
42
|
+
result['agentRuntimeId'] = self.agent_runtime_id
|
|
43
|
+
|
|
44
|
+
if self.agent_runtime_name is not None:
|
|
45
|
+
result['agentRuntimeName'] = self.agent_runtime_name
|
|
46
|
+
|
|
47
|
+
if self.agent_runtime_version is not None:
|
|
48
|
+
result['agentRuntimeVersion'] = self.agent_runtime_version
|
|
49
|
+
|
|
50
|
+
if self.description is not None:
|
|
51
|
+
result['description'] = self.description
|
|
52
|
+
|
|
53
|
+
if self.last_updated_at is not None:
|
|
54
|
+
result['lastUpdatedAt'] = self.last_updated_at
|
|
55
|
+
|
|
56
|
+
return result
|
|
57
|
+
|
|
58
|
+
def from_map(self, m: dict = None):
|
|
59
|
+
m = m or dict()
|
|
60
|
+
if m.get('agentRuntimeArn') is not None:
|
|
61
|
+
self.agent_runtime_arn = m.get('agentRuntimeArn')
|
|
62
|
+
|
|
63
|
+
if m.get('agentRuntimeId') is not None:
|
|
64
|
+
self.agent_runtime_id = m.get('agentRuntimeId')
|
|
65
|
+
|
|
66
|
+
if m.get('agentRuntimeName') is not None:
|
|
67
|
+
self.agent_runtime_name = m.get('agentRuntimeName')
|
|
68
|
+
|
|
69
|
+
if m.get('agentRuntimeVersion') is not None:
|
|
70
|
+
self.agent_runtime_version = m.get('agentRuntimeVersion')
|
|
71
|
+
|
|
72
|
+
if m.get('description') is not None:
|
|
73
|
+
self.description = m.get('description')
|
|
74
|
+
|
|
75
|
+
if m.get('lastUpdatedAt') is not None:
|
|
76
|
+
self.last_updated_at = m.get('lastUpdatedAt')
|
|
77
|
+
|
|
78
|
+
return self
|
|
79
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class AgentRuntimeVersionResult(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
code: str = None,
|
|
12
|
+
data: main_models.AgentRuntimeVersion = None,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
):
|
|
15
|
+
# SUCCESS 为成功,失败情况返回对应错误类型,比如 ERR_BAD_REQUEST ERR_VALIDATION_FAILED ERR_INTERNAL_SERVER_ERROR
|
|
16
|
+
self.code = code
|
|
17
|
+
# 智能体运行时版本的详细信息
|
|
18
|
+
self.data = data
|
|
19
|
+
# 唯一的请求标识符,用于问题追踪
|
|
20
|
+
self.request_id = request_id
|
|
21
|
+
|
|
22
|
+
def validate(self):
|
|
23
|
+
if self.data:
|
|
24
|
+
self.data.validate()
|
|
25
|
+
|
|
26
|
+
def to_map(self):
|
|
27
|
+
result = dict()
|
|
28
|
+
_map = super().to_map()
|
|
29
|
+
if _map is not None:
|
|
30
|
+
result = _map
|
|
31
|
+
if self.code is not None:
|
|
32
|
+
result['code'] = self.code
|
|
33
|
+
|
|
34
|
+
if self.data is not None:
|
|
35
|
+
result['data'] = self.data.to_map()
|
|
36
|
+
|
|
37
|
+
if self.request_id is not None:
|
|
38
|
+
result['requestId'] = self.request_id
|
|
39
|
+
|
|
40
|
+
return result
|
|
41
|
+
|
|
42
|
+
def from_map(self, m: dict = None):
|
|
43
|
+
m = m or dict()
|
|
44
|
+
if m.get('code') is not None:
|
|
45
|
+
self.code = m.get('code')
|
|
46
|
+
|
|
47
|
+
if m.get('data') is not None:
|
|
48
|
+
temp_model = main_models.AgentRuntimeVersion()
|
|
49
|
+
self.data = temp_model.from_map(m.get('data'))
|
|
50
|
+
|
|
51
|
+
if m.get('requestId') is not None:
|
|
52
|
+
self.request_id = m.get('requestId')
|
|
53
|
+
|
|
54
|
+
return self
|
|
55
|
+
|