openai 0.92.0 → 0.93.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/README.md +1 -1
- data/lib/openai/client.rb +1 -0
- data/lib/openai/models/admin/organization/audit_log_list_params.rb +2 -0
- data/lib/openai/models/admin/organization/audit_log_list_response.rb +116 -1
- data/lib/openai/models/admin/organization/aws_external_storage_provider.rb +49 -0
- data/lib/openai/models/admin/organization/azure_external_storage_provider.rb +55 -0
- data/lib/openai/models/admin/organization/external_storage_configuration.rb +82 -0
- data/lib/openai/models/admin/organization/external_storage_create_params.rb +105 -0
- data/lib/openai/models/admin/organization/external_storage_delete_params.rb +24 -0
- data/lib/openai/models/admin/organization/external_storage_deleted.rb +32 -0
- data/lib/openai/models/admin/organization/external_storage_list_params.rb +58 -0
- data/lib/openai/models/admin/organization/external_storage_retrieve_params.rb +24 -0
- data/lib/openai/models/admin/organization/external_storage_validate_params.rb +24 -0
- data/lib/openai/models/beta/agent_create_params.rb +13 -9
- data/lib/openai/models/beta/agent_reasoning.rb +9 -6
- data/lib/openai/models/beta/agent_reasoning_item.rb +2 -2
- data/lib/openai/models/beta/agent_reasoning_param.rb +9 -6
- data/lib/openai/models/beta/agent_session.rb +4 -2
- data/lib/openai/models/beta/agent_session_assistant_message.rb +3 -3
- data/lib/openai/models/beta/agent_session_environment_reset_event.rb +67 -0
- data/lib/openai/models/beta/agent_session_environment_state.rb +3 -3
- data/lib/openai/models/beta/agent_session_event.rb +4 -1
- data/lib/openai/models/beta/agent_session_input_param.rb +2 -2
- data/lib/openai/models/beta/agent_session_item.rb +2 -2
- data/lib/openai/models/beta/agent_session_message.rb +3 -3
- data/lib/openai/models/beta/agent_session_turn_cancelled_event.rb +2 -2
- data/lib/openai/models/beta/agent_session_turn_completed_event.rb +2 -2
- data/lib/openai/models/beta/agent_session_turn_failed_event.rb +2 -2
- data/lib/openai/models/beta/agent_text_param.rb +8 -5
- data/lib/openai/models/beta/agent_tool.rb +3 -3
- data/lib/openai/models/beta/agent_tool_param.rb +18 -12
- data/lib/openai/models/beta/agent_update_params.rb +6 -4
- data/lib/openai/models/beta/agent_web_search_call_item.rb +2 -2
- data/lib/openai/models/beta/agents/environments/template_create_params.rb +10 -7
- data/lib/openai/models/beta/agents/environments/template_update_params.rb +13 -7
- data/lib/openai/models/beta/agents/session_create_params.rb +18 -7
- data/lib/openai/models/beta/agents/session_update_params.rb +6 -6
- data/lib/openai/models/beta/agents/sessions/turn.rb +6 -4
- data/lib/openai/models/beta/agents/vault.rb +1 -2
- data/lib/openai/models/beta/agents/vaults/credential.rb +5 -5
- data/lib/openai/models/beta/agents/vaults/credential_auth.rb +45 -9
- data/lib/openai/models/beta/agents/vaults/credential_auth_create_param.rb +69 -5
- data/lib/openai/models/beta/agents/vaults/credential_auth_rotate_param.rb +42 -10
- data/lib/openai/models/beta/agents/vaults/credential_create_params.rb +4 -4
- data/lib/openai/models/beta/agents/vaults/credential_networking.rb +72 -0
- data/lib/openai/models/beta/agents/vaults/credential_networking_param.rb +72 -0
- data/lib/openai/models/beta/agents/vaults/credential_update_params.rb +2 -2
- data/lib/openai/models/beta/beta_response.rb +3 -3
- data/lib/openai/models/beta/beta_response_output_text_annotation_added_event.rb +3 -3
- data/lib/openai/models/beta/beta_responses_client_event.rb +3 -3
- data/lib/openai/models/beta/beta_responses_server_event.rb +1 -1
- data/lib/openai/models/beta/beta_tool.rb +9 -12
- data/lib/openai/models/beta/environment_param.rb +10 -7
- data/lib/openai/models/beta/persisted_agent_tool.rb +3 -3
- data/lib/openai/models/beta/persisted_agent_tool_param.rb +12 -12
- data/lib/openai/models/beta/response_compact_params.rb +3 -3
- data/lib/openai/models/beta/response_create_params.rb +3 -3
- data/lib/openai/models/chat/completion_create_params.rb +10 -4
- data/lib/openai/models/chat_model.rb +1 -1
- data/lib/openai/models/conversations/conversation_update_params.rb +6 -8
- data/lib/openai/models/image_edit_params.rb +9 -12
- data/lib/openai/models/realtime/conversation_item_create_event.rb +3 -2
- data/lib/openai/models/realtime/realtime_client_event.rb +3 -2
- data/lib/openai/models/responses/response_compact_params.rb +3 -3
- data/lib/openai/models/responses/response_output_text_annotation_added_event.rb +3 -3
- data/lib/openai/models/responses/responses_server_event.rb +1 -1
- data/lib/openai/models/responses/tool.rb +9 -12
- data/lib/openai/models/safety/case_retrieve_params.rb +25 -0
- data/lib/openai/models/safety/safety_case.rb +72 -0
- data/lib/openai/models/webhooks/live_call_incoming_webhook_event.rb +51 -1
- data/lib/openai/models/webhooks/live_transport_incoming_webhook_event.rb +55 -1
- data/lib/openai/models/webhooks/realtime_call_incoming_webhook_event.rb +55 -1
- data/lib/openai/models/webhooks/safety_deactivation_issued_webhook_event.rb +68 -0
- data/lib/openai/models/webhooks/safety_warning_issued_webhook_event.rb +68 -0
- data/lib/openai/models/webhooks/unwrap_webhook_event.rb +7 -1
- data/lib/openai/resources/admin/organization/external_storage.rb +136 -0
- data/lib/openai/resources/admin/organization.rb +4 -0
- data/lib/openai/resources/beta/agents/environments/templates.rb +7 -4
- data/lib/openai/resources/beta/agents/sessions/events.rb +5 -2
- data/lib/openai/resources/beta/agents/sessions.rb +12 -4
- data/lib/openai/resources/beta/agents/vaults/credentials.rb +3 -3
- data/lib/openai/resources/beta/agents.rb +9 -6
- data/lib/openai/resources/beta/responses/input_items.rb +1 -0
- data/lib/openai/resources/beta/responses/input_tokens.rb +1 -0
- data/lib/openai/resources/beta/responses.rb +3 -0
- data/lib/openai/resources/beta.rb +1 -0
- data/lib/openai/resources/chat/completions.rb +10 -4
- data/lib/openai/resources/conversations.rb +3 -4
- data/lib/openai/resources/images.rb +6 -8
- data/lib/openai/resources/responses/input_items.rb +1 -0
- data/lib/openai/resources/responses/input_tokens.rb +1 -0
- data/lib/openai/resources/responses.rb +3 -0
- data/lib/openai/resources/safety/cases.rb +38 -0
- data/lib/openai/resources/safety.rb +4 -0
- data/lib/openai/resources/webhooks.rb +1 -1
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +19 -1
- data/rbi/openai/client.rbi +1 -0
- data/rbi/openai/models/admin/organization/audit_log_list_params.rbi +8 -0
- data/rbi/openai/models/admin/organization/audit_log_list_response.rbi +246 -0
- data/rbi/openai/models/admin/organization/aws_external_storage_provider.rbi +85 -0
- data/rbi/openai/models/admin/organization/azure_external_storage_provider.rbi +100 -0
- data/rbi/openai/models/admin/organization/external_storage_configuration.rbi +148 -0
- data/rbi/openai/models/admin/organization/external_storage_create_params.rbi +223 -0
- data/rbi/openai/models/admin/organization/external_storage_delete_params.rbi +57 -0
- data/rbi/openai/models/admin/organization/external_storage_deleted.rbi +64 -0
- data/rbi/openai/models/admin/organization/external_storage_list_params.rbi +110 -0
- data/rbi/openai/models/admin/organization/external_storage_retrieve_params.rbi +57 -0
- data/rbi/openai/models/admin/organization/external_storage_validate_params.rbi +57 -0
- data/rbi/openai/models/beta/agent_create_params.rbi +13 -9
- data/rbi/openai/models/beta/agent_reasoning.rbi +9 -6
- data/rbi/openai/models/beta/agent_reasoning_item.rbi +2 -2
- data/rbi/openai/models/beta/agent_reasoning_param.rbi +9 -6
- data/rbi/openai/models/beta/agent_session.rbi +4 -2
- data/rbi/openai/models/beta/agent_session_assistant_message.rbi +3 -3
- data/rbi/openai/models/beta/agent_session_environment_reset_event.rbi +103 -0
- data/rbi/openai/models/beta/agent_session_environment_state.rbi +3 -3
- data/rbi/openai/models/beta/agent_session_event.rbi +1 -0
- data/rbi/openai/models/beta/agent_session_input_param.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_item.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_message.rbi +3 -3
- data/rbi/openai/models/beta/agent_session_turn_cancelled_event.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_turn_completed_event.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_turn_failed_event.rbi +2 -2
- data/rbi/openai/models/beta/agent_text_param.rbi +8 -5
- data/rbi/openai/models/beta/agent_tool.rbi +3 -3
- data/rbi/openai/models/beta/agent_tool_param.rbi +18 -12
- data/rbi/openai/models/beta/agent_update_params.rbi +6 -4
- data/rbi/openai/models/beta/agent_web_search_call_item.rbi +2 -2
- data/rbi/openai/models/beta/agents/environments/template_create_params.rbi +10 -7
- data/rbi/openai/models/beta/agents/environments/template_update_params.rbi +13 -7
- data/rbi/openai/models/beta/agents/session_create_params.rbi +18 -7
- data/rbi/openai/models/beta/agents/session_update_params.rbi +6 -6
- data/rbi/openai/models/beta/agents/sessions/turn.rbi +6 -4
- data/rbi/openai/models/beta/agents/vault.rbi +1 -2
- data/rbi/openai/models/beta/agents/vaults/credential.rbi +5 -4
- data/rbi/openai/models/beta/agents/vaults/credential_auth.rbi +74 -9
- data/rbi/openai/models/beta/agents/vaults/credential_auth_create_param.rbi +106 -5
- data/rbi/openai/models/beta/agents/vaults/credential_auth_rotate_param.rbi +61 -10
- data/rbi/openai/models/beta/agents/vaults/credential_create_params.rbi +8 -5
- data/rbi/openai/models/beta/agents/vaults/credential_networking.rbi +129 -0
- data/rbi/openai/models/beta/agents/vaults/credential_networking_param.rbi +129 -0
- data/rbi/openai/models/beta/agents/vaults/credential_update_params.rbi +6 -3
- data/rbi/openai/models/beta/beta_response.rbi +1 -1
- data/rbi/openai/models/beta/beta_response_output_text_annotation_added_event.rbi +3 -3
- data/rbi/openai/models/beta/beta_responses_client_event.rbi +4 -4
- data/rbi/openai/models/beta/beta_responses_server_event.rbi +1 -1
- data/rbi/openai/models/beta/beta_tool.rbi +9 -12
- data/rbi/openai/models/beta/environment_param.rbi +10 -7
- data/rbi/openai/models/beta/persisted_agent_tool.rbi +3 -3
- data/rbi/openai/models/beta/persisted_agent_tool_param.rbi +12 -12
- data/rbi/openai/models/beta/response_compact_params.rbi +1 -1
- data/rbi/openai/models/beta/response_create_params.rbi +1 -1
- data/rbi/openai/models/chat/completion_create_params.rbi +10 -4
- data/rbi/openai/models/chat_model.rbi +1 -1
- data/rbi/openai/models/conversations/conversation_update_params.rbi +6 -8
- data/rbi/openai/models/image_edit_params.rbi +9 -12
- data/rbi/openai/models/realtime/conversation_item_create_event.rbi +3 -2
- data/rbi/openai/models/responses/response_compact_params.rbi +1 -1
- data/rbi/openai/models/responses/response_output_text_annotation_added_event.rbi +3 -3
- data/rbi/openai/models/responses/responses_server_event.rbi +1 -1
- data/rbi/openai/models/responses/tool.rbi +9 -12
- data/rbi/openai/models/safety/case_retrieve_params.rbi +55 -0
- data/rbi/openai/models/safety/safety_case.rbi +140 -0
- data/rbi/openai/models/webhooks/live_call_incoming_webhook_event.rbi +70 -3
- data/rbi/openai/models/webhooks/live_transport_incoming_webhook_event.rbi +73 -1
- data/rbi/openai/models/webhooks/realtime_call_incoming_webhook_event.rbi +75 -3
- data/rbi/openai/models/webhooks/safety_deactivation_issued_webhook_event.rbi +130 -0
- data/rbi/openai/models/webhooks/safety_warning_issued_webhook_event.rbi +130 -0
- data/rbi/openai/models/webhooks/unwrap_webhook_event.rbi +3 -1
- data/rbi/openai/resources/admin/organization/external_storage.rbi +89 -0
- data/rbi/openai/resources/admin/organization.rbi +3 -0
- data/rbi/openai/resources/beta/agents/environments/templates.rbi +7 -4
- data/rbi/openai/resources/beta/agents/sessions/events.rbi +4 -1
- data/rbi/openai/resources/beta/agents/sessions.rbi +11 -3
- data/rbi/openai/resources/beta/agents/vaults/credentials.rbi +5 -3
- data/rbi/openai/resources/beta/agents.rbi +9 -6
- data/rbi/openai/resources/beta/responses/input_items.rbi +1 -0
- data/rbi/openai/resources/beta/responses/input_tokens.rbi +1 -0
- data/rbi/openai/resources/beta/responses.rbi +3 -0
- data/rbi/openai/resources/beta.rbi +1 -0
- data/rbi/openai/resources/chat/completions.rbi +10 -4
- data/rbi/openai/resources/conversations.rbi +3 -4
- data/rbi/openai/resources/images.rbi +6 -8
- data/rbi/openai/resources/responses/input_items.rbi +1 -0
- data/rbi/openai/resources/responses/input_tokens.rbi +1 -0
- data/rbi/openai/resources/responses.rbi +3 -0
- data/rbi/openai/resources/safety/cases.rbi +28 -0
- data/rbi/openai/resources/safety.rbi +3 -0
- data/rbi/openai/resources/webhooks.rbi +3 -1
- data/sig/openai/models/admin/organization/admin_api_key.rbs +45 -0
- data/sig/openai/models/admin/organization/admin_api_key_create_params.rbs +7 -0
- data/sig/openai/models/admin/organization/admin_api_key_create_response.rbs +18 -0
- data/sig/openai/models/admin/organization/admin_api_key_delete_params.rbs +3 -0
- data/sig/openai/models/admin/organization/admin_api_key_list_params.rbs +11 -0
- data/sig/openai/models/admin/organization/admin_api_key_retrieve_params.rbs +3 -0
- data/sig/openai/models/admin/organization/audit_log_list_params.rbs +114 -0
- data/sig/openai/models/admin/organization/audit_log_list_response.rbs +1108 -0
- data/sig/openai/models/admin/organization/aws_external_storage_provider.rbs +49 -0
- data/sig/openai/models/admin/organization/azure_external_storage_provider.rbs +54 -0
- data/sig/openai/models/admin/organization/certificate.rbs +45 -0
- data/sig/openai/models/admin/organization/certificate_activate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/certificate_create_params.rbs +7 -0
- data/sig/openai/models/admin/organization/certificate_deactivate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/certificate_delete_response.rbs +6 -0
- data/sig/openai/models/admin/organization/certificate_list_params.rbs +27 -0
- data/sig/openai/models/admin/organization/certificate_list_response.rbs +23 -0
- data/sig/openai/models/admin/organization/certificate_retrieve_params.rbs +7 -0
- data/sig/openai/models/admin/organization/certificate_update_params.rbs +4 -0
- data/sig/openai/models/admin/organization/data_retention_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/external_storage_configuration.rbs +76 -0
- data/sig/openai/models/admin/organization/external_storage_create_params.rbs +105 -0
- data/sig/openai/models/admin/organization/external_storage_delete_params.rbs +30 -0
- data/sig/openai/models/admin/organization/external_storage_deleted.rbs +34 -0
- data/sig/openai/models/admin/organization/external_storage_list_params.rbs +65 -0
- data/sig/openai/models/admin/organization/external_storage_retrieve_params.rbs +30 -0
- data/sig/openai/models/admin/organization/external_storage_validate_params.rbs +30 -0
- data/sig/openai/models/admin/organization/group.rbs +17 -0
- data/sig/openai/models/admin/organization/group_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/group_delete_response.rbs +9 -0
- data/sig/openai/models/admin/organization/group_list_params.rbs +24 -0
- data/sig/openai/models/admin/organization/group_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/group_update_response.rbs +14 -0
- data/sig/openai/models/admin/organization/groups/organization_group_user.rbs +9 -0
- data/sig/openai/models/admin/organization/groups/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/groups/role_create_response.rbs +24 -0
- data/sig/openai/models/admin/organization/groups/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/groups/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/groups/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/groups/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/admin/organization/groups/user_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/groups/user_create_response.rbs +9 -0
- data/sig/openai/models/admin/organization/groups/user_delete_response.rbs +6 -0
- data/sig/openai/models/admin/organization/groups/user_list_params.rbs +18 -0
- data/sig/openai/models/admin/organization/groups/user_retrieve_response.rbs +18 -0
- data/sig/openai/models/admin/organization/invite.rbs +33 -0
- data/sig/openai/models/admin/organization/invite_create_params.rbs +25 -0
- data/sig/openai/models/admin/organization/invite_delete_response.rbs +3 -0
- data/sig/openai/models/admin/organization/invite_list_params.rbs +20 -0
- data/sig/openai/models/admin/organization/organization_data_retention.rbs +6 -0
- data/sig/openai/models/admin/organization/organization_spend_alert.rbs +27 -0
- data/sig/openai/models/admin/organization/organization_spend_alert_deleted.rbs +9 -0
- data/sig/openai/models/admin/organization/organization_spend_limit.rbs +20 -0
- data/sig/openai/models/admin/organization/organization_spend_limit_deleted.rbs +6 -0
- data/sig/openai/models/admin/organization/organization_user.rbs +53 -0
- data/sig/openai/models/admin/organization/project.rbs +25 -0
- data/sig/openai/models/admin/organization/project_create_params.rbs +28 -0
- data/sig/openai/models/admin/organization/project_list_params.rbs +27 -0
- data/sig/openai/models/admin/organization/project_update_params.rbs +11 -0
- data/sig/openai/models/admin/organization/projects/api_key_list_params.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/certificate_activate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/certificate_deactivate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/certificate_list_params.rbs +27 -0
- data/sig/openai/models/admin/organization/projects/certificate_list_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/data_retention_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/group_create_params.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/group_delete_response.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/group_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/group_retrieve_params.rbs +4 -0
- data/sig/openai/models/admin/organization/projects/groups/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/groups/role_create_response.rbs +24 -0
- data/sig/openai/models/admin/organization/projects/groups/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/projects/groups/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/groups/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/groups/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/hosted_tool_permission_update_params.rbs +30 -0
- data/sig/openai/models/admin/organization/projects/model_permission_update_params.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_api_key.rbs +65 -0
- data/sig/openai/models/admin/organization/projects/project_data_retention.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_group.rbs +18 -0
- data/sig/openai/models/admin/organization/projects/project_hosted_tool_permissions.rbs +30 -0
- data/sig/openai/models/admin/organization/projects/project_model_permissions.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/project_model_permissions_deleted.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_rate_limit.rbs +31 -0
- data/sig/openai/models/admin/organization/projects/project_service_account.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/project_spend_alert.rbs +27 -0
- data/sig/openai/models/admin/organization/projects/project_spend_alert_deleted.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/project_spend_limit.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/project_spend_limit_deleted.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_user.rbs +18 -0
- data/sig/openai/models/admin/organization/projects/rate_limit_list_rate_limits_params.rbs +30 -0
- data/sig/openai/models/admin/organization/projects/rate_limit_update_rate_limit_params.rbs +24 -0
- data/sig/openai/models/admin/organization/projects/role_create_params.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/role_delete_response.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/role_update_params.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/service_account_create_params.rbs +17 -0
- data/sig/openai/models/admin/organization/projects/service_account_create_response.rbs +13 -0
- data/sig/openai/models/admin/organization/projects/service_account_list_params.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/service_account_update_params.rbs +8 -0
- data/sig/openai/models/admin/organization/projects/service_accounts/api_key_create_params.rbs +17 -0
- data/sig/openai/models/admin/organization/projects/service_accounts/api_key_create_response.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/spend_alert_create_params.rbs +21 -0
- data/sig/openai/models/admin/organization/projects/spend_alert_list_params.rbs +22 -0
- data/sig/openai/models/admin/organization/projects/spend_alert_update_params.rbs +21 -0
- data/sig/openai/models/admin/organization/projects/spend_limit_update_params.rbs +11 -0
- data/sig/openai/models/admin/organization/projects/user_create_params.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/user_list_params.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/user_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/users/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/users/role_create_response.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/users/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/projects/users/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/users/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/users/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/admin/organization/role.rbs +23 -0
- data/sig/openai/models/admin/organization/role_create_params.rbs +9 -0
- data/sig/openai/models/admin/organization/role_delete_response.rbs +9 -0
- data/sig/openai/models/admin/organization/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/role_update_params.rbs +9 -0
- data/sig/openai/models/admin/organization/spend_alert_create_params.rbs +21 -0
- data/sig/openai/models/admin/organization/spend_alert_list_params.rbs +22 -0
- data/sig/openai/models/admin/organization/spend_alert_update_params.rbs +21 -0
- data/sig/openai/models/admin/organization/spend_limit_update_params.rbs +11 -0
- data/sig/openai/models/admin/organization/usage_audio_speeches_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_audio_speeches_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_params.rbs +48 -0
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_completions_params.rbs +70 -0
- data/sig/openai/models/admin/organization/usage_completions_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_costs_params.rbs +50 -0
- data/sig/openai/models/admin/organization/usage_costs_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_embeddings_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_embeddings_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_file_search_calls_params.rbs +63 -0
- data/sig/openai/models/admin/organization/usage_file_search_calls_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_images_params.rbs +77 -0
- data/sig/openai/models/admin/organization/usage_images_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_moderations_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_moderations_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_vector_stores_params.rbs +48 -0
- data/sig/openai/models/admin/organization/usage_vector_stores_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_web_search_calls_params.rbs +67 -0
- data/sig/openai/models/admin/organization/usage_web_search_calls_response.rbs +351 -0
- data/sig/openai/models/admin/organization/user_list_params.rbs +24 -0
- data/sig/openai/models/admin/organization/user_update_params.rbs +12 -0
- data/sig/openai/models/admin/organization/users/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/users/role_create_response.rbs +9 -0
- data/sig/openai/models/admin/organization/users/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/users/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/users/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/users/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/audio/speech_create_params.rbs +54 -0
- data/sig/openai/models/audio/transcription.rbs +66 -0
- data/sig/openai/models/audio/transcription_create_params.rbs +205 -0
- data/sig/openai/models/audio/transcription_diarized.rbs +46 -0
- data/sig/openai/models/audio/transcription_diarized_segment.rbs +22 -0
- data/sig/openai/models/audio/transcription_language.rbs +3 -0
- data/sig/openai/models/audio/transcription_segment.rbs +36 -0
- data/sig/openai/models/audio/transcription_text_delta_event.rbs +35 -0
- data/sig/openai/models/audio/transcription_text_done_event.rbs +66 -0
- data/sig/openai/models/audio/transcription_text_segment_event.rbs +18 -0
- data/sig/openai/models/audio/transcription_verbose.rbs +27 -0
- data/sig/openai/models/audio/transcription_word.rbs +9 -0
- data/sig/openai/models/audio/translation_create_params.rbs +58 -0
- data/sig/openai/models/audio/translation_verbose.rbs +13 -0
- data/sig/openai/models/auto_file_chunking_strategy_param.rbs +3 -0
- data/sig/openai/models/batch.rbs +105 -0
- data/sig/openai/models/batch_create_params.rbs +71 -0
- data/sig/openai/models/batch_error.rbs +14 -0
- data/sig/openai/models/batch_list_params.rbs +20 -0
- data/sig/openai/models/batch_request_counts.rbs +9 -0
- data/sig/openai/models/batch_usage.rbs +23 -0
- data/sig/openai/models/beta/agent.rbs +41 -0
- data/sig/openai/models/beta/agent_close_subagent_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_command_execution_item.rbs +27 -0
- data/sig/openai/models/beta/agent_content.rbs +6 -0
- data/sig/openai/models/beta/agent_create_params.rbs +35 -0
- data/sig/openai/models/beta/agent_create_subagent_call_item.rbs +24 -0
- data/sig/openai/models/beta/agent_deleted.rbs +9 -0
- data/sig/openai/models/beta/agent_function_call_item.rbs +21 -0
- data/sig/openai/models/beta/agent_interrupt_subagent_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_list_params.rbs +11 -0
- data/sig/openai/models/beta/agent_mcp_call_item.rbs +27 -0
- data/sig/openai/models/beta/agent_output_command_execution_output_delta_event.rbs +21 -0
- data/sig/openai/models/beta/agent_reasoning.rbs +8 -0
- data/sig/openai/models/beta/agent_reasoning_item.rbs +15 -0
- data/sig/openai/models/beta/agent_reasoning_param.rbs +8 -0
- data/sig/openai/models/beta/agent_resume_subagent_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_send_subagent_input_call_item.rbs +21 -0
- data/sig/openai/models/beta/agent_session.rbs +88 -0
- data/sig/openai/models/beta/agent_session_assistant_message.rbs +21 -0
- data/sig/openai/models/beta/agent_session_created_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_deleted.rbs +11 -0
- data/sig/openai/models/beta/agent_session_environment_connected_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_disconnected_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_failed_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_pending_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_ready_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_reset_event.rbs +65 -0
- data/sig/openai/models/beta/agent_session_environment_state.rbs +21 -0
- data/sig/openai/models/beta/agent_session_error_event.rbs +12 -0
- data/sig/openai/models/beta/agent_session_event.rbs +1 -0
- data/sig/openai/models/beta/agent_session_failed_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_idle_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_in_progress_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_input_message_param.rbs +10 -0
- data/sig/openai/models/beta/agent_session_input_param.rbs +27 -0
- data/sig/openai/models/beta/agent_session_item.rbs +39 -0
- data/sig/openai/models/beta/agent_session_message.rbs +23 -0
- data/sig/openai/models/beta/agent_session_message_content.rbs +20 -0
- data/sig/openai/models/beta/agent_session_requires_action_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_subagent_active_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_subagent_closed_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_subagent_created_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_turn_cancelled_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_completed_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_content_part_added_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_content_part_done_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_created_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_turn_failed_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_in_progress_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_turn_item_added_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_item_done_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_output_text_delta_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_output_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_part_added_event.rbs +26 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_part_done_event.rbs +28 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_text_delta_event.rbs +26 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/agent_text.rbs +6 -0
- data/sig/openai/models/beta/agent_text_param.rbs +8 -0
- data/sig/openai/models/beta/agent_tool.rbs +74 -0
- data/sig/openai/models/beta/agent_tool_param.rbs +90 -0
- data/sig/openai/models/beta/agent_update_params.rbs +36 -0
- data/sig/openai/models/beta/agent_wait_for_subagents_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_web_search_call_item.rbs +15 -0
- data/sig/openai/models/beta/agents/environment_info.rbs +21 -0
- data/sig/openai/models/beta/agents/environments/environment_file.rbs +12 -0
- data/sig/openai/models/beta/agents/environments/environment_template.rbs +84 -0
- data/sig/openai/models/beta/agents/environments/environment_template_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/environments/file_list_params.rbs +14 -0
- data/sig/openai/models/beta/agents/environments/template_create_params.rbs +49 -1
- data/sig/openai/models/beta/agents/environments/template_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/environments/template_update_params.rbs +47 -1
- data/sig/openai/models/beta/agents/session_create_params.rbs +60 -0
- data/sig/openai/models/beta/agents/session_list_params.rbs +21 -0
- data/sig/openai/models/beta/agents/session_update_params.rbs +25 -0
- data/sig/openai/models/beta/agents/sessions/artifact_list_params.rbs +13 -0
- data/sig/openai/models/beta/agents/sessions/event_create_params.rbs +3 -0
- data/sig/openai/models/beta/agents/sessions/item_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/session_artifact.rbs +24 -0
- data/sig/openai/models/beta/agents/sessions/session_artifact_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/sessions/subagent_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/subagents/item_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/subagents/turn_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/subagents/turns/item_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/turn.rbs +39 -0
- data/sig/openai/models/beta/agents/sessions/turn_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/vault.rbs +17 -0
- data/sig/openai/models/beta/agents/vault_create_params.rbs +12 -0
- data/sig/openai/models/beta/agents/vault_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/vault_list_params.rbs +23 -0
- data/sig/openai/models/beta/agents/vaults/credential.rbs +21 -0
- data/sig/openai/models/beta/agents/vaults/credential_auth.rbs +74 -0
- data/sig/openai/models/beta/agents/vaults/credential_auth_create_param.rbs +107 -0
- data/sig/openai/models/beta/agents/vaults/credential_auth_rotate_param.rbs +67 -0
- data/sig/openai/models/beta/agents/vaults/credential_create_params.rbs +8 -0
- data/sig/openai/models/beta/agents/vaults/credential_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/vaults/credential_list_params.rbs +23 -0
- data/sig/openai/models/beta/agents/vaults/credential_networking.rbs +60 -0
- data/sig/openai/models/beta/agents/vaults/credential_networking_param.rbs +60 -0
- data/sig/openai/models/beta/agents/vaults/credential_update_params.rbs +3 -0
- data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth.rbs +9 -0
- data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth_create_param.rbs +15 -0
- data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth_rotate_param.rbs +16 -0
- data/sig/openai/models/beta/assistant.rbs +142 -0
- data/sig/openai/models/beta/assistant_create_params.rbs +213 -0
- data/sig/openai/models/beta/assistant_list_params.rbs +40 -0
- data/sig/openai/models/beta/assistant_stream_event.rbs +107 -0
- data/sig/openai/models/beta/assistant_tool_choice.rbs +3 -0
- data/sig/openai/models/beta/assistant_tool_choice_function.rbs +3 -0
- data/sig/openai/models/beta/assistant_update_params.rbs +157 -0
- data/sig/openai/models/beta/beta_apply_patch_tool.rbs +6 -0
- data/sig/openai/models/beta/beta_compacted_response.rbs +19 -0
- data/sig/openai/models/beta/beta_computer_action.rbs +126 -0
- data/sig/openai/models/beta/beta_computer_tool.rbs +3 -0
- data/sig/openai/models/beta/beta_computer_use_preview_tool.rbs +12 -0
- data/sig/openai/models/beta/beta_container_auto.rbs +18 -0
- data/sig/openai/models/beta/beta_container_network_policy_allowlist.rbs +10 -0
- data/sig/openai/models/beta/beta_container_network_policy_disabled.rbs +3 -0
- data/sig/openai/models/beta/beta_container_network_policy_domain_secret.rbs +9 -0
- data/sig/openai/models/beta/beta_container_reference.rbs +6 -0
- data/sig/openai/models/beta/beta_custom_tool.rbs +40 -0
- data/sig/openai/models/beta/beta_easy_input_message.rbs +23 -0
- data/sig/openai/models/beta/beta_file_search_tool.rbs +117 -0
- data/sig/openai/models/beta/beta_function_shell_tool.rbs +6 -0
- data/sig/openai/models/beta/beta_function_tool.rbs +29 -0
- data/sig/openai/models/beta/beta_inline_skill.rbs +12 -0
- data/sig/openai/models/beta/beta_inline_skill_source.rbs +9 -0
- data/sig/openai/models/beta/beta_local_environment.rbs +7 -0
- data/sig/openai/models/beta/beta_local_skill.rbs +9 -0
- data/sig/openai/models/beta/beta_namespace_tool.rbs +38 -0
- data/sig/openai/models/beta/beta_response.rbs +545 -2
- data/sig/openai/models/beta/beta_response_apply_patch_tool_call.rbs +60 -0
- data/sig/openai/models/beta/beta_response_apply_patch_tool_call_output.rbs +34 -0
- data/sig/openai/models/beta/beta_response_audio_delta_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_audio_done_event.rbs +12 -0
- data/sig/openai/models/beta/beta_response_audio_transcript_delta_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_audio_transcript_done_event.rbs +12 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_code_delta_event.rbs +23 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_code_done_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_completed_event.rbs +20 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_in_progress_event.rbs +20 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_interpreting_event.rbs +20 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_tool_call.rbs +40 -0
- data/sig/openai/models/beta/beta_response_compaction_compacting_event.rbs +19 -0
- data/sig/openai/models/beta/beta_response_compaction_item.rbs +20 -0
- data/sig/openai/models/beta/beta_response_compaction_item_param.rbs +15 -0
- data/sig/openai/models/beta/beta_response_completed_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_computer_tool_call.rbs +43 -0
- data/sig/openai/models/beta/beta_response_computer_tool_call_output_item.rbs +43 -0
- data/sig/openai/models/beta/beta_response_computer_tool_call_output_screenshot.rbs +13 -0
- data/sig/openai/models/beta/beta_response_configuration_update_item.rbs +22 -0
- data/sig/openai/models/beta/beta_response_configuration_update_item_param.rbs +21 -0
- data/sig/openai/models/beta/beta_response_container_reference.rbs +3 -0
- data/sig/openai/models/beta/beta_response_content.rbs +6 -0
- data/sig/openai/models/beta/beta_response_content_part_added_event.rbs +30 -0
- data/sig/openai/models/beta/beta_response_content_part_done_event.rbs +30 -0
- data/sig/openai/models/beta/beta_response_conversation_param.rbs +3 -0
- data/sig/openai/models/beta/beta_response_created_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call.rbs +36 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_input_delta_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_input_done_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_item.rbs +31 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_output.rbs +33 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_output_item.rbs +26 -0
- data/sig/openai/models/beta/beta_response_error.rbs +21 -0
- data/sig/openai/models/beta/beta_response_error_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_failed_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_file_search_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_file_search_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_file_search_call_searching_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_file_search_tool_call.rbs +50 -0
- data/sig/openai/models/beta/beta_response_format_text_config.rbs +6 -0
- data/sig/openai/models/beta/beta_response_format_text_json_schema_config.rbs +31 -0
- data/sig/openai/models/beta/beta_response_function_call_arguments_delta_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_function_call_arguments_done_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_function_shell_call_output_content.rbs +18 -0
- data/sig/openai/models/beta/beta_response_function_shell_tool_call.rbs +45 -0
- data/sig/openai/models/beta/beta_response_function_shell_tool_call_output.rbs +65 -0
- data/sig/openai/models/beta/beta_response_function_tool_call.rbs +43 -0
- data/sig/openai/models/beta/beta_response_function_tool_call_item.rbs +31 -0
- data/sig/openai/models/beta/beta_response_function_tool_call_output_item.rbs +50 -0
- data/sig/openai/models/beta/beta_response_function_web_search.rbs +56 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_generating_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_partial_image_event.rbs +42 -0
- data/sig/openai/models/beta/beta_response_in_progress_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_incomplete_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_inject_created_event.rbs +16 -0
- data/sig/openai/models/beta/beta_response_inject_event.rbs +9 -0
- data/sig/openai/models/beta/beta_response_inject_failed_event.rbs +28 -0
- data/sig/openai/models/beta/beta_response_input_audio.rbs +9 -0
- data/sig/openai/models/beta/beta_response_input_file.rbs +47 -0
- data/sig/openai/models/beta/beta_response_input_file_content.rbs +41 -0
- data/sig/openai/models/beta/beta_response_input_image.rbs +29 -0
- data/sig/openai/models/beta/beta_response_input_image_content.rbs +26 -0
- data/sig/openai/models/beta/beta_response_input_item.rbs +737 -0
- data/sig/openai/models/beta/beta_response_input_message_item.rbs +27 -0
- data/sig/openai/models/beta/beta_response_input_text.rbs +19 -0
- data/sig/openai/models/beta/beta_response_input_text_content.rbs +16 -0
- data/sig/openai/models/beta/beta_response_item.rbs +387 -0
- data/sig/openai/models/beta/beta_response_local_environment.rbs +3 -0
- data/sig/openai/models/beta/beta_response_mcp_call_arguments_delta_event.rbs +23 -0
- data/sig/openai/models/beta/beta_response_mcp_call_arguments_done_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_mcp_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_call_failed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_list_tools_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_list_tools_failed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_list_tools_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_output_audio.rbs +9 -0
- data/sig/openai/models/beta/beta_response_output_item.rbs +387 -0
- data/sig/openai/models/beta/beta_response_output_item_added_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_output_item_done_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_output_message.rbs +32 -0
- data/sig/openai/models/beta/beta_response_output_refusal.rbs +6 -0
- data/sig/openai/models/beta/beta_response_output_text.rbs +63 -0
- data/sig/openai/models/beta/beta_response_output_text_annotation_added_event.rbs +81 -0
- data/sig/openai/models/beta/beta_response_prompt.rbs +13 -0
- data/sig/openai/models/beta/beta_response_queued_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_reasoning_item.rbs +55 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_part_added_event.rbs +30 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_part_done_event.rbs +37 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_text_delta_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_reasoning_text_delta_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_reasoning_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_refusal_delta_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_refusal_done_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_shell_call_command_added_event.rbs +22 -0
- data/sig/openai/models/beta/beta_response_shell_call_command_delta_event.rbs +26 -0
- data/sig/openai/models/beta/beta_response_shell_call_command_done_event.rbs +22 -0
- data/sig/openai/models/beta/beta_response_shell_call_output_content_delta_event.rbs +33 -0
- data/sig/openai/models/beta/beta_response_shell_call_output_content_done_event.rbs +49 -0
- data/sig/openai/models/beta/beta_response_steer_accepted_event.rbs +22 -0
- data/sig/openai/models/beta/beta_response_steer_event.rbs +25 -0
- data/sig/openai/models/beta/beta_response_steer_failed_event.rbs +78 -0
- data/sig/openai/models/beta/beta_response_steer_input.rbs +64 -0
- data/sig/openai/models/beta/beta_response_steer_pending_event.rbs +42 -0
- data/sig/openai/models/beta/beta_response_text_config.rbs +49 -0
- data/sig/openai/models/beta/beta_response_text_delta_event.rbs +45 -0
- data/sig/openai/models/beta/beta_response_text_done_event.rbs +45 -0
- data/sig/openai/models/beta/beta_response_tool_search_call.rbs +29 -0
- data/sig/openai/models/beta/beta_response_tool_search_output_item.rbs +29 -0
- data/sig/openai/models/beta/beta_response_tool_search_output_item_param.rbs +25 -0
- data/sig/openai/models/beta/beta_response_usage.rbs +26 -0
- data/sig/openai/models/beta/beta_response_web_search_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_web_search_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_web_search_call_searching_event.rbs +18 -0
- data/sig/openai/models/beta/beta_responses_client_event.rbs +658 -2
- data/sig/openai/models/beta/beta_responses_server_event.rbs +1132 -0
- data/sig/openai/models/beta/beta_skill_reference.rbs +10 -0
- data/sig/openai/models/beta/beta_tool.rbs +347 -0
- data/sig/openai/models/beta/beta_tool_choice_allowed.rbs +39 -0
- data/sig/openai/models/beta/beta_tool_choice_apply_patch.rbs +3 -0
- data/sig/openai/models/beta/beta_tool_choice_custom.rbs +6 -0
- data/sig/openai/models/beta/beta_tool_choice_function.rbs +6 -0
- data/sig/openai/models/beta/beta_tool_choice_mcp.rbs +9 -0
- data/sig/openai/models/beta/beta_tool_choice_shell.rbs +3 -0
- data/sig/openai/models/beta/beta_tool_choice_types.rbs +25 -0
- data/sig/openai/models/beta/beta_tool_search_tool.rbs +13 -0
- data/sig/openai/models/beta/beta_web_search_preview_tool.rbs +34 -0
- data/sig/openai/models/beta/beta_web_search_tool.rbs +55 -0
- data/sig/openai/models/beta/chatkit/chat_session.rbs +30 -0
- data/sig/openai/models/beta/chatkit/chat_session_automatic_thread_titling.rbs +3 -0
- data/sig/openai/models/beta/chatkit/chat_session_chatkit_configuration.rbs +9 -0
- data/sig/openai/models/beta/chatkit/chat_session_chatkit_configuration_param.rbs +51 -0
- data/sig/openai/models/beta/chatkit/chat_session_expires_after_param.rbs +6 -0
- data/sig/openai/models/beta/chatkit/chat_session_file_upload.rbs +9 -0
- data/sig/openai/models/beta/chatkit/chat_session_history.rbs +8 -0
- data/sig/openai/models/beta/chatkit/chat_session_rate_limits.rbs +3 -0
- data/sig/openai/models/beta/chatkit/chat_session_rate_limits_param.rbs +4 -0
- data/sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs +25 -0
- data/sig/openai/models/beta/chatkit/chatkit_attachment.rbs +15 -0
- data/sig/openai/models/beta/chatkit/chatkit_response_output_text.rbs +33 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread.rbs +35 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rbs +18 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs +98 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread_user_message_item.rbs +44 -0
- data/sig/openai/models/beta/chatkit/chatkit_widget_item.rbs +18 -0
- data/sig/openai/models/beta/chatkit/session_create_params.rbs +23 -0
- data/sig/openai/models/beta/chatkit/thread_delete_response.rbs +9 -0
- data/sig/openai/models/beta/chatkit/thread_list_items_params.rbs +22 -0
- data/sig/openai/models/beta/chatkit/thread_list_params.rbs +29 -0
- data/sig/openai/models/beta/chatkit_workflow.rbs +19 -0
- data/sig/openai/models/beta/code_interpreter_tool.rbs +3 -0
- data/sig/openai/models/beta/environment.rbs +59 -0
- data/sig/openai/models/beta/environment_param.rbs +70 -1
- data/sig/openai/models/beta/file_search_tool.rbs +63 -0
- data/sig/openai/models/beta/function_tool.rbs +3 -0
- data/sig/openai/models/beta/hosted_environment_file.rbs +12 -0
- data/sig/openai/models/beta/hosted_environment_file_id.rbs +15 -0
- data/sig/openai/models/beta/hosted_environment_file_param.rbs +18 -0
- data/sig/openai/models/beta/hosted_plugin.rbs +9 -0
- data/sig/openai/models/beta/hosted_plugin_param.rbs +12 -0
- data/sig/openai/models/beta/hosted_skill.rbs +9 -0
- data/sig/openai/models/beta/hosted_skill_param.rbs +21 -0
- data/sig/openai/models/beta/hosted_skill_reference.rbs +15 -0
- data/sig/openai/models/beta/inline_capability_source_param.rbs +9 -0
- data/sig/openai/models/beta/input_content.rbs +14 -0
- data/sig/openai/models/beta/input_content_param.rbs +12 -0
- data/sig/openai/models/beta/mcp_transport.rbs +21 -0
- data/sig/openai/models/beta/mcp_transport_param.rbs +30 -0
- data/sig/openai/models/beta/message_stream_event.rbs +25 -0
- data/sig/openai/models/beta/multi_agent_config.rbs +8 -0
- data/sig/openai/models/beta/multi_agent_config_param.rbs +7 -0
- data/sig/openai/models/beta/output_text.rbs +6 -0
- data/sig/openai/models/beta/persisted_agent_tool.rbs +75 -0
- data/sig/openai/models/beta/persisted_agent_tool_param.rbs +86 -0
- data/sig/openai/models/beta/persisted_mcp_transport.rbs +24 -0
- data/sig/openai/models/beta/persisted_mcp_transport_param.rbs +24 -0
- data/sig/openai/models/beta/response_compact_params.rbs +121 -2
- data/sig/openai/models/beta/response_create_params.rbs +626 -2
- data/sig/openai/models/beta/response_retrieve_params.rbs +30 -0
- data/sig/openai/models/beta/responses/beta_response_item_list.rbs +15 -0
- data/sig/openai/models/beta/responses/input_item_list_params.rbs +31 -0
- data/sig/openai/models/beta/responses/input_token_count_params.rbs +206 -0
- data/sig/openai/models/beta/run_step_stream_event.rbs +23 -0
- data/sig/openai/models/beta/run_stream_event.rbs +50 -0
- data/sig/openai/models/beta/session_error.rbs +12 -0
- data/sig/openai/models/beta/session_turn_error.rbs +6 -0
- data/sig/openai/models/beta/setup_command_param.rbs +6 -0
- data/sig/openai/models/beta/subagent.rbs +33 -0
- data/sig/openai/models/beta/summary_text.rbs +6 -0
- data/sig/openai/models/beta/text_format.rbs +9 -0
- data/sig/openai/models/beta/text_format_param.rbs +9 -0
- data/sig/openai/models/beta/thread.rbs +54 -0
- data/sig/openai/models/beta/thread_create_and_run_params.rbs +367 -0
- data/sig/openai/models/beta/thread_create_params.rbs +162 -0
- data/sig/openai/models/beta/thread_stream_event.rbs +9 -0
- data/sig/openai/models/beta/thread_update_params.rbs +45 -0
- data/sig/openai/models/beta/threads/file_citation_annotation.rbs +9 -0
- data/sig/openai/models/beta/threads/file_citation_delta_annotation.rbs +18 -0
- data/sig/openai/models/beta/threads/file_path_annotation.rbs +9 -0
- data/sig/openai/models/beta/threads/file_path_delta_annotation.rbs +14 -0
- data/sig/openai/models/beta/threads/image_file.rbs +14 -0
- data/sig/openai/models/beta/threads/image_file_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/image_file_delta.rbs +17 -0
- data/sig/openai/models/beta/threads/image_file_delta_block.rbs +6 -0
- data/sig/openai/models/beta/threads/image_url.rbs +12 -0
- data/sig/openai/models/beta/threads/image_url_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/image_url_delta.rbs +14 -0
- data/sig/openai/models/beta/threads/image_url_delta_block.rbs +6 -0
- data/sig/openai/models/beta/threads/message.rbs +78 -0
- data/sig/openai/models/beta/threads/message_create_params.rbs +43 -0
- data/sig/openai/models/beta/threads/message_delta.rbs +8 -0
- data/sig/openai/models/beta/threads/message_delta_event.rbs +9 -0
- data/sig/openai/models/beta/threads/message_list_params.rbs +44 -0
- data/sig/openai/models/beta/threads/message_update_params.rbs +13 -0
- data/sig/openai/models/beta/threads/refusal_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/refusal_delta_block.rbs +6 -0
- data/sig/openai/models/beta/threads/required_action_function_tool_call.rbs +23 -0
- data/sig/openai/models/beta/threads/run.rbs +226 -0
- data/sig/openai/models/beta/threads/run_create_params.rbs +256 -0
- data/sig/openai/models/beta/threads/run_list_params.rbs +40 -0
- data/sig/openai/models/beta/threads/run_submit_tool_outputs_params.rbs +14 -0
- data/sig/openai/models/beta/threads/run_update_params.rbs +13 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_logs.rbs +10 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_output_image.rbs +13 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_tool_call.rbs +35 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rbs +30 -0
- data/sig/openai/models/beta/threads/runs/file_search_tool_call.rbs +55 -0
- data/sig/openai/models/beta/threads/runs/file_search_tool_call_delta.rbs +15 -0
- data/sig/openai/models/beta/threads/runs/function_tool_call.rbs +22 -0
- data/sig/openai/models/beta/threads/runs/function_tool_call_delta.rbs +29 -0
- data/sig/openai/models/beta/threads/runs/message_creation_step_details.rbs +6 -0
- data/sig/openai/models/beta/threads/runs/run_step.rbs +91 -0
- data/sig/openai/models/beta/threads/runs/run_step_delta.rbs +4 -0
- data/sig/openai/models/beta/threads/runs/run_step_delta_event.rbs +9 -0
- data/sig/openai/models/beta/threads/runs/run_step_delta_message_delta.rbs +7 -0
- data/sig/openai/models/beta/threads/runs/step_list_params.rbs +62 -0
- data/sig/openai/models/beta/threads/runs/step_retrieve_params.rbs +22 -0
- data/sig/openai/models/beta/threads/runs/tool_call_delta_object.rbs +13 -0
- data/sig/openai/models/beta/threads/runs/tool_calls_step_details.rbs +10 -0
- data/sig/openai/models/beta/threads/text.rbs +3 -0
- data/sig/openai/models/beta/threads/text_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/text_content_block_param.rbs +6 -0
- data/sig/openai/models/beta/threads/text_delta.rbs +4 -0
- data/sig/openai/models/beta/threads/text_delta_block.rbs +6 -0
- data/sig/openai/models/beta/token_usage.rbs +21 -0
- data/sig/openai/models/beta/web_search_action.rbs +27 -0
- data/sig/openai/models/chat/chat_completion.rbs +213 -0
- data/sig/openai/models/chat/chat_completion_allowed_tool_choice.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_allowed_tools.rbs +34 -0
- data/sig/openai/models/chat/chat_completion_assistant_message_param.rbs +47 -0
- data/sig/openai/models/chat/chat_completion_audio.rbs +16 -0
- data/sig/openai/models/chat/chat_completion_audio_param.rbs +17 -0
- data/sig/openai/models/chat/chat_completion_chunk.rbs +279 -0
- data/sig/openai/models/chat/chat_completion_content_part.rbs +31 -0
- data/sig/openai/models/chat/chat_completion_content_part_image.rbs +26 -0
- data/sig/openai/models/chat/chat_completion_content_part_input_audio.rbs +22 -0
- data/sig/openai/models/chat/chat_completion_content_part_refusal.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_content_part_text.rbs +19 -0
- data/sig/openai/models/chat/chat_completion_custom_tool.rbs +32 -0
- data/sig/openai/models/chat/chat_completion_deleted.rbs +9 -0
- data/sig/openai/models/chat/chat_completion_developer_message_param.rbs +13 -0
- data/sig/openai/models/chat/chat_completion_function_call_option.rbs +3 -0
- data/sig/openai/models/chat/chat_completion_function_message_param.rbs +9 -0
- data/sig/openai/models/chat/chat_completion_function_tool.rbs +3 -0
- data/sig/openai/models/chat/chat_completion_message.rbs +64 -0
- data/sig/openai/models/chat/chat_completion_message_custom_tool_call.rbs +15 -0
- data/sig/openai/models/chat/chat_completion_message_function_tool_call.rbs +21 -0
- data/sig/openai/models/chat/chat_completion_named_tool_choice.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_named_tool_choice_custom.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_prediction_content.rbs +12 -0
- data/sig/openai/models/chat/chat_completion_store_message.rbs +29 -0
- data/sig/openai/models/chat/chat_completion_stream_options.rbs +41 -0
- data/sig/openai/models/chat/chat_completion_system_message_param.rbs +13 -0
- data/sig/openai/models/chat/chat_completion_token_logprob.rbs +43 -0
- data/sig/openai/models/chat/chat_completion_tool_message_param.rbs +9 -0
- data/sig/openai/models/chat/chat_completion_user_message_param.rbs +13 -0
- data/sig/openai/models/chat/completion_create_params.rbs +637 -0
- data/sig/openai/models/chat/completion_list_params.rbs +26 -0
- data/sig/openai/models/chat/completion_update_params.rbs +13 -0
- data/sig/openai/models/chat/completions/message_list_params.rbs +15 -0
- data/sig/openai/models/chat_model.rbs +2 -2
- data/sig/openai/models/comparison_filter.rbs +31 -0
- data/sig/openai/models/completion.rbs +32 -0
- data/sig/openai/models/completion_choice.rbs +9 -0
- data/sig/openai/models/completion_create_params.rbs +198 -0
- data/sig/openai/models/completion_usage.rbs +69 -0
- data/sig/openai/models/compound_filter.rbs +8 -0
- data/sig/openai/models/container_create_params.rbs +28 -0
- data/sig/openai/models/container_create_response.rbs +52 -0
- data/sig/openai/models/container_list_params.rbs +31 -0
- data/sig/openai/models/container_list_response.rbs +52 -0
- data/sig/openai/models/container_retrieve_response.rbs +52 -0
- data/sig/openai/models/containers/file_create_params.rbs +20 -0
- data/sig/openai/models/containers/file_create_response.rbs +21 -0
- data/sig/openai/models/containers/file_list_params.rbs +27 -0
- data/sig/openai/models/containers/file_list_response.rbs +21 -0
- data/sig/openai/models/containers/file_retrieve_response.rbs +21 -0
- data/sig/openai/models/content_provenance_check.rbs +69 -0
- data/sig/openai/models/content_provenance_check_create_params.rbs +11 -0
- data/sig/openai/models/conversations/computer_screenshot_content.rbs +29 -0
- data/sig/openai/models/conversations/conversation.rbs +22 -0
- data/sig/openai/models/conversations/conversation_create_params.rbs +18 -0
- data/sig/openai/models/conversations/conversation_item.rbs +211 -0
- data/sig/openai/models/conversations/conversation_item_list.rbs +15 -0
- data/sig/openai/models/conversations/conversation_update_params.rbs +11 -0
- data/sig/openai/models/conversations/item_create_params.rbs +13 -0
- data/sig/openai/models/conversations/item_list_params.rbs +79 -0
- data/sig/openai/models/conversations/item_retrieve_params.rbs +10 -0
- data/sig/openai/models/conversations/message.rbs +34 -0
- data/sig/openai/models/conversations/summary_text_content.rbs +6 -0
- data/sig/openai/models/create_embedding_response.rbs +18 -0
- data/sig/openai/models/custom_tool_input_format.rbs +12 -0
- data/sig/openai/models/embedding.rbs +13 -0
- data/sig/openai/models/embedding_create_params.rbs +54 -0
- data/sig/openai/models/error_object.rbs +15 -0
- data/sig/openai/models/eval_create_params.rbs +161 -0
- data/sig/openai/models/eval_create_response.rbs +96 -0
- data/sig/openai/models/eval_custom_data_source_config.rbs +8 -0
- data/sig/openai/models/eval_list_params.rbs +22 -0
- data/sig/openai/models/eval_list_response.rbs +96 -0
- data/sig/openai/models/eval_retrieve_response.rbs +96 -0
- data/sig/openai/models/eval_stored_completions_data_source_config.rbs +21 -0
- data/sig/openai/models/eval_update_params.rbs +17 -0
- data/sig/openai/models/eval_update_response.rbs +96 -0
- data/sig/openai/models/evals/create_eval_completions_run_data_source.rbs +180 -0
- data/sig/openai/models/evals/create_eval_jsonl_run_data_source.rbs +18 -0
- data/sig/openai/models/evals/eval_api_error.rbs +6 -0
- data/sig/openai/models/evals/run_cancel_response.rbs +363 -0
- data/sig/openai/models/evals/run_create_params.rbs +292 -0
- data/sig/openai/models/evals/run_create_response.rbs +363 -0
- data/sig/openai/models/evals/run_list_params.rbs +22 -0
- data/sig/openai/models/evals/run_list_response.rbs +363 -0
- data/sig/openai/models/evals/run_retrieve_response.rbs +363 -0
- data/sig/openai/models/evals/runs/output_item_list_params.rbs +22 -0
- data/sig/openai/models/evals/runs/output_item_list_response.rbs +102 -0
- data/sig/openai/models/evals/runs/output_item_retrieve_response.rbs +102 -0
- data/sig/openai/models/file_create_params.rbs +45 -0
- data/sig/openai/models/file_list_params.rbs +31 -0
- data/sig/openai/models/file_object.rbs +38 -0
- data/sig/openai/models/fine_tuning/alpha/grader_run_params.rbs +27 -0
- data/sig/openai/models/fine_tuning/alpha/grader_validate_params.rbs +3 -0
- data/sig/openai/models/fine_tuning/alpha/grader_validate_response.rbs +4 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_create_params.rbs +3 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_create_response.rbs +12 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_delete_response.rbs +9 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_list_params.rbs +16 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_list_response.rbs +12 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rbs +16 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rbs +12 -0
- data/sig/openai/models/fine_tuning/dpo_hyperparameters.rbs +28 -0
- data/sig/openai/models/fine_tuning/dpo_method.rbs +4 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job.rbs +137 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job_event.rbs +23 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job_wandb_integration.rbs +25 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job_wandb_integration_object.rbs +12 -0
- data/sig/openai/models/fine_tuning/job_create_params.rbs +191 -0
- data/sig/openai/models/fine_tuning/job_list_events_params.rbs +8 -0
- data/sig/openai/models/fine_tuning/job_list_params.rbs +13 -0
- data/sig/openai/models/fine_tuning/jobs/checkpoint_list_params.rbs +8 -0
- data/sig/openai/models/fine_tuning/jobs/fine_tuning_job_checkpoint.rbs +21 -0
- data/sig/openai/models/fine_tuning/reinforcement_hyperparameters.rbs +37 -0
- data/sig/openai/models/fine_tuning/reinforcement_method.rbs +7 -0
- data/sig/openai/models/fine_tuning/supervised_hyperparameters.rbs +21 -0
- data/sig/openai/models/fine_tuning/supervised_method.rbs +4 -0
- data/sig/openai/models/function_definition.rbs +45 -0
- data/sig/openai/models/graders/grader_input_item.rbs +19 -0
- data/sig/openai/models/graders/label_model_grader.rbs +48 -0
- data/sig/openai/models/graders/multi_grader.rbs +14 -0
- data/sig/openai/models/graders/python_grader.rbs +13 -0
- data/sig/openai/models/graders/score_model_grader.rbs +80 -0
- data/sig/openai/models/graders/string_check_grader.rbs +15 -0
- data/sig/openai/models/graders/text_similarity_grader.rbs +17 -0
- data/sig/openai/models/image.rbs +24 -0
- data/sig/openai/models/image_create_variation_params.rbs +43 -0
- data/sig/openai/models/image_edit_completed_event.rbs +44 -0
- data/sig/openai/models/image_edit_params.rbs +183 -0
- data/sig/openai/models/image_edit_partial_image_event.rbs +24 -0
- data/sig/openai/models/image_gen_completed_event.rbs +44 -0
- data/sig/openai/models/image_gen_partial_image_event.rbs +24 -0
- data/sig/openai/models/image_generate_params.rbs +148 -0
- data/sig/openai/models/image_input_reference_param.rbs +4 -0
- data/sig/openai/models/images_response.rbs +61 -0
- data/sig/openai/models/live/audio_format.rbs +18 -0
- data/sig/openai/models/live/client_config.rbs +3 -0
- data/sig/openai/models/live/client_delegation.rbs +3 -0
- data/sig/openai/models/live/commentary_append_event.rbs +22 -0
- data/sig/openai/models/live/commentary_appended_event.rbs +23 -0
- data/sig/openai/models/live/data_channel_config.rbs +23 -0
- data/sig/openai/models/live/delegation_created_event.rbs +43 -0
- data/sig/openai/models/live/error.rbs +19 -0
- data/sig/openai/models/live/error_event.rbs +16 -0
- data/sig/openai/models/live/fork_server_event.rbs +26 -0
- data/sig/openai/models/live/fork_session_config.rbs +48 -0
- data/sig/openai/models/live/fork_session_start_event.rbs +17 -0
- data/sig/openai/models/live/function_tool.rbs +17 -0
- data/sig/openai/models/live/info_event.rbs +19 -0
- data/sig/openai/models/live/initial_item.rbs +93 -0
- data/sig/openai/models/live/input_audio_append_event.rbs +19 -0
- data/sig/openai/models/live/input_audio_mute_event.rbs +8 -0
- data/sig/openai/models/live/input_audio_muted_event.rbs +13 -0
- data/sig/openai/models/live/input_audio_unmute_event.rbs +8 -0
- data/sig/openai/models/live/input_audio_unmuted_event.rbs +13 -0
- data/sig/openai/models/live/input_transcript_delta_event.rbs +28 -0
- data/sig/openai/models/live/instructions_append_event.rbs +20 -0
- data/sig/openai/models/live/instructions_appended_event.rbs +23 -0
- data/sig/openai/models/live/live_create_params.rbs +12 -0
- data/sig/openai/models/live/live_create_response.rbs +19 -0
- data/sig/openai/models/live/media_session_config.rbs +78 -0
- data/sig/openai/models/live/media_session_fork_config.rbs +31 -0
- data/sig/openai/models/live/output_audio_delta_event.rbs +25 -0
- data/sig/openai/models/live/output_transcript_delta_event.rbs +28 -0
- data/sig/openai/models/live/response_create_event.rbs +8 -0
- data/sig/openai/models/live/response_event.rbs +25 -0
- data/sig/openai/models/live/response_item_create_event.rbs +13 -0
- data/sig/openai/models/live/responses_delegation_config.rbs +59 -0
- data/sig/openai/models/live/responses_delegation_update_config.rbs +63 -0
- data/sig/openai/models/live/server_event.rbs +26 -0
- data/sig/openai/models/live/server_event_selector.rbs +10 -0
- data/sig/openai/models/live/session_accept_params.rbs +80 -0
- data/sig/openai/models/live/session_close_event.rbs +8 -0
- data/sig/openai/models/live/session_closed_event.rbs +28 -0
- data/sig/openai/models/live/session_config.rbs +85 -0
- data/sig/openai/models/live/session_download_recording_params.rbs +5 -0
- data/sig/openai/models/live/session_fork_params.rbs +16 -0
- data/sig/openai/models/live/session_fork_response.rbs +19 -0
- data/sig/openai/models/live/session_refer_params.rbs +5 -0
- data/sig/openai/models/live/session_reject_params.rbs +3 -0
- data/sig/openai/models/live/session_resource.rbs +100 -0
- data/sig/openai/models/live/session_start_event.rbs +15 -0
- data/sig/openai/models/live/session_started_event.rbs +16 -0
- data/sig/openai/models/live/session_update_config.rbs +15 -0
- data/sig/openai/models/live/session_update_event.rbs +15 -0
- data/sig/openai/models/live/session_updated_event.rbs +16 -0
- data/sig/openai/models/live/session_usage.rbs +5 -0
- data/sig/openai/models/live/session_usage_updated_event.rbs +28 -0
- data/sig/openai/models/live/thinking_append_event.rbs +22 -0
- data/sig/openai/models/live/thinking_appended_event.rbs +23 -0
- data/sig/openai/models/model.rbs +15 -0
- data/sig/openai/models/moderation.rbs +163 -0
- data/sig/openai/models/moderation_create_params.rbs +18 -0
- data/sig/openai/models/moderation_create_response.rbs +9 -0
- data/sig/openai/models/moderation_image_url_input.rbs +9 -0
- data/sig/openai/models/moderation_text_input.rbs +6 -0
- data/sig/openai/models/other_file_chunking_strategy_object.rbs +3 -0
- data/sig/openai/models/realtime/audio_transcription.rbs +72 -0
- data/sig/openai/models/realtime/call_accept_params.rbs +72 -0
- data/sig/openai/models/realtime/call_create_params.rbs +7 -0
- data/sig/openai/models/realtime/call_refer_params.rbs +5 -0
- data/sig/openai/models/realtime/call_reject_params.rbs +7 -0
- data/sig/openai/models/realtime/client_secret_create_params.rbs +40 -0
- data/sig/openai/models/realtime/client_secret_create_response.rbs +9 -0
- data/sig/openai/models/realtime/conversation_created_event.rbs +17 -0
- data/sig/openai/models/realtime/conversation_item_added.rbs +14 -0
- data/sig/openai/models/realtime/conversation_item_create_event.rbs +38 -0
- data/sig/openai/models/realtime/conversation_item_created_event.rbs +16 -0
- data/sig/openai/models/realtime/conversation_item_delete_event.rbs +10 -0
- data/sig/openai/models/realtime/conversation_item_deleted_event.rbs +9 -0
- data/sig/openai/models/realtime/conversation_item_done.rbs +14 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_completed_event.rbs +60 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_delta_event.rbs +30 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rbs +31 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_segment.rbs +27 -0
- data/sig/openai/models/realtime/conversation_item_retrieve_event.rbs +10 -0
- data/sig/openai/models/realtime/conversation_item_truncate_event.rbs +22 -0
- data/sig/openai/models/realtime/conversation_item_truncated_event.rbs +15 -0
- data/sig/openai/models/realtime/conversation_item_with_reference.rbs +111 -0
- data/sig/openai/models/realtime/input_audio_buffer_append_event.rbs +12 -0
- data/sig/openai/models/realtime/input_audio_buffer_clear_event.rbs +7 -0
- data/sig/openai/models/realtime/input_audio_buffer_cleared_event.rbs +6 -0
- data/sig/openai/models/realtime/input_audio_buffer_commit_event.rbs +7 -0
- data/sig/openai/models/realtime/input_audio_buffer_committed_event.rbs +14 -0
- data/sig/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rbs +9 -0
- data/sig/openai/models/realtime/input_audio_buffer_speech_started_event.rbs +18 -0
- data/sig/openai/models/realtime/input_audio_buffer_speech_stopped_event.rbs +16 -0
- data/sig/openai/models/realtime/input_audio_buffer_timeout_triggered.rbs +19 -0
- data/sig/openai/models/realtime/log_prob_properties.rbs +9 -0
- data/sig/openai/models/realtime/mcp_list_tools_completed.rbs +9 -0
- data/sig/openai/models/realtime/mcp_list_tools_failed.rbs +9 -0
- data/sig/openai/models/realtime/mcp_list_tools_in_progress.rbs +9 -0
- data/sig/openai/models/realtime/output_audio_buffer_clear_event.rbs +7 -0
- data/sig/openai/models/realtime/rate_limits_updated_event.rbs +25 -0
- data/sig/openai/models/realtime/realtime_audio_config_input.rbs +88 -0
- data/sig/openai/models/realtime/realtime_audio_config_output.rbs +48 -0
- data/sig/openai/models/realtime/realtime_audio_formats.rbs +16 -0
- data/sig/openai/models/realtime/realtime_audio_input_turn_detection.rbs +129 -0
- data/sig/openai/models/realtime/realtime_conversation_item_assistant_message.rbs +55 -0
- data/sig/openai/models/realtime/realtime_conversation_item_function_call.rbs +35 -0
- data/sig/openai/models/realtime/realtime_conversation_item_function_call_output.rbs +29 -0
- data/sig/openai/models/realtime/realtime_conversation_item_system_message.rbs +35 -0
- data/sig/openai/models/realtime/realtime_conversation_item_user_message.rbs +69 -0
- data/sig/openai/models/realtime/realtime_error.rbs +15 -0
- data/sig/openai/models/realtime/realtime_error_event.rbs +9 -0
- data/sig/openai/models/realtime/realtime_function_tool.rbs +19 -0
- data/sig/openai/models/realtime/realtime_mcp_approval_request.rbs +15 -0
- data/sig/openai/models/realtime/realtime_mcp_approval_response.rbs +15 -0
- data/sig/openai/models/realtime/realtime_mcp_list_tools.rbs +25 -0
- data/sig/openai/models/realtime/realtime_mcp_tool_call.rbs +24 -0
- data/sig/openai/models/realtime/realtime_reasoning.rbs +7 -0
- data/sig/openai/models/realtime/realtime_response.rbs +109 -0
- data/sig/openai/models/realtime/realtime_response_create_audio_output.rbs +26 -0
- data/sig/openai/models/realtime/realtime_response_create_mcp_tool.rbs +169 -0
- data/sig/openai/models/realtime/realtime_response_create_params.rbs +127 -0
- data/sig/openai/models/realtime/realtime_response_status.rbs +38 -0
- data/sig/openai/models/realtime/realtime_response_usage.rbs +38 -0
- data/sig/openai/models/realtime/realtime_response_usage_input_token_details.rbs +32 -0
- data/sig/openai/models/realtime/realtime_response_usage_output_token_details.rbs +8 -0
- data/sig/openai/models/realtime/realtime_server_event.rbs +36 -0
- data/sig/openai/models/realtime/realtime_session.rbs +373 -0
- data/sig/openai/models/realtime/realtime_session_create_request.rbs +178 -0
- data/sig/openai/models/realtime/realtime_session_create_response.rbs +602 -0
- data/sig/openai/models/realtime/realtime_tools_config_union.rbs +169 -0
- data/sig/openai/models/realtime/realtime_tracing_config.rbs +21 -0
- data/sig/openai/models/realtime/realtime_transcription_session_audio_input.rbs +88 -0
- data/sig/openai/models/realtime/realtime_transcription_session_audio_input_turn_detection.rbs +129 -0
- data/sig/openai/models/realtime/realtime_transcription_session_create_request.rbs +22 -0
- data/sig/openai/models/realtime/realtime_transcription_session_create_response.rbs +57 -0
- data/sig/openai/models/realtime/realtime_transcription_session_turn_detection.rbs +31 -0
- data/sig/openai/models/realtime/realtime_translation_client_secret_create_request.rbs +38 -0
- data/sig/openai/models/realtime/realtime_translation_client_secret_create_response.rbs +11 -0
- data/sig/openai/models/realtime/realtime_translation_input_audio_buffer_append_event.rbs +10 -0
- data/sig/openai/models/realtime/realtime_translation_input_transcript_delta_event.rbs +18 -0
- data/sig/openai/models/realtime/realtime_translation_output_audio_delta_event.rbs +28 -0
- data/sig/openai/models/realtime/realtime_translation_output_transcript_delta_event.rbs +18 -0
- data/sig/openai/models/realtime/realtime_translation_session.rbs +41 -0
- data/sig/openai/models/realtime/realtime_translation_session_close_event.rbs +7 -0
- data/sig/openai/models/realtime/realtime_translation_session_closed_event.rbs +6 -0
- data/sig/openai/models/realtime/realtime_translation_session_create_request.rbs +31 -0
- data/sig/openai/models/realtime/realtime_translation_session_created_event.rbs +9 -0
- data/sig/openai/models/realtime/realtime_translation_session_update_event.rbs +12 -0
- data/sig/openai/models/realtime/realtime_translation_session_update_request.rbs +28 -0
- data/sig/openai/models/realtime/realtime_translation_session_updated_event.rbs +9 -0
- data/sig/openai/models/realtime/realtime_truncation_retention_ratio.rbs +35 -0
- data/sig/openai/models/realtime/response_audio_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_audio_done_event.rbs +18 -0
- data/sig/openai/models/realtime/response_audio_transcript_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_audio_transcript_done_event.rbs +21 -0
- data/sig/openai/models/realtime/response_cancel_event.rbs +14 -0
- data/sig/openai/models/realtime/response_content_part_added_event.rbs +37 -0
- data/sig/openai/models/realtime/response_content_part_done_event.rbs +37 -0
- data/sig/openai/models/realtime/response_create_event.rbs +11 -0
- data/sig/openai/models/realtime/response_created_event.rbs +9 -0
- data/sig/openai/models/realtime/response_done_event.rbs +9 -0
- data/sig/openai/models/realtime/response_function_call_arguments_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_function_call_arguments_done_event.rbs +24 -0
- data/sig/openai/models/realtime/response_mcp_call_arguments_delta.rbs +21 -0
- data/sig/openai/models/realtime/response_mcp_call_arguments_done.rbs +18 -0
- data/sig/openai/models/realtime/response_mcp_call_completed.rbs +12 -0
- data/sig/openai/models/realtime/response_mcp_call_failed.rbs +12 -0
- data/sig/openai/models/realtime/response_mcp_call_in_progress.rbs +12 -0
- data/sig/openai/models/realtime/response_output_item_added_event.rbs +15 -0
- data/sig/openai/models/realtime/response_output_item_done_event.rbs +15 -0
- data/sig/openai/models/realtime/response_text_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_text_done_event.rbs +21 -0
- data/sig/openai/models/realtime/session_created_event.rbs +9 -0
- data/sig/openai/models/realtime/session_update_event.rbs +21 -0
- data/sig/openai/models/realtime/session_updated_event.rbs +9 -0
- data/sig/openai/models/realtime/transcription_session_update.rbs +107 -0
- data/sig/openai/models/realtime/transcription_session_updated_event.rbs +86 -0
- data/sig/openai/models/reasoning.rbs +60 -0
- data/sig/openai/models/response_format_json_object.rbs +3 -0
- data/sig/openai/models/response_format_json_schema.rbs +36 -0
- data/sig/openai/models/response_format_text.rbs +3 -0
- data/sig/openai/models/response_format_text_grammar.rbs +6 -0
- data/sig/openai/models/response_format_text_python.rbs +3 -0
- data/sig/openai/models/responses/apply_patch_tool.rbs +6 -0
- data/sig/openai/models/responses/compacted_response.rbs +19 -0
- data/sig/openai/models/responses/computer_action.rbs +126 -0
- data/sig/openai/models/responses/computer_tool.rbs +3 -0
- data/sig/openai/models/responses/computer_use_preview_tool.rbs +12 -0
- data/sig/openai/models/responses/container_auto.rbs +18 -0
- data/sig/openai/models/responses/container_network_policy_allowlist.rbs +10 -0
- data/sig/openai/models/responses/container_network_policy_disabled.rbs +3 -0
- data/sig/openai/models/responses/container_network_policy_domain_secret.rbs +9 -0
- data/sig/openai/models/responses/container_reference.rbs +6 -0
- data/sig/openai/models/responses/custom_tool.rbs +28 -0
- data/sig/openai/models/responses/easy_input_message.rbs +23 -0
- data/sig/openai/models/responses/file_search_tool.rbs +47 -0
- data/sig/openai/models/responses/function_shell_tool.rbs +6 -0
- data/sig/openai/models/responses/function_tool.rbs +29 -0
- data/sig/openai/models/responses/inline_skill.rbs +12 -0
- data/sig/openai/models/responses/inline_skill_source.rbs +9 -0
- data/sig/openai/models/responses/input_item_list_params.rbs +31 -0
- data/sig/openai/models/responses/input_token_count_params.rbs +146 -0
- data/sig/openai/models/responses/local_environment.rbs +7 -0
- data/sig/openai/models/responses/local_skill.rbs +9 -0
- data/sig/openai/models/responses/namespace_tool.rbs +38 -0
- data/sig/openai/models/responses/response.rbs +483 -0
- data/sig/openai/models/responses/response_apply_patch_tool_call.rbs +53 -0
- data/sig/openai/models/responses/response_apply_patch_tool_call_output.rbs +27 -0
- data/sig/openai/models/responses/response_audio_delta_event.rbs +9 -0
- data/sig/openai/models/responses/response_audio_done_event.rbs +6 -0
- data/sig/openai/models/responses/response_audio_transcript_delta_event.rbs +9 -0
- data/sig/openai/models/responses/response_audio_transcript_done_event.rbs +6 -0
- data/sig/openai/models/responses/response_code_interpreter_call_code_delta_event.rbs +17 -0
- data/sig/openai/models/responses/response_code_interpreter_call_code_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_code_interpreter_call_completed_event.rbs +14 -0
- data/sig/openai/models/responses/response_code_interpreter_call_in_progress_event.rbs +14 -0
- data/sig/openai/models/responses/response_code_interpreter_call_interpreting_event.rbs +14 -0
- data/sig/openai/models/responses/response_code_interpreter_tool_call.rbs +34 -0
- data/sig/openai/models/responses/response_compact_params.rbs +121 -2
- data/sig/openai/models/responses/response_compaction_compacting_event.rbs +12 -0
- data/sig/openai/models/responses/response_compaction_item.rbs +13 -0
- data/sig/openai/models/responses/response_compaction_item_param.rbs +9 -0
- data/sig/openai/models/responses/response_completed_event.rbs +9 -0
- data/sig/openai/models/responses/response_computer_tool_call.rbs +163 -0
- data/sig/openai/models/responses/response_computer_tool_call_output_item.rbs +37 -0
- data/sig/openai/models/responses/response_computer_tool_call_output_screenshot.rbs +13 -0
- data/sig/openai/models/responses/response_configuration_update_item.rbs +15 -0
- data/sig/openai/models/responses/response_configuration_update_item_param.rbs +15 -0
- data/sig/openai/models/responses/response_container_reference.rbs +3 -0
- data/sig/openai/models/responses/response_content.rbs +6 -0
- data/sig/openai/models/responses/response_content_part_added_event.rbs +24 -0
- data/sig/openai/models/responses/response_content_part_done_event.rbs +24 -0
- data/sig/openai/models/responses/response_conversation_param.rbs +3 -0
- data/sig/openai/models/responses/response_create_params.rbs +539 -0
- data/sig/openai/models/responses/response_created_event.rbs +9 -0
- data/sig/openai/models/responses/response_custom_tool_call.rbs +30 -0
- data/sig/openai/models/responses/response_custom_tool_call_input_delta_event.rbs +15 -0
- data/sig/openai/models/responses/response_custom_tool_call_input_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_custom_tool_call_item.rbs +29 -0
- data/sig/openai/models/responses/response_custom_tool_call_output.rbs +27 -0
- data/sig/openai/models/responses/response_custom_tool_call_output_item.rbs +24 -0
- data/sig/openai/models/responses/response_error.rbs +21 -0
- data/sig/openai/models/responses/response_error_event.rbs +15 -0
- data/sig/openai/models/responses/response_failed_event.rbs +9 -0
- data/sig/openai/models/responses/response_file_search_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_file_search_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_file_search_call_searching_event.rbs +12 -0
- data/sig/openai/models/responses/response_file_search_tool_call.rbs +44 -0
- data/sig/openai/models/responses/response_format_text_json_schema_config.rbs +31 -0
- data/sig/openai/models/responses/response_function_call_arguments_delta_event.rbs +15 -0
- data/sig/openai/models/responses/response_function_call_arguments_done_event.rbs +12 -0
- data/sig/openai/models/responses/response_function_shell_call_output_content.rbs +18 -0
- data/sig/openai/models/responses/response_function_shell_tool_call.rbs +38 -0
- data/sig/openai/models/responses/response_function_shell_tool_call_output.rbs +58 -0
- data/sig/openai/models/responses/response_function_tool_call.rbs +37 -0
- data/sig/openai/models/responses/response_function_tool_call_item.rbs +29 -0
- data/sig/openai/models/responses/response_function_tool_call_output_item.rbs +44 -0
- data/sig/openai/models/responses/response_function_web_search.rbs +50 -0
- data/sig/openai/models/responses/response_image_gen_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_image_gen_call_generating_event.rbs +12 -0
- data/sig/openai/models/responses/response_image_gen_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_image_gen_call_partial_image_event.rbs +36 -0
- data/sig/openai/models/responses/response_in_progress_event.rbs +9 -0
- data/sig/openai/models/responses/response_incomplete_event.rbs +9 -0
- data/sig/openai/models/responses/response_input_audio.rbs +9 -0
- data/sig/openai/models/responses/response_input_file.rbs +47 -0
- data/sig/openai/models/responses/response_input_file_content.rbs +41 -0
- data/sig/openai/models/responses/response_input_image.rbs +29 -0
- data/sig/openai/models/responses/response_input_image_content.rbs +26 -0
- data/sig/openai/models/responses/response_input_item.rbs +493 -0
- data/sig/openai/models/responses/response_input_message_item.rbs +21 -0
- data/sig/openai/models/responses/response_input_text.rbs +19 -0
- data/sig/openai/models/responses/response_input_text_content.rbs +16 -0
- data/sig/openai/models/responses/response_item.rbs +211 -0
- data/sig/openai/models/responses/response_item_list.rbs +15 -0
- data/sig/openai/models/responses/response_local_environment.rbs +3 -0
- data/sig/openai/models/responses/response_mcp_call_arguments_delta_event.rbs +17 -0
- data/sig/openai/models/responses/response_mcp_call_arguments_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_mcp_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_call_failed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_list_tools_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_list_tools_failed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_list_tools_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_output_audio.rbs +9 -0
- data/sig/openai/models/responses/response_output_item.rbs +211 -0
- data/sig/openai/models/responses/response_output_item_added_event.rbs +18 -0
- data/sig/openai/models/responses/response_output_item_done_event.rbs +12 -0
- data/sig/openai/models/responses/response_output_message.rbs +26 -0
- data/sig/openai/models/responses/response_output_refusal.rbs +6 -0
- data/sig/openai/models/responses/response_output_text.rbs +63 -0
- data/sig/openai/models/responses/response_output_text_annotation_added_event.rbs +75 -0
- data/sig/openai/models/responses/response_prompt.rbs +13 -0
- data/sig/openai/models/responses/response_queued_event.rbs +9 -0
- data/sig/openai/models/responses/response_reasoning_item.rbs +49 -0
- data/sig/openai/models/responses/response_reasoning_summary_part_added_event.rbs +24 -0
- data/sig/openai/models/responses/response_reasoning_summary_part_done_event.rbs +31 -0
- data/sig/openai/models/responses/response_reasoning_summary_text_delta_event.rbs +18 -0
- data/sig/openai/models/responses/response_reasoning_summary_text_done_event.rbs +18 -0
- data/sig/openai/models/responses/response_reasoning_text_delta_event.rbs +18 -0
- data/sig/openai/models/responses/response_reasoning_text_done_event.rbs +18 -0
- data/sig/openai/models/responses/response_refusal_delta_event.rbs +18 -0
- data/sig/openai/models/responses/response_refusal_done_event.rbs +18 -0
- data/sig/openai/models/responses/response_retrieve_params.rbs +30 -0
- data/sig/openai/models/responses/response_shell_call_command_added_event.rbs +15 -0
- data/sig/openai/models/responses/response_shell_call_command_delta_event.rbs +19 -0
- data/sig/openai/models/responses/response_shell_call_command_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_shell_call_output_content_delta_event.rbs +26 -0
- data/sig/openai/models/responses/response_shell_call_output_content_done_event.rbs +42 -0
- data/sig/openai/models/responses/response_steer_accepted_event.rbs +22 -0
- data/sig/openai/models/responses/response_steer_event.rbs +25 -0
- data/sig/openai/models/responses/response_steer_failed_event.rbs +78 -0
- data/sig/openai/models/responses/response_steer_input.rbs +52 -0
- data/sig/openai/models/responses/response_steer_pending_event.rbs +42 -0
- data/sig/openai/models/responses/response_text_config.rbs +49 -0
- data/sig/openai/models/responses/response_text_delta_event.rbs +39 -0
- data/sig/openai/models/responses/response_text_done_event.rbs +39 -0
- data/sig/openai/models/responses/response_tool_search_call.rbs +22 -0
- data/sig/openai/models/responses/response_tool_search_output_item.rbs +22 -0
- data/sig/openai/models/responses/response_tool_search_output_item_param.rbs +19 -0
- data/sig/openai/models/responses/response_usage.rbs +26 -0
- data/sig/openai/models/responses/response_web_search_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_web_search_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_web_search_call_searching_event.rbs +12 -0
- data/sig/openai/models/responses/responses_client_event.rbs +571 -0
- data/sig/openai/models/responses/responses_server_event.rbs +1010 -0
- data/sig/openai/models/responses/skill_reference.rbs +10 -0
- data/sig/openai/models/responses/tool.rbs +347 -0
- data/sig/openai/models/responses/tool_choice_allowed.rbs +39 -0
- data/sig/openai/models/responses/tool_choice_apply_patch.rbs +3 -0
- data/sig/openai/models/responses/tool_choice_custom.rbs +6 -0
- data/sig/openai/models/responses/tool_choice_function.rbs +6 -0
- data/sig/openai/models/responses/tool_choice_mcp.rbs +9 -0
- data/sig/openai/models/responses/tool_choice_shell.rbs +3 -0
- data/sig/openai/models/responses/tool_choice_types.rbs +25 -0
- data/sig/openai/models/responses/tool_search_tool.rbs +13 -0
- data/sig/openai/models/responses/web_search_preview_tool.rbs +34 -0
- data/sig/openai/models/responses/web_search_tool.rbs +55 -0
- data/sig/openai/models/safety/alert_retrieve_params.rbs +3 -0
- data/sig/openai/models/safety/case_retrieve_params.rbs +25 -0
- data/sig/openai/models/safety/safety_alert.rbs +10 -0
- data/sig/openai/models/safety/safety_case.rbs +75 -0
- data/sig/openai/models/skill.rbs +21 -0
- data/sig/openai/models/skill_create_params.rbs +16 -0
- data/sig/openai/models/skill_list.rbs +15 -0
- data/sig/openai/models/skill_list_params.rbs +15 -0
- data/sig/openai/models/skill_update_params.rbs +3 -0
- data/sig/openai/models/skills/deleted_skill_version.rbs +3 -0
- data/sig/openai/models/skills/skill_version.rbs +21 -0
- data/sig/openai/models/skills/skill_version_list.rbs +15 -0
- data/sig/openai/models/skills/version_create_params.rbs +20 -0
- data/sig/openai/models/skills/version_delete_params.rbs +3 -0
- data/sig/openai/models/skills/version_list_params.rbs +12 -0
- data/sig/openai/models/skills/version_retrieve_params.rbs +3 -0
- data/sig/openai/models/skills/versions/content_retrieve_params.rbs +3 -0
- data/sig/openai/models/static_file_chunking_strategy.rbs +12 -0
- data/sig/openai/models/static_file_chunking_strategy_object.rbs +3 -0
- data/sig/openai/models/static_file_chunking_strategy_object_param.rbs +3 -0
- data/sig/openai/models/upload.rbs +31 -0
- data/sig/openai/models/upload_complete_params.rbs +10 -0
- data/sig/openai/models/upload_create_params.rbs +41 -0
- data/sig/openai/models/uploads/part_create_params.rbs +11 -0
- data/sig/openai/models/uploads/upload_part.rbs +12 -0
- data/sig/openai/models/vector_store.rbs +68 -0
- data/sig/openai/models/vector_store_create_params.rbs +53 -0
- data/sig/openai/models/vector_store_list_params.rbs +40 -0
- data/sig/openai/models/vector_store_search_params.rbs +26 -0
- data/sig/openai/models/vector_store_search_response.rbs +29 -0
- data/sig/openai/models/vector_store_update_params.rbs +27 -0
- data/sig/openai/models/vector_stores/file_batch_create_params.rbs +85 -0
- data/sig/openai/models/vector_stores/file_batch_list_files_params.rbs +44 -0
- data/sig/openai/models/vector_stores/file_content_response.rbs +8 -0
- data/sig/openai/models/vector_stores/file_create_params.rbs +29 -0
- data/sig/openai/models/vector_stores/file_list_params.rbs +44 -0
- data/sig/openai/models/vector_stores/file_update_params.rbs +11 -0
- data/sig/openai/models/vector_stores/vector_store_file.rbs +56 -0
- data/sig/openai/models/vector_stores/vector_store_file_batch.rbs +40 -0
- data/sig/openai/models/video.rbs +41 -0
- data/sig/openai/models/video_create_character_params.rbs +14 -0
- data/sig/openai/models/video_create_character_response.rbs +9 -0
- data/sig/openai/models/video_create_error.rbs +21 -0
- data/sig/openai/models/video_create_params.rbs +37 -0
- data/sig/openai/models/video_delete_response.rbs +9 -0
- data/sig/openai/models/video_download_content_params.rbs +4 -0
- data/sig/openai/models/video_edit_params.rbs +17 -0
- data/sig/openai/models/video_extend_params.rbs +22 -0
- data/sig/openai/models/video_get_character_response.rbs +9 -0
- data/sig/openai/models/video_list_params.rbs +15 -0
- data/sig/openai/models/video_remix_params.rbs +3 -0
- data/sig/openai/models/webhooks/batch_cancelled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/batch_completed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/batch_expired_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/batch_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/deleted_webhook_endpoint.rbs +9 -0
- data/sig/openai/models/webhooks/eval_run_canceled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/eval_run_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/eval_run_succeeded_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/fine_tuning_job_cancelled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/fine_tuning_job_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/fine_tuning_job_succeeded_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/live_call_incoming_webhook_event.rbs +72 -3
- data/sig/openai/models/webhooks/live_transport_incoming_webhook_event.rbs +72 -2
- data/sig/openai/models/webhooks/realtime_call_incoming_webhook_event.rbs +72 -3
- data/sig/openai/models/webhooks/response_cancelled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/response_completed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/response_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/response_incomplete_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/safety_alert_created_webhook_event.rbs +15 -0
- data/sig/openai/models/webhooks/safety_deactivation_issued_webhook_event.rbs +67 -0
- data/sig/openai/models/webhooks/safety_org_alert_created_webhook_event.rbs +15 -0
- data/sig/openai/models/webhooks/safety_warning_issued_webhook_event.rbs +67 -0
- data/sig/openai/models/webhooks/unwrap_webhook_event.rbs +2 -0
- data/sig/openai/models/webhooks/webhook_create_params.rbs +9 -0
- data/sig/openai/models/webhooks/webhook_endpoint.rbs +28 -0
- data/sig/openai/models/webhooks/webhook_endpoint_list.rbs +15 -0
- data/sig/openai/models/webhooks/webhook_endpoint_test_result.rbs +17 -0
- data/sig/openai/models/webhooks/webhook_endpoint_with_secret.rbs +33 -0
- data/sig/openai/models/webhooks/webhook_event_type_list.rbs +6 -0
- data/sig/openai/models/webhooks/webhook_list_params.rbs +7 -0
- data/sig/openai/models/webhooks/webhook_rotate_secret_params.rbs +7 -0
- data/sig/openai/models/webhooks/webhook_test_params.rbs +3 -0
- data/sig/openai/models/webhooks/webhook_update_params.rbs +12 -0
- data/sig/openai/resources/admin/organization/external_storage.rbs +40 -0
- data/sig/openai/resources/admin/organization.rbs +2 -0
- data/sig/openai/resources/safety/cases.rbs +14 -0
- data/sig/openai/resources/safety.rbs +2 -0
- data/sig/openai/resources/webhooks.rbs +3 -1
- metadata +55 -1
|
@@ -48,22 +48,41 @@ module OpenAI
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
class Message < OpenAI::Internal::Type::BaseModel
|
|
51
|
+
# A list of one or many input items to the model, containing different content
|
|
52
|
+
# types.
|
|
51
53
|
attr_accessor content: OpenAI::Models::Responses::response_input_message_content_list
|
|
52
54
|
|
|
55
|
+
# The role of the message input. One of `user`, `system`, or `developer`.
|
|
53
56
|
attr_accessor role: OpenAI::Models::Responses::ResponseInputItem::Message::role
|
|
54
57
|
|
|
58
|
+
# The status of item. One of `in_progress`, `completed`, or `incomplete`.
|
|
59
|
+
# Populated when items are returned via API.
|
|
55
60
|
attr_reader status: OpenAI::Models::Responses::ResponseInputItem::Message::status?
|
|
56
61
|
|
|
62
|
+
# The status of item. One of `in_progress`, `completed`, or `incomplete`.
|
|
63
|
+
# Populated when items are returned via API.
|
|
57
64
|
def status=: (
|
|
58
65
|
OpenAI::Models::Responses::ResponseInputItem::Message::status
|
|
59
66
|
) -> OpenAI::Models::Responses::ResponseInputItem::Message::status
|
|
60
67
|
|
|
68
|
+
# The type of the message input. Always set to `message`.
|
|
61
69
|
attr_reader type: OpenAI::Models::Responses::ResponseInputItem::Message::type_?
|
|
62
70
|
|
|
71
|
+
# The type of the message input. Always set to `message`.
|
|
63
72
|
def type=: (
|
|
64
73
|
OpenAI::Models::Responses::ResponseInputItem::Message::type_
|
|
65
74
|
) -> OpenAI::Models::Responses::ResponseInputItem::Message::type_
|
|
66
75
|
|
|
76
|
+
# @param content
|
|
77
|
+
# A list of one or many input items to the model, containing different content
|
|
78
|
+
# types.
|
|
79
|
+
# @param role
|
|
80
|
+
# The role of the message input. One of `user`, `system`, or `developer`.
|
|
81
|
+
# @param status
|
|
82
|
+
# The status of item. One of `in_progress`, `completed`, or `incomplete`.
|
|
83
|
+
# Populated when items are returned via API.
|
|
84
|
+
# @param type
|
|
85
|
+
# The type of the message input. Always set to `message`.
|
|
67
86
|
def initialize: (
|
|
68
87
|
content: OpenAI::Models::Responses::response_input_message_content_list,
|
|
69
88
|
role: OpenAI::Models::Responses::ResponseInputItem::Message::role,
|
|
@@ -124,18 +143,40 @@ module OpenAI
|
|
|
124
143
|
}
|
|
125
144
|
|
|
126
145
|
class ComputerCallOutput < OpenAI::Internal::Type::BaseModel
|
|
146
|
+
# The ID of the computer tool call that produced the output.
|
|
127
147
|
attr_accessor call_id: String
|
|
128
148
|
|
|
149
|
+
# A computer screenshot image used with the computer use tool.
|
|
129
150
|
attr_accessor output: OpenAI::Responses::ResponseComputerToolCallOutputScreenshot
|
|
130
151
|
|
|
152
|
+
# The type of the computer tool call output. Always `computer_call_output`.
|
|
131
153
|
attr_accessor type: :computer_call_output
|
|
132
154
|
|
|
155
|
+
# The ID of the computer tool call output.
|
|
133
156
|
attr_accessor id: String?
|
|
134
157
|
|
|
158
|
+
# The safety checks reported by the API that have been acknowledged by the
|
|
159
|
+
# developer.
|
|
135
160
|
attr_accessor acknowledged_safety_checks: ::Array[OpenAI::Responses::ResponseInputItem::ComputerCallOutput::AcknowledgedSafetyCheck]?
|
|
136
161
|
|
|
162
|
+
# The status of the message input. One of `in_progress`, `completed`, or
|
|
163
|
+
# `incomplete`. Populated when input items are returned via API.
|
|
137
164
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput::status?
|
|
138
165
|
|
|
166
|
+
# @param call_id
|
|
167
|
+
# The ID of the computer tool call that produced the output.
|
|
168
|
+
# @param output
|
|
169
|
+
# A computer screenshot image used with the computer use tool.
|
|
170
|
+
# @param id
|
|
171
|
+
# The ID of the computer tool call output.
|
|
172
|
+
# @param acknowledged_safety_checks
|
|
173
|
+
# The safety checks reported by the API that have been acknowledged by the
|
|
174
|
+
# developer.
|
|
175
|
+
# @param status
|
|
176
|
+
# The status of the message input. One of `in_progress`, `completed`, or
|
|
177
|
+
# `incomplete`. Populated when input items are returned via API.
|
|
178
|
+
# @param type
|
|
179
|
+
# The type of the computer tool call output. Always `computer_call_output`.
|
|
139
180
|
def initialize: (
|
|
140
181
|
call_id: String,
|
|
141
182
|
output: OpenAI::Responses::ResponseComputerToolCallOutputScreenshot,
|
|
@@ -158,12 +199,21 @@ module OpenAI
|
|
|
158
199
|
{ id: String, ?code: String?, ?message: String? }
|
|
159
200
|
|
|
160
201
|
class AcknowledgedSafetyCheck < OpenAI::Internal::Type::BaseModel
|
|
202
|
+
# The ID of the pending safety check.
|
|
161
203
|
attr_accessor id: String
|
|
162
204
|
|
|
205
|
+
# The type of the pending safety check.
|
|
163
206
|
attr_accessor code: String?
|
|
164
207
|
|
|
208
|
+
# Details about the pending safety check.
|
|
165
209
|
attr_accessor message: String?
|
|
166
210
|
|
|
211
|
+
# @param id
|
|
212
|
+
# The ID of the pending safety check.
|
|
213
|
+
# @param code
|
|
214
|
+
# The type of the pending safety check.
|
|
215
|
+
# @param message
|
|
216
|
+
# Details about the pending safety check.
|
|
167
217
|
def initialize: (
|
|
168
218
|
id: String,
|
|
169
219
|
?code: String?,
|
|
@@ -199,22 +249,50 @@ module OpenAI
|
|
|
199
249
|
}
|
|
200
250
|
|
|
201
251
|
class FunctionCallOutput < OpenAI::Internal::Type::BaseModel
|
|
252
|
+
# Text, image, or file output of the function tool call.
|
|
202
253
|
attr_accessor output: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::output
|
|
203
254
|
|
|
255
|
+
# The type of the function tool call output. Always `function_call_output`.
|
|
204
256
|
attr_accessor type: :function_call_output
|
|
205
257
|
|
|
258
|
+
# The unique ID of the function tool call output. Populated when this item is
|
|
259
|
+
# returned via API.
|
|
206
260
|
attr_accessor id: String?
|
|
207
261
|
|
|
262
|
+
# The unique ID of the function tool call generated by the model.
|
|
208
263
|
attr_accessor call_id: String?
|
|
209
264
|
|
|
265
|
+
# The execution context that produced this tool call.
|
|
210
266
|
attr_accessor caller_: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::caller_?
|
|
211
267
|
|
|
268
|
+
# The name of the tool that produced the output.
|
|
212
269
|
attr_accessor name: String?
|
|
213
270
|
|
|
271
|
+
# The namespace of the tool that produced the output.
|
|
214
272
|
attr_accessor namespace: String?
|
|
215
273
|
|
|
274
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
275
|
+
# Populated when items are returned via API.
|
|
216
276
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::status?
|
|
217
277
|
|
|
278
|
+
# @param output
|
|
279
|
+
# Text, image, or file output of the function tool call.
|
|
280
|
+
# @param id
|
|
281
|
+
# The unique ID of the function tool call output. Populated when this item is
|
|
282
|
+
# returned via API.
|
|
283
|
+
# @param call_id
|
|
284
|
+
# The unique ID of the function tool call generated by the model.
|
|
285
|
+
# @param caller_
|
|
286
|
+
# The execution context that produced this tool call.
|
|
287
|
+
# @param name
|
|
288
|
+
# The name of the tool that produced the output.
|
|
289
|
+
# @param namespace
|
|
290
|
+
# The namespace of the tool that produced the output.
|
|
291
|
+
# @param status
|
|
292
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
293
|
+
# Populated when items are returned via API.
|
|
294
|
+
# @param type
|
|
295
|
+
# The type of the function tool call output. Always `function_call_output`.
|
|
218
296
|
def initialize: (
|
|
219
297
|
output: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::output,
|
|
220
298
|
?id: String?,
|
|
@@ -257,8 +335,11 @@ module OpenAI
|
|
|
257
335
|
type direct = { ?type: :direct }
|
|
258
336
|
|
|
259
337
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
338
|
+
# The caller type. Always `direct`.
|
|
260
339
|
attr_accessor type: :direct
|
|
261
340
|
|
|
341
|
+
# @param type
|
|
342
|
+
# The caller type. Always `direct`.
|
|
262
343
|
def initialize: (?type: :direct) -> void
|
|
263
344
|
|
|
264
345
|
def to_hash: -> { ?type: :direct }
|
|
@@ -267,10 +348,16 @@ module OpenAI
|
|
|
267
348
|
type program = { caller_id: String, ?type: :program }
|
|
268
349
|
|
|
269
350
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
351
|
+
# The call ID of the program item that produced this tool call.
|
|
270
352
|
attr_accessor caller_id: String
|
|
271
353
|
|
|
354
|
+
# The caller type. Always `program`.
|
|
272
355
|
attr_accessor type: :program
|
|
273
356
|
|
|
357
|
+
# @param caller_id
|
|
358
|
+
# The call ID of the program item that produced this tool call.
|
|
359
|
+
# @param type
|
|
360
|
+
# The caller type. Always `program`.
|
|
274
361
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
275
362
|
|
|
276
363
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -303,22 +390,41 @@ module OpenAI
|
|
|
303
390
|
}
|
|
304
391
|
|
|
305
392
|
class ToolSearchCall < OpenAI::Internal::Type::BaseModel
|
|
393
|
+
# The arguments supplied to the tool search call.
|
|
306
394
|
attr_accessor arguments: top
|
|
307
395
|
|
|
396
|
+
# The item type. Always `tool_search_call`.
|
|
308
397
|
attr_accessor type: :tool_search_call
|
|
309
398
|
|
|
399
|
+
# The unique ID of this tool search call.
|
|
310
400
|
attr_accessor id: String?
|
|
311
401
|
|
|
402
|
+
# The unique ID of the tool search call generated by the model.
|
|
312
403
|
attr_accessor call_id: String?
|
|
313
404
|
|
|
405
|
+
# Whether tool search was executed by the server or by the client.
|
|
314
406
|
attr_reader execution: OpenAI::Models::Responses::ResponseInputItem::ToolSearchCall::execution?
|
|
315
407
|
|
|
408
|
+
# Whether tool search was executed by the server or by the client.
|
|
316
409
|
def execution=: (
|
|
317
410
|
OpenAI::Models::Responses::ResponseInputItem::ToolSearchCall::execution
|
|
318
411
|
) -> OpenAI::Models::Responses::ResponseInputItem::ToolSearchCall::execution
|
|
319
412
|
|
|
413
|
+
# The status of the tool search call.
|
|
320
414
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ToolSearchCall::status?
|
|
321
415
|
|
|
416
|
+
# @param arguments
|
|
417
|
+
# The arguments supplied to the tool search call.
|
|
418
|
+
# @param id
|
|
419
|
+
# The unique ID of this tool search call.
|
|
420
|
+
# @param call_id
|
|
421
|
+
# The unique ID of the tool search call generated by the model.
|
|
422
|
+
# @param execution
|
|
423
|
+
# Whether tool search was executed by the server or by the client.
|
|
424
|
+
# @param status
|
|
425
|
+
# The status of the tool search call.
|
|
426
|
+
# @param type
|
|
427
|
+
# The item type. Always `tool_search_call`.
|
|
322
428
|
def initialize: (
|
|
323
429
|
arguments: top,
|
|
324
430
|
?id: String?,
|
|
@@ -370,14 +476,26 @@ module OpenAI
|
|
|
370
476
|
}
|
|
371
477
|
|
|
372
478
|
class AdditionalTools < OpenAI::Internal::Type::BaseModel
|
|
479
|
+
# The role that provided the additional tools. Only `developer` is supported.
|
|
373
480
|
attr_accessor role: :developer
|
|
374
481
|
|
|
482
|
+
# A list of additional tools made available at this item.
|
|
375
483
|
attr_accessor tools: ::Array[OpenAI::Models::Responses::tool]
|
|
376
484
|
|
|
485
|
+
# The item type. Always `additional_tools`.
|
|
377
486
|
attr_accessor type: :additional_tools
|
|
378
487
|
|
|
488
|
+
# The unique ID of this additional tools item.
|
|
379
489
|
attr_accessor id: String?
|
|
380
490
|
|
|
491
|
+
# @param tools
|
|
492
|
+
# A list of additional tools made available at this item.
|
|
493
|
+
# @param id
|
|
494
|
+
# The unique ID of this additional tools item.
|
|
495
|
+
# @param role
|
|
496
|
+
# The role that provided the additional tools. Only `developer` is supported.
|
|
497
|
+
# @param type
|
|
498
|
+
# The item type. Always `additional_tools`.
|
|
381
499
|
def initialize: (
|
|
382
500
|
tools: ::Array[OpenAI::Models::Responses::tool],
|
|
383
501
|
?id: String?,
|
|
@@ -408,26 +526,58 @@ module OpenAI
|
|
|
408
526
|
}
|
|
409
527
|
|
|
410
528
|
class ImageGenerationCall < OpenAI::Internal::Type::BaseModel
|
|
529
|
+
# The unique ID of the image generation call.
|
|
411
530
|
attr_accessor id: String
|
|
412
531
|
|
|
532
|
+
# The generated image encoded in base64.
|
|
413
533
|
attr_accessor result: String?
|
|
414
534
|
|
|
535
|
+
# The status of the image generation call.
|
|
415
536
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ImageGenerationCall::status
|
|
416
537
|
|
|
538
|
+
# The type of the image generation call. Always `image_generation_call`.
|
|
417
539
|
attr_accessor type: :image_generation_call
|
|
418
540
|
|
|
541
|
+
# The action used for image generation.
|
|
419
542
|
attr_accessor action: OpenAI::Models::Responses::ResponseInputItem::ImageGenerationCall::action?
|
|
420
543
|
|
|
544
|
+
# The background setting used for generation.
|
|
421
545
|
attr_accessor background: OpenAI::Models::Responses::ResponseInputItem::ImageGenerationCall::background?
|
|
422
546
|
|
|
547
|
+
# The output format used for generation.
|
|
423
548
|
attr_accessor output_format: OpenAI::Models::Responses::ResponseInputItem::ImageGenerationCall::output_format?
|
|
424
549
|
|
|
550
|
+
# The quality of the image generated by the image generation tool call. One of
|
|
551
|
+
# `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
|
|
425
552
|
attr_accessor quality: OpenAI::Models::Responses::ResponseInputItem::ImageGenerationCall::quality?
|
|
426
553
|
|
|
554
|
+
# The prompt that was used after any model prompt rewriting.
|
|
427
555
|
attr_accessor revised_prompt: String?
|
|
428
556
|
|
|
557
|
+
# The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.
|
|
429
558
|
attr_accessor size: OpenAI::Models::Responses::ResponseInputItem::ImageGenerationCall::size?
|
|
430
559
|
|
|
560
|
+
# @param id
|
|
561
|
+
# The unique ID of the image generation call.
|
|
562
|
+
# @param result
|
|
563
|
+
# The generated image encoded in base64.
|
|
564
|
+
# @param status
|
|
565
|
+
# The status of the image generation call.
|
|
566
|
+
# @param action
|
|
567
|
+
# The action used for image generation.
|
|
568
|
+
# @param background
|
|
569
|
+
# The background setting used for generation.
|
|
570
|
+
# @param output_format
|
|
571
|
+
# The output format used for generation.
|
|
572
|
+
# @param quality
|
|
573
|
+
# The quality of the image generated by the image generation tool call. One of
|
|
574
|
+
# `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
|
|
575
|
+
# @param revised_prompt
|
|
576
|
+
# The prompt that was used after any model prompt rewriting.
|
|
577
|
+
# @param size
|
|
578
|
+
# The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.
|
|
579
|
+
# @param type
|
|
580
|
+
# The type of the image generation call. Always `image_generation_call`.
|
|
431
581
|
def initialize: (
|
|
432
582
|
id: String,
|
|
433
583
|
result: String?,
|
|
@@ -541,16 +691,31 @@ module OpenAI
|
|
|
541
691
|
}
|
|
542
692
|
|
|
543
693
|
class LocalShellCall < OpenAI::Internal::Type::BaseModel
|
|
694
|
+
# The unique ID of the local shell call.
|
|
544
695
|
attr_accessor id: String
|
|
545
696
|
|
|
697
|
+
# Execute a shell command on the server.
|
|
546
698
|
attr_accessor action: OpenAI::Responses::ResponseInputItem::LocalShellCall::Action
|
|
547
699
|
|
|
700
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
548
701
|
attr_accessor call_id: String
|
|
549
702
|
|
|
703
|
+
# The status of the local shell call.
|
|
550
704
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::LocalShellCall::status
|
|
551
705
|
|
|
706
|
+
# The type of the local shell call. Always `local_shell_call`.
|
|
552
707
|
attr_accessor type: :local_shell_call
|
|
553
708
|
|
|
709
|
+
# @param id
|
|
710
|
+
# The unique ID of the local shell call.
|
|
711
|
+
# @param action
|
|
712
|
+
# Execute a shell command on the server.
|
|
713
|
+
# @param call_id
|
|
714
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
715
|
+
# @param status
|
|
716
|
+
# The status of the local shell call.
|
|
717
|
+
# @param type
|
|
718
|
+
# The type of the local shell call. Always `local_shell_call`.
|
|
554
719
|
def initialize: (
|
|
555
720
|
id: String,
|
|
556
721
|
action: OpenAI::Responses::ResponseInputItem::LocalShellCall::Action,
|
|
@@ -578,18 +743,36 @@ module OpenAI
|
|
|
578
743
|
}
|
|
579
744
|
|
|
580
745
|
class Action < OpenAI::Internal::Type::BaseModel
|
|
746
|
+
# The command to run.
|
|
581
747
|
attr_accessor command: ::Array[String]
|
|
582
748
|
|
|
749
|
+
# Environment variables to set for the command.
|
|
583
750
|
attr_accessor env: ::Hash[Symbol, String]
|
|
584
751
|
|
|
752
|
+
# The type of the local shell action. Always `exec`.
|
|
585
753
|
attr_accessor type: :exec
|
|
586
754
|
|
|
755
|
+
# Optional timeout in milliseconds for the command.
|
|
587
756
|
attr_accessor timeout_ms: Integer?
|
|
588
757
|
|
|
758
|
+
# Optional user to run the command as.
|
|
589
759
|
attr_accessor user: String?
|
|
590
760
|
|
|
761
|
+
# Optional working directory to run the command in.
|
|
591
762
|
attr_accessor working_directory: String?
|
|
592
763
|
|
|
764
|
+
# @param command
|
|
765
|
+
# The command to run.
|
|
766
|
+
# @param env
|
|
767
|
+
# Environment variables to set for the command.
|
|
768
|
+
# @param timeout_ms
|
|
769
|
+
# Optional timeout in milliseconds for the command.
|
|
770
|
+
# @param user
|
|
771
|
+
# Optional user to run the command as.
|
|
772
|
+
# @param working_directory
|
|
773
|
+
# Optional working directory to run the command in.
|
|
774
|
+
# @param type
|
|
775
|
+
# The type of the local shell action. Always `exec`.
|
|
593
776
|
def initialize: (
|
|
594
777
|
command: ::Array[String],
|
|
595
778
|
env: ::Hash[Symbol, String],
|
|
@@ -631,14 +814,26 @@ module OpenAI
|
|
|
631
814
|
}
|
|
632
815
|
|
|
633
816
|
class LocalShellCallOutput < OpenAI::Internal::Type::BaseModel
|
|
817
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
634
818
|
attr_accessor id: String
|
|
635
819
|
|
|
820
|
+
# A JSON string of the output of the local shell tool call.
|
|
636
821
|
attr_accessor output: String
|
|
637
822
|
|
|
823
|
+
# The type of the local shell tool call output. Always `local_shell_call_output`.
|
|
638
824
|
attr_accessor type: :local_shell_call_output
|
|
639
825
|
|
|
826
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
640
827
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::LocalShellCallOutput::status?
|
|
641
828
|
|
|
829
|
+
# @param id
|
|
830
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
831
|
+
# @param output
|
|
832
|
+
# A JSON string of the output of the local shell tool call.
|
|
833
|
+
# @param status
|
|
834
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
835
|
+
# @param type
|
|
836
|
+
# The type of the local shell tool call output. Always `local_shell_call_output`.
|
|
642
837
|
def initialize: (
|
|
643
838
|
id: String,
|
|
644
839
|
output: String,
|
|
@@ -678,20 +873,45 @@ module OpenAI
|
|
|
678
873
|
}
|
|
679
874
|
|
|
680
875
|
class ShellCall < OpenAI::Internal::Type::BaseModel
|
|
876
|
+
# The shell commands and limits that describe how to run the tool call.
|
|
681
877
|
attr_accessor action: OpenAI::Responses::ResponseInputItem::ShellCall::Action
|
|
682
878
|
|
|
879
|
+
# The unique ID of the shell tool call generated by the model.
|
|
683
880
|
attr_accessor call_id: String
|
|
684
881
|
|
|
882
|
+
# The type of the item. Always `shell_call`.
|
|
685
883
|
attr_accessor type: :shell_call
|
|
686
884
|
|
|
885
|
+
# The unique ID of the shell tool call. Populated when this item is returned via
|
|
886
|
+
# API.
|
|
687
887
|
attr_accessor id: String?
|
|
688
888
|
|
|
889
|
+
# The execution context that produced this tool call.
|
|
689
890
|
attr_accessor caller_: OpenAI::Models::Responses::ResponseInputItem::ShellCall::caller_?
|
|
690
891
|
|
|
892
|
+
# The environment to execute the shell commands in.
|
|
691
893
|
attr_accessor environment: OpenAI::Models::Responses::ResponseInputItem::ShellCall::environment?
|
|
692
894
|
|
|
895
|
+
# The status of the shell call. One of `in_progress`, `completed`, or
|
|
896
|
+
# `incomplete`.
|
|
693
897
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ShellCall::status?
|
|
694
898
|
|
|
899
|
+
# @param action
|
|
900
|
+
# The shell commands and limits that describe how to run the tool call.
|
|
901
|
+
# @param call_id
|
|
902
|
+
# The unique ID of the shell tool call generated by the model.
|
|
903
|
+
# @param id
|
|
904
|
+
# The unique ID of the shell tool call. Populated when this item is returned via
|
|
905
|
+
# API.
|
|
906
|
+
# @param caller_
|
|
907
|
+
# The execution context that produced this tool call.
|
|
908
|
+
# @param environment
|
|
909
|
+
# The environment to execute the shell commands in.
|
|
910
|
+
# @param status
|
|
911
|
+
# The status of the shell call. One of `in_progress`, `completed`, or
|
|
912
|
+
# `incomplete`.
|
|
913
|
+
# @param type
|
|
914
|
+
# The type of the item. Always `shell_call`.
|
|
695
915
|
def initialize: (
|
|
696
916
|
action: OpenAI::Responses::ResponseInputItem::ShellCall::Action,
|
|
697
917
|
call_id: String,
|
|
@@ -720,12 +940,23 @@ module OpenAI
|
|
|
720
940
|
}
|
|
721
941
|
|
|
722
942
|
class Action < OpenAI::Internal::Type::BaseModel
|
|
943
|
+
# Ordered shell commands for the execution environment to run.
|
|
723
944
|
attr_accessor commands: ::Array[String]
|
|
724
945
|
|
|
946
|
+
# Maximum number of UTF-8 characters to capture from combined stdout and stderr
|
|
947
|
+
# output.
|
|
725
948
|
attr_accessor max_output_length: Integer?
|
|
726
949
|
|
|
950
|
+
# Maximum wall-clock time in milliseconds to allow the shell commands to run.
|
|
727
951
|
attr_accessor timeout_ms: Integer?
|
|
728
952
|
|
|
953
|
+
# @param commands
|
|
954
|
+
# Ordered shell commands for the execution environment to run.
|
|
955
|
+
# @param max_output_length
|
|
956
|
+
# Maximum number of UTF-8 characters to capture from combined stdout and stderr
|
|
957
|
+
# output.
|
|
958
|
+
# @param timeout_ms
|
|
959
|
+
# Maximum wall-clock time in milliseconds to allow the shell commands to run.
|
|
729
960
|
def initialize: (
|
|
730
961
|
commands: ::Array[String],
|
|
731
962
|
?max_output_length: Integer?,
|
|
@@ -749,8 +980,11 @@ module OpenAI
|
|
|
749
980
|
type direct = { ?type: :direct }
|
|
750
981
|
|
|
751
982
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
983
|
+
# The caller type. Always `direct`.
|
|
752
984
|
attr_accessor type: :direct
|
|
753
985
|
|
|
986
|
+
# @param type
|
|
987
|
+
# The caller type. Always `direct`.
|
|
754
988
|
def initialize: (?type: :direct) -> void
|
|
755
989
|
|
|
756
990
|
def to_hash: -> { ?type: :direct }
|
|
@@ -759,10 +993,16 @@ module OpenAI
|
|
|
759
993
|
type program = { caller_id: String, ?type: :program }
|
|
760
994
|
|
|
761
995
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
996
|
+
# The call ID of the program item that produced this tool call.
|
|
762
997
|
attr_accessor caller_id: String
|
|
763
998
|
|
|
999
|
+
# The caller type. Always `program`.
|
|
764
1000
|
attr_accessor type: :program
|
|
765
1001
|
|
|
1002
|
+
# @param caller_id
|
|
1003
|
+
# The call ID of the program item that produced this tool call.
|
|
1004
|
+
# @param type
|
|
1005
|
+
# The caller type. Always `program`.
|
|
766
1006
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
767
1007
|
|
|
768
1008
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -806,20 +1046,47 @@ module OpenAI
|
|
|
806
1046
|
}
|
|
807
1047
|
|
|
808
1048
|
class ShellCallOutput < OpenAI::Internal::Type::BaseModel
|
|
1049
|
+
# The unique ID of the shell tool call generated by the model.
|
|
809
1050
|
attr_accessor call_id: String
|
|
810
1051
|
|
|
1052
|
+
# Captured chunks of stdout and stderr output, along with their associated
|
|
1053
|
+
# outcomes.
|
|
811
1054
|
attr_accessor output: ::Array[OpenAI::Responses::ResponseFunctionShellCallOutputContent]
|
|
812
1055
|
|
|
1056
|
+
# The type of the item. Always `shell_call_output`.
|
|
813
1057
|
attr_accessor type: :shell_call_output
|
|
814
1058
|
|
|
1059
|
+
# The unique ID of the shell tool call output. Populated when this item is
|
|
1060
|
+
# returned via API.
|
|
815
1061
|
attr_accessor id: String?
|
|
816
1062
|
|
|
1063
|
+
# The execution context that produced this tool call.
|
|
817
1064
|
attr_accessor caller_: OpenAI::Models::Responses::ResponseInputItem::ShellCallOutput::caller_?
|
|
818
1065
|
|
|
1066
|
+
# The maximum number of UTF-8 characters captured for this shell call's combined
|
|
1067
|
+
# output.
|
|
819
1068
|
attr_accessor max_output_length: Integer?
|
|
820
1069
|
|
|
1070
|
+
# The status of the shell call output.
|
|
821
1071
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ShellCallOutput::status?
|
|
822
1072
|
|
|
1073
|
+
# @param call_id
|
|
1074
|
+
# The unique ID of the shell tool call generated by the model.
|
|
1075
|
+
# @param output
|
|
1076
|
+
# Captured chunks of stdout and stderr output, along with their associated
|
|
1077
|
+
# outcomes.
|
|
1078
|
+
# @param id
|
|
1079
|
+
# The unique ID of the shell tool call output. Populated when this item is
|
|
1080
|
+
# returned via API.
|
|
1081
|
+
# @param caller_
|
|
1082
|
+
# The execution context that produced this tool call.
|
|
1083
|
+
# @param max_output_length
|
|
1084
|
+
# The maximum number of UTF-8 characters captured for this shell call's combined
|
|
1085
|
+
# output.
|
|
1086
|
+
# @param status
|
|
1087
|
+
# The status of the shell call output.
|
|
1088
|
+
# @param type
|
|
1089
|
+
# The type of the item. Always `shell_call_output`.
|
|
823
1090
|
def initialize: (
|
|
824
1091
|
call_id: String,
|
|
825
1092
|
output: ::Array[OpenAI::Responses::ResponseFunctionShellCallOutputContent],
|
|
@@ -850,8 +1117,11 @@ module OpenAI
|
|
|
850
1117
|
type direct = { ?type: :direct }
|
|
851
1118
|
|
|
852
1119
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
1120
|
+
# The caller type. Always `direct`.
|
|
853
1121
|
attr_accessor type: :direct
|
|
854
1122
|
|
|
1123
|
+
# @param type
|
|
1124
|
+
# The caller type. Always `direct`.
|
|
855
1125
|
def initialize: (?type: :direct) -> void
|
|
856
1126
|
|
|
857
1127
|
def to_hash: -> { ?type: :direct }
|
|
@@ -860,10 +1130,16 @@ module OpenAI
|
|
|
860
1130
|
type program = { caller_id: String, ?type: :program }
|
|
861
1131
|
|
|
862
1132
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
1133
|
+
# The call ID of the program item that produced this tool call.
|
|
863
1134
|
attr_accessor caller_id: String
|
|
864
1135
|
|
|
1136
|
+
# The caller type. Always `program`.
|
|
865
1137
|
attr_accessor type: :program
|
|
866
1138
|
|
|
1139
|
+
# @param caller_id
|
|
1140
|
+
# The call ID of the program item that produced this tool call.
|
|
1141
|
+
# @param type
|
|
1142
|
+
# The caller type. Always `program`.
|
|
867
1143
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
868
1144
|
|
|
869
1145
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -896,18 +1172,40 @@ module OpenAI
|
|
|
896
1172
|
}
|
|
897
1173
|
|
|
898
1174
|
class ApplyPatchCall < OpenAI::Internal::Type::BaseModel
|
|
1175
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
899
1176
|
attr_accessor call_id: String
|
|
900
1177
|
|
|
1178
|
+
# The specific create, delete, or update instruction for the apply_patch tool
|
|
1179
|
+
# call.
|
|
901
1180
|
attr_accessor operation: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCall::operation
|
|
902
1181
|
|
|
1182
|
+
# The status of the apply patch tool call. One of `in_progress` or `completed`.
|
|
903
1183
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCall::status
|
|
904
1184
|
|
|
1185
|
+
# The type of the item. Always `apply_patch_call`.
|
|
905
1186
|
attr_accessor type: :apply_patch_call
|
|
906
1187
|
|
|
1188
|
+
# The unique ID of the apply patch tool call. Populated when this item is returned
|
|
1189
|
+
# via API.
|
|
907
1190
|
attr_accessor id: String?
|
|
908
1191
|
|
|
1192
|
+
# The execution context that produced this tool call.
|
|
909
1193
|
attr_accessor caller_: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCall::caller_?
|
|
910
1194
|
|
|
1195
|
+
# @param call_id
|
|
1196
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
1197
|
+
# @param operation
|
|
1198
|
+
# The specific create, delete, or update instruction for the apply_patch tool
|
|
1199
|
+
# call.
|
|
1200
|
+
# @param status
|
|
1201
|
+
# The status of the apply patch tool call. One of `in_progress` or `completed`.
|
|
1202
|
+
# @param id
|
|
1203
|
+
# The unique ID of the apply patch tool call. Populated when this item is returned
|
|
1204
|
+
# via API.
|
|
1205
|
+
# @param caller_
|
|
1206
|
+
# The execution context that produced this tool call.
|
|
1207
|
+
# @param type
|
|
1208
|
+
# The type of the item. Always `apply_patch_call`.
|
|
911
1209
|
def initialize: (
|
|
912
1210
|
call_id: String,
|
|
913
1211
|
operation: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCall::operation,
|
|
@@ -938,12 +1236,21 @@ module OpenAI
|
|
|
938
1236
|
{ diff: String, path: String, ?type: :create_file }
|
|
939
1237
|
|
|
940
1238
|
class CreateFile < OpenAI::Internal::Type::BaseModel
|
|
1239
|
+
# Unified diff content to apply when creating the file.
|
|
941
1240
|
attr_accessor diff: String
|
|
942
1241
|
|
|
1242
|
+
# Path of the file to create relative to the workspace root.
|
|
943
1243
|
attr_accessor path: String
|
|
944
1244
|
|
|
1245
|
+
# The operation type. Always `create_file`.
|
|
945
1246
|
attr_accessor type: :create_file
|
|
946
1247
|
|
|
1248
|
+
# @param diff
|
|
1249
|
+
# Unified diff content to apply when creating the file.
|
|
1250
|
+
# @param path
|
|
1251
|
+
# Path of the file to create relative to the workspace root.
|
|
1252
|
+
# @param type
|
|
1253
|
+
# The operation type. Always `create_file`.
|
|
947
1254
|
def initialize: (
|
|
948
1255
|
diff: String,
|
|
949
1256
|
path: String,
|
|
@@ -960,10 +1267,16 @@ module OpenAI
|
|
|
960
1267
|
type delete_file = { path: String, ?type: :delete_file }
|
|
961
1268
|
|
|
962
1269
|
class DeleteFile < OpenAI::Internal::Type::BaseModel
|
|
1270
|
+
# Path of the file to delete relative to the workspace root.
|
|
963
1271
|
attr_accessor path: String
|
|
964
1272
|
|
|
1273
|
+
# The operation type. Always `delete_file`.
|
|
965
1274
|
attr_accessor type: :delete_file
|
|
966
1275
|
|
|
1276
|
+
# @param path
|
|
1277
|
+
# Path of the file to delete relative to the workspace root.
|
|
1278
|
+
# @param type
|
|
1279
|
+
# The operation type. Always `delete_file`.
|
|
967
1280
|
def initialize: (path: String, ?type: :delete_file) -> void
|
|
968
1281
|
|
|
969
1282
|
def to_hash: -> { path: String, ?type: :delete_file }
|
|
@@ -973,12 +1286,21 @@ module OpenAI
|
|
|
973
1286
|
{ diff: String, path: String, ?type: :update_file }
|
|
974
1287
|
|
|
975
1288
|
class UpdateFile < OpenAI::Internal::Type::BaseModel
|
|
1289
|
+
# Unified diff content to apply to the existing file.
|
|
976
1290
|
attr_accessor diff: String
|
|
977
1291
|
|
|
1292
|
+
# Path of the file to update relative to the workspace root.
|
|
978
1293
|
attr_accessor path: String
|
|
979
1294
|
|
|
1295
|
+
# The operation type. Always `update_file`.
|
|
980
1296
|
attr_accessor type: :update_file
|
|
981
1297
|
|
|
1298
|
+
# @param diff
|
|
1299
|
+
# Unified diff content to apply to the existing file.
|
|
1300
|
+
# @param path
|
|
1301
|
+
# Path of the file to update relative to the workspace root.
|
|
1302
|
+
# @param type
|
|
1303
|
+
# The operation type. Always `update_file`.
|
|
982
1304
|
def initialize: (
|
|
983
1305
|
diff: String,
|
|
984
1306
|
path: String,
|
|
@@ -1016,8 +1338,11 @@ module OpenAI
|
|
|
1016
1338
|
type direct = { ?type: :direct }
|
|
1017
1339
|
|
|
1018
1340
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
1341
|
+
# The caller type. Always `direct`.
|
|
1019
1342
|
attr_accessor type: :direct
|
|
1020
1343
|
|
|
1344
|
+
# @param type
|
|
1345
|
+
# The caller type. Always `direct`.
|
|
1021
1346
|
def initialize: (?type: :direct) -> void
|
|
1022
1347
|
|
|
1023
1348
|
def to_hash: -> { ?type: :direct }
|
|
@@ -1026,10 +1351,16 @@ module OpenAI
|
|
|
1026
1351
|
type program = { caller_id: String, ?type: :program }
|
|
1027
1352
|
|
|
1028
1353
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
1354
|
+
# The call ID of the program item that produced this tool call.
|
|
1029
1355
|
attr_accessor caller_id: String
|
|
1030
1356
|
|
|
1357
|
+
# The caller type. Always `program`.
|
|
1031
1358
|
attr_accessor type: :program
|
|
1032
1359
|
|
|
1360
|
+
# @param caller_id
|
|
1361
|
+
# The call ID of the program item that produced this tool call.
|
|
1362
|
+
# @param type
|
|
1363
|
+
# The caller type. Always `program`.
|
|
1033
1364
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
1034
1365
|
|
|
1035
1366
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -1050,18 +1381,40 @@ module OpenAI
|
|
|
1050
1381
|
}
|
|
1051
1382
|
|
|
1052
1383
|
class ApplyPatchCallOutput < OpenAI::Internal::Type::BaseModel
|
|
1384
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
1053
1385
|
attr_accessor call_id: String
|
|
1054
1386
|
|
|
1387
|
+
# The status of the apply patch tool call output. One of `completed` or `failed`.
|
|
1055
1388
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::status
|
|
1056
1389
|
|
|
1390
|
+
# The type of the item. Always `apply_patch_call_output`.
|
|
1057
1391
|
attr_accessor type: :apply_patch_call_output
|
|
1058
1392
|
|
|
1393
|
+
# The unique ID of the apply patch tool call output. Populated when this item is
|
|
1394
|
+
# returned via API.
|
|
1059
1395
|
attr_accessor id: String?
|
|
1060
1396
|
|
|
1397
|
+
# The execution context that produced this tool call.
|
|
1061
1398
|
attr_accessor caller_: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::caller_?
|
|
1062
1399
|
|
|
1400
|
+
# Optional human-readable log text from the apply patch tool (e.g., patch results
|
|
1401
|
+
# or errors).
|
|
1063
1402
|
attr_accessor output: String?
|
|
1064
1403
|
|
|
1404
|
+
# @param call_id
|
|
1405
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
1406
|
+
# @param status
|
|
1407
|
+
# The status of the apply patch tool call output. One of `completed` or `failed`.
|
|
1408
|
+
# @param id
|
|
1409
|
+
# The unique ID of the apply patch tool call output. Populated when this item is
|
|
1410
|
+
# returned via API.
|
|
1411
|
+
# @param caller_
|
|
1412
|
+
# The execution context that produced this tool call.
|
|
1413
|
+
# @param output
|
|
1414
|
+
# Optional human-readable log text from the apply patch tool (e.g., patch results
|
|
1415
|
+
# or errors).
|
|
1416
|
+
# @param type
|
|
1417
|
+
# The type of the item. Always `apply_patch_call_output`.
|
|
1065
1418
|
def initialize: (
|
|
1066
1419
|
call_id: String,
|
|
1067
1420
|
status: OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput::status,
|
|
@@ -1101,8 +1454,11 @@ module OpenAI
|
|
|
1101
1454
|
type direct = { ?type: :direct }
|
|
1102
1455
|
|
|
1103
1456
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
1457
|
+
# The caller type. Always `direct`.
|
|
1104
1458
|
attr_accessor type: :direct
|
|
1105
1459
|
|
|
1460
|
+
# @param type
|
|
1461
|
+
# The caller type. Always `direct`.
|
|
1106
1462
|
def initialize: (?type: :direct) -> void
|
|
1107
1463
|
|
|
1108
1464
|
def to_hash: -> { ?type: :direct }
|
|
@@ -1111,10 +1467,16 @@ module OpenAI
|
|
|
1111
1467
|
type program = { caller_id: String, ?type: :program }
|
|
1112
1468
|
|
|
1113
1469
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
1470
|
+
# The call ID of the program item that produced this tool call.
|
|
1114
1471
|
attr_accessor caller_id: String
|
|
1115
1472
|
|
|
1473
|
+
# The caller type. Always `program`.
|
|
1116
1474
|
attr_accessor type: :program
|
|
1117
1475
|
|
|
1476
|
+
# @param caller_id
|
|
1477
|
+
# The call ID of the program item that produced this tool call.
|
|
1478
|
+
# @param type
|
|
1479
|
+
# The caller type. Always `program`.
|
|
1118
1480
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
1119
1481
|
|
|
1120
1482
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -1134,16 +1496,31 @@ module OpenAI
|
|
|
1134
1496
|
}
|
|
1135
1497
|
|
|
1136
1498
|
class McpListTools < OpenAI::Internal::Type::BaseModel
|
|
1499
|
+
# The unique ID of the list.
|
|
1137
1500
|
attr_accessor id: String
|
|
1138
1501
|
|
|
1502
|
+
# The label of the MCP server.
|
|
1139
1503
|
attr_accessor server_label: String
|
|
1140
1504
|
|
|
1505
|
+
# The tools available on the server.
|
|
1141
1506
|
attr_accessor tools: ::Array[OpenAI::Responses::ResponseInputItem::McpListTools::Tool]
|
|
1142
1507
|
|
|
1508
|
+
# The type of the item. Always `mcp_list_tools`.
|
|
1143
1509
|
attr_accessor type: :mcp_list_tools
|
|
1144
1510
|
|
|
1511
|
+
# Error message if the server could not list tools.
|
|
1145
1512
|
attr_accessor error: String?
|
|
1146
1513
|
|
|
1514
|
+
# @param id
|
|
1515
|
+
# The unique ID of the list.
|
|
1516
|
+
# @param server_label
|
|
1517
|
+
# The label of the MCP server.
|
|
1518
|
+
# @param tools
|
|
1519
|
+
# The tools available on the server.
|
|
1520
|
+
# @param error
|
|
1521
|
+
# Error message if the server could not list tools.
|
|
1522
|
+
# @param type
|
|
1523
|
+
# The type of the item. Always `mcp_list_tools`.
|
|
1147
1524
|
def initialize: (
|
|
1148
1525
|
id: String,
|
|
1149
1526
|
server_label: String,
|
|
@@ -1169,14 +1546,26 @@ module OpenAI
|
|
|
1169
1546
|
}
|
|
1170
1547
|
|
|
1171
1548
|
class Tool < OpenAI::Internal::Type::BaseModel
|
|
1549
|
+
# The JSON schema describing the tool's input.
|
|
1172
1550
|
attr_accessor input_schema: top
|
|
1173
1551
|
|
|
1552
|
+
# The name of the tool.
|
|
1174
1553
|
attr_accessor name: String
|
|
1175
1554
|
|
|
1555
|
+
# Additional annotations about the tool.
|
|
1176
1556
|
attr_accessor annotations: top?
|
|
1177
1557
|
|
|
1558
|
+
# The description of the tool.
|
|
1178
1559
|
attr_accessor description: String?
|
|
1179
1560
|
|
|
1561
|
+
# @param input_schema
|
|
1562
|
+
# The JSON schema describing the tool's input.
|
|
1563
|
+
# @param name
|
|
1564
|
+
# The name of the tool.
|
|
1565
|
+
# @param annotations
|
|
1566
|
+
# Additional annotations about the tool.
|
|
1567
|
+
# @param description
|
|
1568
|
+
# The description of the tool.
|
|
1180
1569
|
def initialize: (
|
|
1181
1570
|
input_schema: top,
|
|
1182
1571
|
name: String,
|
|
@@ -1203,16 +1592,31 @@ module OpenAI
|
|
|
1203
1592
|
}
|
|
1204
1593
|
|
|
1205
1594
|
class McpApprovalRequest < OpenAI::Internal::Type::BaseModel
|
|
1595
|
+
# The unique ID of the approval request.
|
|
1206
1596
|
attr_accessor id: String
|
|
1207
1597
|
|
|
1598
|
+
# A JSON string of arguments for the tool.
|
|
1208
1599
|
attr_accessor arguments: String
|
|
1209
1600
|
|
|
1601
|
+
# The name of the tool to run.
|
|
1210
1602
|
attr_accessor name: String
|
|
1211
1603
|
|
|
1604
|
+
# The label of the MCP server making the request.
|
|
1212
1605
|
attr_accessor server_label: String
|
|
1213
1606
|
|
|
1607
|
+
# The type of the item. Always `mcp_approval_request`.
|
|
1214
1608
|
attr_accessor type: :mcp_approval_request
|
|
1215
1609
|
|
|
1610
|
+
# @param id
|
|
1611
|
+
# The unique ID of the approval request.
|
|
1612
|
+
# @param arguments
|
|
1613
|
+
# A JSON string of arguments for the tool.
|
|
1614
|
+
# @param name
|
|
1615
|
+
# The name of the tool to run.
|
|
1616
|
+
# @param server_label
|
|
1617
|
+
# The label of the MCP server making the request.
|
|
1618
|
+
# @param type
|
|
1619
|
+
# The type of the item. Always `mcp_approval_request`.
|
|
1216
1620
|
def initialize: (
|
|
1217
1621
|
id: String,
|
|
1218
1622
|
arguments: String,
|
|
@@ -1240,16 +1644,31 @@ module OpenAI
|
|
|
1240
1644
|
}
|
|
1241
1645
|
|
|
1242
1646
|
class McpApprovalResponse < OpenAI::Internal::Type::BaseModel
|
|
1647
|
+
# The ID of the approval request being answered.
|
|
1243
1648
|
attr_accessor approval_request_id: String
|
|
1244
1649
|
|
|
1650
|
+
# Whether the request was approved.
|
|
1245
1651
|
attr_accessor approve: bool
|
|
1246
1652
|
|
|
1653
|
+
# The type of the item. Always `mcp_approval_response`.
|
|
1247
1654
|
attr_accessor type: :mcp_approval_response
|
|
1248
1655
|
|
|
1656
|
+
# The unique ID of the approval response
|
|
1249
1657
|
attr_accessor id: String?
|
|
1250
1658
|
|
|
1659
|
+
# Optional reason for the decision.
|
|
1251
1660
|
attr_accessor reason: String?
|
|
1252
1661
|
|
|
1662
|
+
# @param approval_request_id
|
|
1663
|
+
# The ID of the approval request being answered.
|
|
1664
|
+
# @param approve
|
|
1665
|
+
# Whether the request was approved.
|
|
1666
|
+
# @param id
|
|
1667
|
+
# The unique ID of the approval response
|
|
1668
|
+
# @param reason
|
|
1669
|
+
# Optional reason for the decision.
|
|
1670
|
+
# @param type
|
|
1671
|
+
# The type of the item. Always `mcp_approval_response`.
|
|
1253
1672
|
def initialize: (
|
|
1254
1673
|
approval_request_id: String,
|
|
1255
1674
|
approve: bool,
|
|
@@ -1281,28 +1700,63 @@ module OpenAI
|
|
|
1281
1700
|
}
|
|
1282
1701
|
|
|
1283
1702
|
class McpCall < OpenAI::Internal::Type::BaseModel
|
|
1703
|
+
# The unique ID of the tool call.
|
|
1284
1704
|
attr_accessor id: String
|
|
1285
1705
|
|
|
1706
|
+
# A JSON string of the arguments passed to the tool.
|
|
1286
1707
|
attr_accessor arguments: String
|
|
1287
1708
|
|
|
1709
|
+
# The name of the tool that was run.
|
|
1288
1710
|
attr_accessor name: String
|
|
1289
1711
|
|
|
1712
|
+
# The label of the MCP server running the tool.
|
|
1290
1713
|
attr_accessor server_label: String
|
|
1291
1714
|
|
|
1715
|
+
# The type of the item. Always `mcp_call`.
|
|
1292
1716
|
attr_accessor type: :mcp_call
|
|
1293
1717
|
|
|
1718
|
+
# Unique identifier for the MCP tool call approval request. Include this value in
|
|
1719
|
+
# a subsequent `mcp_approval_response` input to approve or reject the
|
|
1720
|
+
# corresponding tool call.
|
|
1294
1721
|
attr_accessor approval_request_id: String?
|
|
1295
1722
|
|
|
1723
|
+
# The error from the tool call, if any.
|
|
1296
1724
|
attr_accessor error: OpenAI::Models::Responses::mcp_tool_call_error?
|
|
1297
1725
|
|
|
1726
|
+
# The output from the tool call.
|
|
1298
1727
|
attr_accessor output: String?
|
|
1299
1728
|
|
|
1729
|
+
# The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
|
1730
|
+
# `calling`, or `failed`.
|
|
1300
1731
|
attr_reader status: OpenAI::Models::Responses::ResponseInputItem::McpCall::status?
|
|
1301
1732
|
|
|
1733
|
+
# The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
|
1734
|
+
# `calling`, or `failed`.
|
|
1302
1735
|
def status=: (
|
|
1303
1736
|
OpenAI::Models::Responses::ResponseInputItem::McpCall::status
|
|
1304
1737
|
) -> OpenAI::Models::Responses::ResponseInputItem::McpCall::status
|
|
1305
1738
|
|
|
1739
|
+
# @param id
|
|
1740
|
+
# The unique ID of the tool call.
|
|
1741
|
+
# @param arguments
|
|
1742
|
+
# A JSON string of the arguments passed to the tool.
|
|
1743
|
+
# @param name
|
|
1744
|
+
# The name of the tool that was run.
|
|
1745
|
+
# @param server_label
|
|
1746
|
+
# The label of the MCP server running the tool.
|
|
1747
|
+
# @param approval_request_id
|
|
1748
|
+
# Unique identifier for the MCP tool call approval request. Include this value in
|
|
1749
|
+
# a subsequent `mcp_approval_response` input to approve or reject the
|
|
1750
|
+
# corresponding tool call.
|
|
1751
|
+
# @param error
|
|
1752
|
+
# The error from the tool call, if any.
|
|
1753
|
+
# @param output
|
|
1754
|
+
# The output from the tool call.
|
|
1755
|
+
# @param status
|
|
1756
|
+
# The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
|
1757
|
+
# `calling`, or `failed`.
|
|
1758
|
+
# @param type
|
|
1759
|
+
# The type of the item. Always `mcp_call`.
|
|
1306
1760
|
def initialize: (
|
|
1307
1761
|
id: String,
|
|
1308
1762
|
arguments: String,
|
|
@@ -1346,8 +1800,11 @@ module OpenAI
|
|
|
1346
1800
|
type compaction_trigger = { ?type: :compaction_trigger }
|
|
1347
1801
|
|
|
1348
1802
|
class CompactionTrigger < OpenAI::Internal::Type::BaseModel
|
|
1803
|
+
# The type of the item. Always `compaction_trigger`.
|
|
1349
1804
|
attr_accessor type: :compaction_trigger
|
|
1350
1805
|
|
|
1806
|
+
# @param type
|
|
1807
|
+
# The type of the item. Always `compaction_trigger`.
|
|
1351
1808
|
def initialize: (?type: :compaction_trigger) -> void
|
|
1352
1809
|
|
|
1353
1810
|
def to_hash: -> { ?type: :compaction_trigger }
|
|
@@ -1360,10 +1817,16 @@ module OpenAI
|
|
|
1360
1817
|
}
|
|
1361
1818
|
|
|
1362
1819
|
class ItemReference < OpenAI::Internal::Type::BaseModel
|
|
1820
|
+
# The ID of the item to reference.
|
|
1363
1821
|
attr_accessor id: String
|
|
1364
1822
|
|
|
1823
|
+
# The type of item to reference. Always `item_reference`.
|
|
1365
1824
|
attr_accessor type: OpenAI::Models::Responses::ResponseInputItem::ItemReference::type_?
|
|
1366
1825
|
|
|
1826
|
+
# @param id
|
|
1827
|
+
# The ID of the item to reference.
|
|
1828
|
+
# @param type
|
|
1829
|
+
# The type of item to reference. Always `item_reference`.
|
|
1367
1830
|
def initialize: (
|
|
1368
1831
|
id: String,
|
|
1369
1832
|
?type: OpenAI::Models::Responses::ResponseInputItem::ItemReference::type_?
|
|
@@ -1395,16 +1858,31 @@ module OpenAI
|
|
|
1395
1858
|
}
|
|
1396
1859
|
|
|
1397
1860
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
1861
|
+
# The unique ID of this program item.
|
|
1398
1862
|
attr_accessor id: String
|
|
1399
1863
|
|
|
1864
|
+
# The stable call ID of the program item.
|
|
1400
1865
|
attr_accessor call_id: String
|
|
1401
1866
|
|
|
1867
|
+
# The JavaScript source executed by programmatic tool calling.
|
|
1402
1868
|
attr_accessor code: String
|
|
1403
1869
|
|
|
1870
|
+
# Opaque program replay fingerprint that must be round-tripped.
|
|
1404
1871
|
attr_accessor fingerprint: String
|
|
1405
1872
|
|
|
1873
|
+
# The item type. Always `program`.
|
|
1406
1874
|
attr_accessor type: :program
|
|
1407
1875
|
|
|
1876
|
+
# @param id
|
|
1877
|
+
# The unique ID of this program item.
|
|
1878
|
+
# @param call_id
|
|
1879
|
+
# The stable call ID of the program item.
|
|
1880
|
+
# @param code
|
|
1881
|
+
# The JavaScript source executed by programmatic tool calling.
|
|
1882
|
+
# @param fingerprint
|
|
1883
|
+
# Opaque program replay fingerprint that must be round-tripped.
|
|
1884
|
+
# @param type
|
|
1885
|
+
# The item type. Always `program`.
|
|
1408
1886
|
def initialize: (
|
|
1409
1887
|
id: String,
|
|
1410
1888
|
call_id: String,
|
|
@@ -1432,16 +1910,31 @@ module OpenAI
|
|
|
1432
1910
|
}
|
|
1433
1911
|
|
|
1434
1912
|
class ProgramOutput < OpenAI::Internal::Type::BaseModel
|
|
1913
|
+
# The unique ID of this program output item.
|
|
1435
1914
|
attr_accessor id: String
|
|
1436
1915
|
|
|
1916
|
+
# The call ID of the program item.
|
|
1437
1917
|
attr_accessor call_id: String
|
|
1438
1918
|
|
|
1919
|
+
# The result produced by the program item.
|
|
1439
1920
|
attr_accessor result: String
|
|
1440
1921
|
|
|
1922
|
+
# The terminal status of the program output.
|
|
1441
1923
|
attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::ProgramOutput::status
|
|
1442
1924
|
|
|
1925
|
+
# The item type. Always `program_output`.
|
|
1443
1926
|
attr_accessor type: :program_output
|
|
1444
1927
|
|
|
1928
|
+
# @param id
|
|
1929
|
+
# The unique ID of this program output item.
|
|
1930
|
+
# @param call_id
|
|
1931
|
+
# The call ID of the program item.
|
|
1932
|
+
# @param result
|
|
1933
|
+
# The result produced by the program item.
|
|
1934
|
+
# @param status
|
|
1935
|
+
# The terminal status of the program output.
|
|
1936
|
+
# @param type
|
|
1937
|
+
# The item type. Always `program_output`.
|
|
1445
1938
|
def initialize: (
|
|
1446
1939
|
id: String,
|
|
1447
1940
|
call_id: String,
|