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
|
@@ -50,102 +50,593 @@ module OpenAI
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ResponseCreate < OpenAI::Internal::Type::BaseModel
|
|
53
|
+
# The type of the client event. Always `response.create`.
|
|
53
54
|
attr_accessor type: :"response.create"
|
|
54
55
|
|
|
56
|
+
# Whether to run the model response in the background.
|
|
57
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/background).
|
|
55
58
|
attr_accessor background: bool?
|
|
56
59
|
|
|
60
|
+
# Context management configuration for this request.
|
|
57
61
|
attr_accessor context_management: ::Array[OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::ContextManagement]?
|
|
58
62
|
|
|
63
|
+
# The conversation that this response belongs to. Items from this conversation are
|
|
64
|
+
# prepended to `input_items` for this response request. Input items and output
|
|
65
|
+
# items from this response are automatically added to this conversation after this
|
|
66
|
+
# response completes.
|
|
59
67
|
attr_accessor conversation: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::conversation?
|
|
60
68
|
|
|
69
|
+
# Specify additional output data to include in the model response. Currently
|
|
70
|
+
# supported values are:
|
|
71
|
+
#
|
|
72
|
+
# - `web_search_call.action.sources`: Include the sources of the web search tool
|
|
73
|
+
# call.
|
|
74
|
+
# - `code_interpreter_call.outputs`: Includes the outputs of python code execution
|
|
75
|
+
# in code interpreter tool call items.
|
|
76
|
+
# - `computer_call_output.output.image_url`: Include image urls from the computer
|
|
77
|
+
# call output.
|
|
78
|
+
# - `file_search_call.results`: Include the search results of the file search tool
|
|
79
|
+
# call.
|
|
80
|
+
# - `message.input_image.image_url`: Include image urls from the input message.
|
|
81
|
+
# - `message.output_text.logprobs`: Include logprobs with assistant messages.
|
|
82
|
+
# - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
|
|
83
|
+
# tokens in reasoning item outputs. This enables reasoning items to be used in
|
|
84
|
+
# multi-turn conversations when using the Responses API statelessly (like when
|
|
85
|
+
# the `store` parameter is set to `false`, or when an organization is enrolled
|
|
86
|
+
# in the zero data retention program).
|
|
61
87
|
attr_accessor include: ::Array[OpenAI::Models::Beta::beta_response_includable]?
|
|
62
88
|
|
|
89
|
+
# Text, image, or file inputs to the model, used to generate a response.
|
|
90
|
+
#
|
|
91
|
+
# Learn more:
|
|
92
|
+
#
|
|
93
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
94
|
+
# - [Image inputs](https://developers.openai.com/api/docs/guides/images-vision)
|
|
95
|
+
# - [File inputs](https://developers.openai.com/api/docs/guides/file-inputs)
|
|
96
|
+
# - [Conversation state](https://developers.openai.com/api/docs/guides/conversation-state)
|
|
97
|
+
# - [Function calling](https://developers.openai.com/api/docs/guides/function-calling)
|
|
63
98
|
attr_reader input: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::input?
|
|
64
99
|
|
|
100
|
+
# Text, image, or file inputs to the model, used to generate a response.
|
|
101
|
+
#
|
|
102
|
+
# Learn more:
|
|
103
|
+
#
|
|
104
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
105
|
+
# - [Image inputs](https://developers.openai.com/api/docs/guides/images-vision)
|
|
106
|
+
# - [File inputs](https://developers.openai.com/api/docs/guides/file-inputs)
|
|
107
|
+
# - [Conversation state](https://developers.openai.com/api/docs/guides/conversation-state)
|
|
108
|
+
# - [Function calling](https://developers.openai.com/api/docs/guides/function-calling)
|
|
65
109
|
def input=: (
|
|
66
110
|
OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::input
|
|
67
111
|
) -> OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::input
|
|
68
112
|
|
|
113
|
+
# A system (or developer) message inserted into the model's context.
|
|
114
|
+
#
|
|
115
|
+
# When using along with `previous_response_id`, the instructions from a previous
|
|
116
|
+
# response will not be carried over to the next response. This makes it simple to
|
|
117
|
+
# swap out system (or developer) messages in new responses.
|
|
69
118
|
attr_accessor instructions: String?
|
|
70
119
|
|
|
120
|
+
# An upper bound for the number of tokens that can be generated for a response,
|
|
121
|
+
# including visible output tokens and
|
|
122
|
+
# [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).
|
|
71
123
|
attr_accessor max_output_tokens: Integer?
|
|
72
124
|
|
|
125
|
+
# The maximum number of total calls to built-in tools that can be processed in a
|
|
126
|
+
# response. This maximum number applies across all built-in tool calls, not per
|
|
127
|
+
# individual tool. Any further attempts to call a tool by the model will be
|
|
128
|
+
# ignored.
|
|
73
129
|
attr_accessor max_tool_calls: Integer?
|
|
74
130
|
|
|
131
|
+
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
132
|
+
# for storing additional information about the object in a structured format, and
|
|
133
|
+
# querying for objects via API or the dashboard.
|
|
134
|
+
#
|
|
135
|
+
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
136
|
+
# a maximum length of 512 characters.
|
|
75
137
|
attr_accessor metadata: ::Hash[Symbol, String]?
|
|
76
138
|
|
|
139
|
+
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
|
|
140
|
+
# range of models with different capabilities, performance characteristics, and
|
|
141
|
+
# price points. Refer to the
|
|
142
|
+
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
143
|
+
# compare available models.
|
|
77
144
|
attr_reader model: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::model?
|
|
78
145
|
|
|
146
|
+
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
|
|
147
|
+
# range of models with different capabilities, performance characteristics, and
|
|
148
|
+
# price points. Refer to the
|
|
149
|
+
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
150
|
+
# compare available models.
|
|
79
151
|
def model=: (
|
|
80
152
|
OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::model
|
|
81
153
|
) -> OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::model
|
|
82
154
|
|
|
155
|
+
# Configuration for running moderation on the input and output of this response.
|
|
83
156
|
attr_accessor moderation: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Moderation?
|
|
84
157
|
|
|
158
|
+
# Configuration for server-hosted multi-agent execution.
|
|
85
159
|
attr_accessor multi_agent: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::MultiAgent?
|
|
86
160
|
|
|
161
|
+
# Whether to allow the model to run tool calls in parallel.
|
|
87
162
|
attr_accessor parallel_tool_calls: bool?
|
|
88
163
|
|
|
164
|
+
# The unique ID of the previous response to the model. Use this to create
|
|
165
|
+
# multi-turn conversations. Learn more about
|
|
166
|
+
# [conversation state](https://developers.openai.com/api/docs/guides/conversation-state).
|
|
167
|
+
# Cannot be used in conjunction with `conversation`.
|
|
89
168
|
attr_accessor previous_response_id: String?
|
|
90
169
|
|
|
170
|
+
# Reference to a prompt template and its variables.
|
|
171
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).
|
|
91
172
|
attr_accessor prompt: OpenAI::Beta::BetaResponsePrompt?
|
|
92
173
|
|
|
174
|
+
# Used by OpenAI to cache responses for similar requests to optimize your cache
|
|
175
|
+
# hit rates. Replaces the `user` field.
|
|
176
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).
|
|
93
177
|
attr_accessor prompt_cache_key: String?
|
|
94
178
|
|
|
179
|
+
# Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
180
|
+
# default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
181
|
+
# explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
182
|
+
# request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
183
|
+
# up to the latest 80 breakpoints in the conversation, without a content-block
|
|
184
|
+
# lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
185
|
+
# `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
186
|
+
# [prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching)
|
|
187
|
+
# for current details.
|
|
95
188
|
attr_reader prompt_cache_options: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions?
|
|
96
189
|
|
|
190
|
+
# Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
191
|
+
# default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
192
|
+
# explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
193
|
+
# request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
194
|
+
# up to the latest 80 breakpoints in the conversation, without a content-block
|
|
195
|
+
# lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
196
|
+
# `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
197
|
+
# [prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching)
|
|
198
|
+
# for current details.
|
|
97
199
|
def prompt_cache_options=: (
|
|
98
200
|
OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions
|
|
99
201
|
) -> OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions
|
|
100
202
|
|
|
203
|
+
# Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
204
|
+
#
|
|
205
|
+
# The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
206
|
+
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
207
|
+
# of 24 hours.
|
|
208
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).
|
|
209
|
+
# This field expresses a maximum retention policy, while
|
|
210
|
+
# `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
211
|
+
# are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
212
|
+
# models, only `24h` is supported.
|
|
213
|
+
#
|
|
214
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
215
|
+
# your organization's data retention policy:
|
|
216
|
+
#
|
|
217
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
218
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
219
|
+
# `prompt_cache_retention` is not specified.
|
|
101
220
|
attr_accessor prompt_cache_retention: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::prompt_cache_retention?
|
|
102
221
|
|
|
222
|
+
# Configuration options for
|
|
223
|
+
# [reasoning models](https://developers.openai.com/api/docs/guides/reasoning).
|
|
103
224
|
attr_accessor reasoning: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning?
|
|
104
225
|
|
|
226
|
+
# A stable identifier used to help detect users of your application that may be
|
|
227
|
+
# violating OpenAI's usage policies. The IDs should be a string that uniquely
|
|
228
|
+
# identifies each user, with a maximum length of 64 characters. We recommend
|
|
229
|
+
# hashing their username or email address, in order to avoid sending us any
|
|
230
|
+
# identifying information.
|
|
231
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
105
232
|
attr_accessor safety_identifier: String?
|
|
106
233
|
|
|
234
|
+
# Specifies the processing type used for serving the request.
|
|
235
|
+
#
|
|
236
|
+
# - If set to 'auto', then the request will be processed with the service tier
|
|
237
|
+
# configured in the Project settings. Unless otherwise configured, the Project
|
|
238
|
+
# will use 'default'.
|
|
239
|
+
# - If set to 'default', then the request will be processed with the standard
|
|
240
|
+
# pricing and performance for the selected model.
|
|
241
|
+
# - If set to
|
|
242
|
+
# '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then
|
|
243
|
+
# the request will be processed with the Flex Processing service tier.
|
|
244
|
+
# - To opt-in to
|
|
245
|
+
# [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the
|
|
246
|
+
# request level, include the `service_tier=fast` or `service_tier=priority`
|
|
247
|
+
# parameter for Responses or Chat Completions. The response will show
|
|
248
|
+
# `service_tier=priority` regardless of if you specify `service_tier=fast` or
|
|
249
|
+
# `priority` in your request.
|
|
250
|
+
# - If set to 'ultrafast', then the request will be processed with the
|
|
251
|
+
# access-controlled Ultrafast Processing service tier. This tier is currently
|
|
252
|
+
# available for `gpt-5.6-sol`; a response served through it will show
|
|
253
|
+
# `service_tier=ultrafast`.
|
|
254
|
+
# - When not set, the default behavior is 'auto'.
|
|
255
|
+
#
|
|
256
|
+
# When the `service_tier` parameter is set, the response body will include the
|
|
257
|
+
# `service_tier` value based on the processing mode actually used to serve the
|
|
258
|
+
# request. This response value may be different from the value set in the
|
|
259
|
+
# parameter.
|
|
107
260
|
attr_accessor service_tier: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::service_tier?
|
|
108
261
|
|
|
262
|
+
# Whether to store the generated model response for later retrieval via API.
|
|
263
|
+
# Defaults to true when omitted. If set to true, response data will be stored for
|
|
264
|
+
# at least 30 days, subject to the
|
|
265
|
+
# [data retention exceptions](https://developers.openai.com/api/docs/guides/your-data#v1responses).
|
|
109
266
|
attr_accessor store: bool?
|
|
110
267
|
|
|
268
|
+
# If set to true, the model response data will be streamed to the client as it is
|
|
269
|
+
# generated using
|
|
270
|
+
# [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
|
|
271
|
+
# See the
|
|
272
|
+
# [Streaming section below](https://developers.openai.com/api/reference/resources/responses/streaming-events)
|
|
273
|
+
# for more information.
|
|
111
274
|
attr_accessor stream: bool?
|
|
112
275
|
|
|
276
|
+
# The WebSocket lane for this response. Requests with the same `stream_id` are
|
|
277
|
+
# processed FIFO, and events for the response echo the same `stream_id`.
|
|
278
|
+
#
|
|
279
|
+
# `stream_id` controls routing; `previous_response_id` controls conversation
|
|
280
|
+
# lineage, so a new lane can fork from a response created on another lane.
|
|
113
281
|
attr_reader stream_id: String?
|
|
114
282
|
|
|
283
|
+
# The WebSocket lane for this response. Requests with the same `stream_id` are
|
|
284
|
+
# processed FIFO, and events for the response echo the same `stream_id`.
|
|
285
|
+
#
|
|
286
|
+
# `stream_id` controls routing; `previous_response_id` controls conversation
|
|
287
|
+
# lineage, so a new lane can fork from a response created on another lane.
|
|
115
288
|
def stream_id=: (String) -> String
|
|
116
289
|
|
|
290
|
+
# Options for streaming responses. Only set this when you set `stream: true`.
|
|
117
291
|
attr_accessor stream_options: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::StreamOptions?
|
|
118
292
|
|
|
293
|
+
# What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
|
|
294
|
+
# make the output more random, while lower values like 0.2 will make it more
|
|
295
|
+
# focused and deterministic. We generally recommend altering this or `top_p` but
|
|
296
|
+
# not both.
|
|
119
297
|
attr_accessor temperature: Float?
|
|
120
298
|
|
|
299
|
+
# Configuration options for a text response from the model. Can be plain text or
|
|
300
|
+
# structured JSON data. Learn more:
|
|
301
|
+
#
|
|
302
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
303
|
+
# - [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)
|
|
121
304
|
attr_reader text: OpenAI::Beta::BetaResponseTextConfig?
|
|
122
305
|
|
|
306
|
+
# Configuration options for a text response from the model. Can be plain text or
|
|
307
|
+
# structured JSON data. Learn more:
|
|
308
|
+
#
|
|
309
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
310
|
+
# - [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)
|
|
123
311
|
def text=: (
|
|
124
312
|
OpenAI::Beta::BetaResponseTextConfig
|
|
125
313
|
) -> OpenAI::Beta::BetaResponseTextConfig
|
|
126
314
|
|
|
315
|
+
# How the model should select which tool (or tools) to use when generating a
|
|
316
|
+
# response. See the `tools` parameter to see how to specify which tools the model
|
|
317
|
+
# can call.
|
|
127
318
|
attr_reader tool_choice: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::tool_choice?
|
|
128
319
|
|
|
320
|
+
# How the model should select which tool (or tools) to use when generating a
|
|
321
|
+
# response. See the `tools` parameter to see how to specify which tools the model
|
|
322
|
+
# can call.
|
|
129
323
|
def tool_choice=: (
|
|
130
324
|
OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::tool_choice
|
|
131
325
|
) -> OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::tool_choice
|
|
132
326
|
|
|
327
|
+
# An array of tools the model may call while generating a response. You can
|
|
328
|
+
# specify which tool to use by setting the `tool_choice` parameter.
|
|
329
|
+
#
|
|
330
|
+
# We support the following categories of tools:
|
|
331
|
+
#
|
|
332
|
+
# - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
|
333
|
+
# capabilities, like
|
|
334
|
+
# [web search](https://developers.openai.com/api/docs/guides/tools-web-search)
|
|
335
|
+
# or
|
|
336
|
+
# [file search](https://developers.openai.com/api/docs/guides/tools-file-search).
|
|
337
|
+
# Learn more about
|
|
338
|
+
# [built-in tools](https://developers.openai.com/api/docs/guides/tools).
|
|
339
|
+
# - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
|
|
340
|
+
# predefined connectors such as Google Drive and SharePoint. Learn more about
|
|
341
|
+
# [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).
|
|
342
|
+
# - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
|
343
|
+
# the model to call your own code with strongly typed arguments and outputs.
|
|
344
|
+
# Learn more about
|
|
345
|
+
# [function calling](https://developers.openai.com/api/docs/guides/function-calling).
|
|
346
|
+
# You can also use custom tools to call your own code.
|
|
133
347
|
attr_reader tools: ::Array[OpenAI::Models::Beta::beta_tool]?
|
|
134
348
|
|
|
349
|
+
# An array of tools the model may call while generating a response. You can
|
|
350
|
+
# specify which tool to use by setting the `tool_choice` parameter.
|
|
351
|
+
#
|
|
352
|
+
# We support the following categories of tools:
|
|
353
|
+
#
|
|
354
|
+
# - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
|
355
|
+
# capabilities, like
|
|
356
|
+
# [web search](https://developers.openai.com/api/docs/guides/tools-web-search)
|
|
357
|
+
# or
|
|
358
|
+
# [file search](https://developers.openai.com/api/docs/guides/tools-file-search).
|
|
359
|
+
# Learn more about
|
|
360
|
+
# [built-in tools](https://developers.openai.com/api/docs/guides/tools).
|
|
361
|
+
# - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
|
|
362
|
+
# predefined connectors such as Google Drive and SharePoint. Learn more about
|
|
363
|
+
# [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).
|
|
364
|
+
# - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
|
365
|
+
# the model to call your own code with strongly typed arguments and outputs.
|
|
366
|
+
# Learn more about
|
|
367
|
+
# [function calling](https://developers.openai.com/api/docs/guides/function-calling).
|
|
368
|
+
# You can also use custom tools to call your own code.
|
|
135
369
|
def tools=: (
|
|
136
370
|
::Array[OpenAI::Models::Beta::beta_tool]
|
|
137
371
|
) -> ::Array[OpenAI::Models::Beta::beta_tool]
|
|
138
372
|
|
|
373
|
+
# An integer between 0 and 20 specifying the maximum number of most likely tokens
|
|
374
|
+
# to return at each token position, each with an associated log probability. In
|
|
375
|
+
# some cases, the number of returned tokens may be fewer than requested.
|
|
139
376
|
attr_accessor top_logprobs: Integer?
|
|
140
377
|
|
|
378
|
+
# An alternative to sampling with temperature, called nucleus sampling, where the
|
|
379
|
+
# model considers the results of the tokens with top_p probability mass. So 0.1
|
|
380
|
+
# means only the tokens comprising the top 10% probability mass are considered.
|
|
381
|
+
#
|
|
382
|
+
# We generally recommend altering this or `temperature` but not both.
|
|
141
383
|
attr_accessor top_p: Float?
|
|
142
384
|
|
|
385
|
+
# The truncation strategy to use for the model response.
|
|
386
|
+
#
|
|
387
|
+
# - `auto`: If the input to this Response exceeds the model's context window size,
|
|
388
|
+
# the model will truncate the response to fit the context window by dropping
|
|
389
|
+
# items from the beginning of the conversation.
|
|
390
|
+
# - `disabled` (default): If the input size will exceed the context window size
|
|
391
|
+
# for a model, the request will fail with a 400 error.
|
|
143
392
|
attr_accessor truncation: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::truncation?
|
|
144
393
|
|
|
394
|
+
# This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use
|
|
395
|
+
# `prompt_cache_key` instead to maintain caching optimizations. A stable
|
|
396
|
+
# identifier for your end-users. Used to boost cache hit rates by better bucketing
|
|
397
|
+
# similar requests and to help OpenAI detect and prevent abuse.
|
|
398
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
145
399
|
attr_reader user: String?
|
|
146
400
|
|
|
401
|
+
# This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use
|
|
402
|
+
# `prompt_cache_key` instead to maintain caching optimizations. A stable
|
|
403
|
+
# identifier for your end-users. Used to boost cache hit rates by better bucketing
|
|
404
|
+
# similar requests and to help OpenAI detect and prevent abuse.
|
|
405
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
147
406
|
def user=: (String) -> String
|
|
148
407
|
|
|
408
|
+
# @param background
|
|
409
|
+
# Whether to run the model response in the background.
|
|
410
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/background).
|
|
411
|
+
# @param context_management
|
|
412
|
+
# Context management configuration for this request.
|
|
413
|
+
# @param conversation
|
|
414
|
+
# The conversation that this response belongs to. Items from this conversation are
|
|
415
|
+
# prepended to `input_items` for this response request. Input items and output
|
|
416
|
+
# items from this response are automatically added to this conversation after this
|
|
417
|
+
# response completes.
|
|
418
|
+
# @param include
|
|
419
|
+
# Specify additional output data to include in the model response. Currently
|
|
420
|
+
# supported values are:
|
|
421
|
+
#
|
|
422
|
+
# - `web_search_call.action.sources`: Include the sources of the web search tool
|
|
423
|
+
# call.
|
|
424
|
+
# - `code_interpreter_call.outputs`: Includes the outputs of python code execution
|
|
425
|
+
# in code interpreter tool call items.
|
|
426
|
+
# - `computer_call_output.output.image_url`: Include image urls from the computer
|
|
427
|
+
# call output.
|
|
428
|
+
# - `file_search_call.results`: Include the search results of the file search tool
|
|
429
|
+
# call.
|
|
430
|
+
# - `message.input_image.image_url`: Include image urls from the input message.
|
|
431
|
+
# - `message.output_text.logprobs`: Include logprobs with assistant messages.
|
|
432
|
+
# - `reasoning.encrypted_content`: Includes an encrypted version of reasoning
|
|
433
|
+
# tokens in reasoning item outputs. This enables reasoning items to be used in
|
|
434
|
+
# multi-turn conversations when using the Responses API statelessly (like when
|
|
435
|
+
# the `store` parameter is set to `false`, or when an organization is enrolled
|
|
436
|
+
# in the zero data retention program).
|
|
437
|
+
# @param input
|
|
438
|
+
# Text, image, or file inputs to the model, used to generate a response.
|
|
439
|
+
#
|
|
440
|
+
# Learn more:
|
|
441
|
+
#
|
|
442
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
443
|
+
# - [Image inputs](https://developers.openai.com/api/docs/guides/images-vision)
|
|
444
|
+
# - [File inputs](https://developers.openai.com/api/docs/guides/file-inputs)
|
|
445
|
+
# - [Conversation state](https://developers.openai.com/api/docs/guides/conversation-state)
|
|
446
|
+
# - [Function calling](https://developers.openai.com/api/docs/guides/function-calling)
|
|
447
|
+
# @param instructions
|
|
448
|
+
# A system (or developer) message inserted into the model's context.
|
|
449
|
+
#
|
|
450
|
+
# When using along with `previous_response_id`, the instructions from a previous
|
|
451
|
+
# response will not be carried over to the next response. This makes it simple to
|
|
452
|
+
# swap out system (or developer) messages in new responses.
|
|
453
|
+
# @param max_output_tokens
|
|
454
|
+
# An upper bound for the number of tokens that can be generated for a response,
|
|
455
|
+
# including visible output tokens and
|
|
456
|
+
# [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).
|
|
457
|
+
# @param max_tool_calls
|
|
458
|
+
# The maximum number of total calls to built-in tools that can be processed in a
|
|
459
|
+
# response. This maximum number applies across all built-in tool calls, not per
|
|
460
|
+
# individual tool. Any further attempts to call a tool by the model will be
|
|
461
|
+
# ignored.
|
|
462
|
+
# @param metadata
|
|
463
|
+
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
464
|
+
# for storing additional information about the object in a structured format, and
|
|
465
|
+
# querying for objects via API or the dashboard.
|
|
466
|
+
#
|
|
467
|
+
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
468
|
+
# a maximum length of 512 characters.
|
|
469
|
+
# @param model
|
|
470
|
+
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
|
|
471
|
+
# range of models with different capabilities, performance characteristics, and
|
|
472
|
+
# price points. Refer to the
|
|
473
|
+
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
474
|
+
# compare available models.
|
|
475
|
+
# @param moderation
|
|
476
|
+
# Configuration for running moderation on the input and output of this response.
|
|
477
|
+
# @param multi_agent
|
|
478
|
+
# Configuration for server-hosted multi-agent execution.
|
|
479
|
+
# @param parallel_tool_calls
|
|
480
|
+
# Whether to allow the model to run tool calls in parallel.
|
|
481
|
+
# @param previous_response_id
|
|
482
|
+
# The unique ID of the previous response to the model. Use this to create
|
|
483
|
+
# multi-turn conversations. Learn more about
|
|
484
|
+
# [conversation state](https://developers.openai.com/api/docs/guides/conversation-state).
|
|
485
|
+
# Cannot be used in conjunction with `conversation`.
|
|
486
|
+
# @param prompt
|
|
487
|
+
# Reference to a prompt template and its variables.
|
|
488
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).
|
|
489
|
+
# @param prompt_cache_key
|
|
490
|
+
# Used by OpenAI to cache responses for similar requests to optimize your cache
|
|
491
|
+
# hit rates. Replaces the `user` field.
|
|
492
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).
|
|
493
|
+
# @param prompt_cache_options
|
|
494
|
+
# Options for prompt caching. Supported for `gpt-5.6` and later models. By
|
|
495
|
+
# default, OpenAI automatically chooses one implicit cache breakpoint. You can add
|
|
496
|
+
# explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each
|
|
497
|
+
# request can write up to four breakpoints. For cache matching, OpenAI considers
|
|
498
|
+
# up to the latest 80 breakpoints in the conversation, without a content-block
|
|
499
|
+
# lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The
|
|
500
|
+
# `ttl` defaults to `30m`, which is currently the only supported value. See the
|
|
501
|
+
# [prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching)
|
|
502
|
+
# for current details.
|
|
503
|
+
# @param prompt_cache_retention
|
|
504
|
+
# Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
505
|
+
#
|
|
506
|
+
# The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
507
|
+
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
508
|
+
# of 24 hours.
|
|
509
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).
|
|
510
|
+
# This field expresses a maximum retention policy, while
|
|
511
|
+
# `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
512
|
+
# are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
513
|
+
# models, only `24h` is supported.
|
|
514
|
+
#
|
|
515
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
516
|
+
# your organization's data retention policy:
|
|
517
|
+
#
|
|
518
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
519
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
520
|
+
# `prompt_cache_retention` is not specified.
|
|
521
|
+
# @param reasoning
|
|
522
|
+
# Configuration options for
|
|
523
|
+
# [reasoning models](https://developers.openai.com/api/docs/guides/reasoning).
|
|
524
|
+
# @param safety_identifier
|
|
525
|
+
# A stable identifier used to help detect users of your application that may be
|
|
526
|
+
# violating OpenAI's usage policies. The IDs should be a string that uniquely
|
|
527
|
+
# identifies each user, with a maximum length of 64 characters. We recommend
|
|
528
|
+
# hashing their username or email address, in order to avoid sending us any
|
|
529
|
+
# identifying information.
|
|
530
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
531
|
+
# @param service_tier
|
|
532
|
+
# Specifies the processing type used for serving the request.
|
|
533
|
+
#
|
|
534
|
+
# - If set to 'auto', then the request will be processed with the service tier
|
|
535
|
+
# configured in the Project settings. Unless otherwise configured, the Project
|
|
536
|
+
# will use 'default'.
|
|
537
|
+
# - If set to 'default', then the request will be processed with the standard
|
|
538
|
+
# pricing and performance for the selected model.
|
|
539
|
+
# - If set to
|
|
540
|
+
# '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then
|
|
541
|
+
# the request will be processed with the Flex Processing service tier.
|
|
542
|
+
# - To opt-in to
|
|
543
|
+
# [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the
|
|
544
|
+
# request level, include the `service_tier=fast` or `service_tier=priority`
|
|
545
|
+
# parameter for Responses or Chat Completions. The response will show
|
|
546
|
+
# `service_tier=priority` regardless of if you specify `service_tier=fast` or
|
|
547
|
+
# `priority` in your request.
|
|
548
|
+
# - If set to 'ultrafast', then the request will be processed with the
|
|
549
|
+
# access-controlled Ultrafast Processing service tier. This tier is currently
|
|
550
|
+
# available for `gpt-5.6-sol`; a response served through it will show
|
|
551
|
+
# `service_tier=ultrafast`.
|
|
552
|
+
# - When not set, the default behavior is 'auto'.
|
|
553
|
+
#
|
|
554
|
+
# When the `service_tier` parameter is set, the response body will include the
|
|
555
|
+
# `service_tier` value based on the processing mode actually used to serve the
|
|
556
|
+
# request. This response value may be different from the value set in the
|
|
557
|
+
# parameter.
|
|
558
|
+
# @param store
|
|
559
|
+
# Whether to store the generated model response for later retrieval via API.
|
|
560
|
+
# Defaults to true when omitted. If set to true, response data will be stored for
|
|
561
|
+
# at least 30 days, subject to the
|
|
562
|
+
# [data retention exceptions](https://developers.openai.com/api/docs/guides/your-data#v1responses).
|
|
563
|
+
# @param stream
|
|
564
|
+
# If set to true, the model response data will be streamed to the client as it is
|
|
565
|
+
# generated using
|
|
566
|
+
# [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).
|
|
567
|
+
# See the
|
|
568
|
+
# [Streaming section below](https://developers.openai.com/api/reference/resources/responses/streaming-events)
|
|
569
|
+
# for more information.
|
|
570
|
+
# @param stream_id
|
|
571
|
+
# The WebSocket lane for this response. Requests with the same `stream_id` are
|
|
572
|
+
# processed FIFO, and events for the response echo the same `stream_id`.
|
|
573
|
+
#
|
|
574
|
+
# `stream_id` controls routing; `previous_response_id` controls conversation
|
|
575
|
+
# lineage, so a new lane can fork from a response created on another lane.
|
|
576
|
+
# @param stream_options
|
|
577
|
+
# Options for streaming responses. Only set this when you set `stream: true`.
|
|
578
|
+
# @param temperature
|
|
579
|
+
# What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
|
|
580
|
+
# make the output more random, while lower values like 0.2 will make it more
|
|
581
|
+
# focused and deterministic. We generally recommend altering this or `top_p` but
|
|
582
|
+
# not both.
|
|
583
|
+
# @param text
|
|
584
|
+
# Configuration options for a text response from the model. Can be plain text or
|
|
585
|
+
# structured JSON data. Learn more:
|
|
586
|
+
#
|
|
587
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
588
|
+
# - [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)
|
|
589
|
+
# @param tool_choice
|
|
590
|
+
# How the model should select which tool (or tools) to use when generating a
|
|
591
|
+
# response. See the `tools` parameter to see how to specify which tools the model
|
|
592
|
+
# can call.
|
|
593
|
+
# @param tools
|
|
594
|
+
# An array of tools the model may call while generating a response. You can
|
|
595
|
+
# specify which tool to use by setting the `tool_choice` parameter.
|
|
596
|
+
#
|
|
597
|
+
# We support the following categories of tools:
|
|
598
|
+
#
|
|
599
|
+
# - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
|
600
|
+
# capabilities, like
|
|
601
|
+
# [web search](https://developers.openai.com/api/docs/guides/tools-web-search)
|
|
602
|
+
# or
|
|
603
|
+
# [file search](https://developers.openai.com/api/docs/guides/tools-file-search).
|
|
604
|
+
# Learn more about
|
|
605
|
+
# [built-in tools](https://developers.openai.com/api/docs/guides/tools).
|
|
606
|
+
# - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
|
|
607
|
+
# predefined connectors such as Google Drive and SharePoint. Learn more about
|
|
608
|
+
# [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).
|
|
609
|
+
# - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
|
610
|
+
# the model to call your own code with strongly typed arguments and outputs.
|
|
611
|
+
# Learn more about
|
|
612
|
+
# [function calling](https://developers.openai.com/api/docs/guides/function-calling).
|
|
613
|
+
# You can also use custom tools to call your own code.
|
|
614
|
+
# @param top_logprobs
|
|
615
|
+
# An integer between 0 and 20 specifying the maximum number of most likely tokens
|
|
616
|
+
# to return at each token position, each with an associated log probability. In
|
|
617
|
+
# some cases, the number of returned tokens may be fewer than requested.
|
|
618
|
+
# @param top_p
|
|
619
|
+
# An alternative to sampling with temperature, called nucleus sampling, where the
|
|
620
|
+
# model considers the results of the tokens with top_p probability mass. So 0.1
|
|
621
|
+
# means only the tokens comprising the top 10% probability mass are considered.
|
|
622
|
+
#
|
|
623
|
+
# We generally recommend altering this or `temperature` but not both.
|
|
624
|
+
# @param truncation
|
|
625
|
+
# The truncation strategy to use for the model response.
|
|
626
|
+
#
|
|
627
|
+
# - `auto`: If the input to this Response exceeds the model's context window size,
|
|
628
|
+
# the model will truncate the response to fit the context window by dropping
|
|
629
|
+
# items from the beginning of the conversation.
|
|
630
|
+
# - `disabled` (default): If the input size will exceed the context window size
|
|
631
|
+
# for a model, the request will fail with a 400 error.
|
|
632
|
+
# @param user
|
|
633
|
+
# This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use
|
|
634
|
+
# `prompt_cache_key` instead to maintain caching optimizations. A stable
|
|
635
|
+
# identifier for your end-users. Used to boost cache hit rates by better bucketing
|
|
636
|
+
# similar requests and to help OpenAI detect and prevent abuse.
|
|
637
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
638
|
+
# @param type
|
|
639
|
+
# The type of the client event. Always `response.create`.
|
|
149
640
|
def initialize: (
|
|
150
641
|
?background: bool?,
|
|
151
642
|
?context_management: ::Array[OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::ContextManagement]?,
|
|
@@ -224,10 +715,16 @@ module OpenAI
|
|
|
224
715
|
{ type: String, ?compact_threshold: Integer? }
|
|
225
716
|
|
|
226
717
|
class ContextManagement < OpenAI::Internal::Type::BaseModel
|
|
718
|
+
# The context management entry type. Currently only 'compaction' is supported.
|
|
227
719
|
attr_accessor type: String
|
|
228
720
|
|
|
721
|
+
# Token threshold at which compaction should be triggered for this entry.
|
|
229
722
|
attr_accessor compact_threshold: Integer?
|
|
230
723
|
|
|
724
|
+
# @param type
|
|
725
|
+
# The context management entry type. Currently only 'compaction' is supported.
|
|
726
|
+
# @param compact_threshold
|
|
727
|
+
# Token threshold at which compaction should be triggered for this entry.
|
|
231
728
|
def initialize: (type: String, ?compact_threshold: Integer?) -> void
|
|
232
729
|
|
|
233
730
|
def to_hash: -> { type: String, ?compact_threshold: Integer? }
|
|
@@ -271,6 +768,7 @@ module OpenAI
|
|
|
271
768
|
| :"gpt-5.1"
|
|
272
769
|
| :"gpt-5.1-2025-11-13"
|
|
273
770
|
| :"gpt-5.1-codex"
|
|
771
|
+
| :"gpt-5.1-mini"
|
|
274
772
|
| :"gpt-5.1-chat-latest"
|
|
275
773
|
| :"gpt-5"
|
|
276
774
|
| :"gpt-5-mini"
|
|
@@ -336,7 +834,6 @@ module OpenAI
|
|
|
336
834
|
| :"gpt-3.5-turbo-1106"
|
|
337
835
|
| :"gpt-3.5-turbo-0125"
|
|
338
836
|
| :"gpt-3.5-turbo-16k-0613"
|
|
339
|
-
| :"gpt-5.1-mini"
|
|
340
837
|
| :"o1-pro"
|
|
341
838
|
| :"o1-pro-2025-03-19"
|
|
342
839
|
| :"o3-pro"
|
|
@@ -383,6 +880,7 @@ module OpenAI
|
|
|
383
880
|
GPT_5_1: :"gpt-5.1"
|
|
384
881
|
GPT_5_1_2025_11_13: :"gpt-5.1-2025-11-13"
|
|
385
882
|
GPT_5_1_CODEX: :"gpt-5.1-codex"
|
|
883
|
+
GPT_5_1_MINI: :"gpt-5.1-mini"
|
|
386
884
|
GPT_5_1_CHAT_LATEST: :"gpt-5.1-chat-latest"
|
|
387
885
|
GPT_5: :"gpt-5"
|
|
388
886
|
GPT_5_MINI: :"gpt-5-mini"
|
|
@@ -448,7 +946,6 @@ module OpenAI
|
|
|
448
946
|
GPT_3_5_TURBO_1106: :"gpt-3.5-turbo-1106"
|
|
449
947
|
GPT_3_5_TURBO_0125: :"gpt-3.5-turbo-0125"
|
|
450
948
|
GPT_3_5_TURBO_16K_0613: :"gpt-3.5-turbo-16k-0613"
|
|
451
|
-
GPT_5_1_MINI: :"gpt-5.1-mini"
|
|
452
949
|
O1_PRO: :"o1-pro"
|
|
453
950
|
O1_PRO_2025_03_19: :"o1-pro-2025-03-19"
|
|
454
951
|
O3_PRO: :"o3-pro"
|
|
@@ -477,10 +974,18 @@ module OpenAI
|
|
|
477
974
|
}
|
|
478
975
|
|
|
479
976
|
class Moderation < OpenAI::Internal::Type::BaseModel
|
|
977
|
+
# The moderation model to use for moderated completions, e.g.
|
|
978
|
+
# 'omni-moderation-latest'.
|
|
480
979
|
attr_accessor model: String
|
|
481
980
|
|
|
981
|
+
# The policy to apply to moderated response input and output.
|
|
482
982
|
attr_accessor policy: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Moderation::Policy?
|
|
483
983
|
|
|
984
|
+
# @param model
|
|
985
|
+
# The moderation model to use for moderated completions, e.g.
|
|
986
|
+
# 'omni-moderation-latest'.
|
|
987
|
+
# @param policy
|
|
988
|
+
# The policy to apply to moderated response input and output.
|
|
484
989
|
def initialize: (
|
|
485
990
|
model: String,
|
|
486
991
|
?policy: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Moderation::Policy?
|
|
@@ -498,10 +1003,16 @@ module OpenAI
|
|
|
498
1003
|
}
|
|
499
1004
|
|
|
500
1005
|
class Policy < OpenAI::Internal::Type::BaseModel
|
|
1006
|
+
# The moderation policy for the response input.
|
|
501
1007
|
attr_accessor input: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Moderation::Policy::Input?
|
|
502
1008
|
|
|
1009
|
+
# The moderation policy for the response output.
|
|
503
1010
|
attr_accessor output: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Moderation::Policy::Output?
|
|
504
1011
|
|
|
1012
|
+
# @param input
|
|
1013
|
+
# The moderation policy for the response input.
|
|
1014
|
+
# @param output
|
|
1015
|
+
# The moderation policy for the response output.
|
|
505
1016
|
def initialize: (
|
|
506
1017
|
?input: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Moderation::Policy::Input?,
|
|
507
1018
|
?output: OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Moderation::Policy::Output?
|
|
@@ -574,12 +1085,34 @@ module OpenAI
|
|
|
574
1085
|
{ enabled: bool, ?max_concurrent_subagents: Integer }
|
|
575
1086
|
|
|
576
1087
|
class MultiAgent < OpenAI::Internal::Type::BaseModel
|
|
1088
|
+
# Whether to enable server-hosted multi-agent execution for this response.
|
|
577
1089
|
attr_accessor enabled: bool
|
|
578
1090
|
|
|
1091
|
+
# `max_concurrent_subagents` sets the maximum number of subagents that can be
|
|
1092
|
+
# active simultaneously across the entire agent tree. It includes all
|
|
1093
|
+
# descendants—children, grandchildren, and deeper subagents—but excludes the root
|
|
1094
|
+
# agent. The API does not impose a fixed upper bound on this setting. The default
|
|
1095
|
+
# is `3`, which is recommended for most workloads. Multi-agent runs also have no
|
|
1096
|
+
# fixed limit on tree depth or the total number of subagents created during a run.
|
|
579
1097
|
attr_reader max_concurrent_subagents: Integer?
|
|
580
1098
|
|
|
1099
|
+
# `max_concurrent_subagents` sets the maximum number of subagents that can be
|
|
1100
|
+
# active simultaneously across the entire agent tree. It includes all
|
|
1101
|
+
# descendants—children, grandchildren, and deeper subagents—but excludes the root
|
|
1102
|
+
# agent. The API does not impose a fixed upper bound on this setting. The default
|
|
1103
|
+
# is `3`, which is recommended for most workloads. Multi-agent runs also have no
|
|
1104
|
+
# fixed limit on tree depth or the total number of subagents created during a run.
|
|
581
1105
|
def max_concurrent_subagents=: (Integer) -> Integer
|
|
582
1106
|
|
|
1107
|
+
# @param enabled
|
|
1108
|
+
# Whether to enable server-hosted multi-agent execution for this response.
|
|
1109
|
+
# @param max_concurrent_subagents
|
|
1110
|
+
# `max_concurrent_subagents` sets the maximum number of subagents that can be
|
|
1111
|
+
# active simultaneously across the entire agent tree. It includes all
|
|
1112
|
+
# descendants—children, grandchildren, and deeper subagents—but excludes the root
|
|
1113
|
+
# agent. The API does not impose a fixed upper bound on this setting. The default
|
|
1114
|
+
# is `3`, which is recommended for most workloads. Multi-agent runs also have no
|
|
1115
|
+
# fixed limit on tree depth or the total number of subagents created during a run.
|
|
583
1116
|
def initialize: (
|
|
584
1117
|
enabled: bool,
|
|
585
1118
|
?max_concurrent_subagents: Integer
|
|
@@ -600,24 +1133,65 @@ module OpenAI
|
|
|
600
1133
|
}
|
|
601
1134
|
|
|
602
1135
|
class PromptCacheOptions < OpenAI::Internal::Type::BaseModel
|
|
1136
|
+
# The ID of a response to compare when diagnosing prompt cache reuse. Supplying
|
|
1137
|
+
# this field requests prompt cache diagnostics when the feature is enabled.
|
|
603
1138
|
attr_accessor comparison_response_id: String?
|
|
604
1139
|
|
|
1140
|
+
# Controls whether OpenAI automatically creates an implicit cache breakpoint.
|
|
1141
|
+
# Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint
|
|
1142
|
+
# and writes up to the latest three explicit breakpoints in the request. With
|
|
1143
|
+
# `explicit`, OpenAI does not create an implicit breakpoint and writes up to the
|
|
1144
|
+
# latest four explicit breakpoints. If there are no explicit breakpoints, the
|
|
1145
|
+
# request does not use prompt caching.
|
|
605
1146
|
attr_reader mode: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions::mode?
|
|
606
1147
|
|
|
1148
|
+
# Controls whether OpenAI automatically creates an implicit cache breakpoint.
|
|
1149
|
+
# Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint
|
|
1150
|
+
# and writes up to the latest three explicit breakpoints in the request. With
|
|
1151
|
+
# `explicit`, OpenAI does not create an implicit breakpoint and writes up to the
|
|
1152
|
+
# latest four explicit breakpoints. If there are no explicit breakpoints, the
|
|
1153
|
+
# request does not use prompt caching.
|
|
607
1154
|
def mode=: (
|
|
608
1155
|
OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions::mode
|
|
609
1156
|
) -> OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions::mode
|
|
610
1157
|
|
|
1158
|
+
# Prepares the prompt cache without generating output. Defaults to `false`. When
|
|
1159
|
+
# set to `true`, overrides the `generate` field to `false`.
|
|
611
1160
|
attr_reader prewarm: bool?
|
|
612
1161
|
|
|
1162
|
+
# Prepares the prompt cache without generating output. Defaults to `false`. When
|
|
1163
|
+
# set to `true`, overrides the `generate` field to `false`.
|
|
613
1164
|
def prewarm=: (bool) -> bool
|
|
614
1165
|
|
|
1166
|
+
# The minimum lifetime applied to every implicit and explicit cache breakpoint
|
|
1167
|
+
# written by the request. Defaults to `30m`, which is currently the only supported
|
|
1168
|
+
# value. The backend may retain cache entries for longer.
|
|
615
1169
|
attr_reader ttl: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions::ttl?
|
|
616
1170
|
|
|
1171
|
+
# The minimum lifetime applied to every implicit and explicit cache breakpoint
|
|
1172
|
+
# written by the request. Defaults to `30m`, which is currently the only supported
|
|
1173
|
+
# value. The backend may retain cache entries for longer.
|
|
617
1174
|
def ttl=: (
|
|
618
1175
|
OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions::ttl
|
|
619
1176
|
) -> OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions::ttl
|
|
620
1177
|
|
|
1178
|
+
# @param comparison_response_id
|
|
1179
|
+
# The ID of a response to compare when diagnosing prompt cache reuse. Supplying
|
|
1180
|
+
# this field requests prompt cache diagnostics when the feature is enabled.
|
|
1181
|
+
# @param mode
|
|
1182
|
+
# Controls whether OpenAI automatically creates an implicit cache breakpoint.
|
|
1183
|
+
# Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint
|
|
1184
|
+
# and writes up to the latest three explicit breakpoints in the request. With
|
|
1185
|
+
# `explicit`, OpenAI does not create an implicit breakpoint and writes up to the
|
|
1186
|
+
# latest four explicit breakpoints. If there are no explicit breakpoints, the
|
|
1187
|
+
# request does not use prompt caching.
|
|
1188
|
+
# @param prewarm
|
|
1189
|
+
# Prepares the prompt cache without generating output. Defaults to `false`. When
|
|
1190
|
+
# set to `true`, overrides the `generate` field to `false`.
|
|
1191
|
+
# @param ttl
|
|
1192
|
+
# The minimum lifetime applied to every implicit and explicit cache breakpoint
|
|
1193
|
+
# written by the request. Defaults to `30m`, which is currently the only supported
|
|
1194
|
+
# value. The backend may retain cache entries for longer.
|
|
621
1195
|
def initialize: (
|
|
622
1196
|
?comparison_response_id: String?,
|
|
623
1197
|
?mode: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::PromptCacheOptions::mode,
|
|
@@ -675,20 +1249,80 @@ module OpenAI
|
|
|
675
1249
|
}
|
|
676
1250
|
|
|
677
1251
|
class Reasoning < OpenAI::Internal::Type::BaseModel
|
|
1252
|
+
# Controls which reasoning items are rendered back to the model on later turns. If
|
|
1253
|
+
# omitted or set to `auto`, the model determines the context mode. The `gpt-5.6`
|
|
1254
|
+
# model family defaults to `all_turns`; earlier models default to `current_turn`.
|
|
1255
|
+
#
|
|
1256
|
+
# When returned on a response, this is the effective reasoning context mode used
|
|
1257
|
+
# for the response.
|
|
678
1258
|
attr_accessor context: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::context?
|
|
679
1259
|
|
|
1260
|
+
# Constrains effort on reasoning for reasoning models. Currently supported values
|
|
1261
|
+
# are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing
|
|
1262
|
+
# reasoning effort can result in faster responses and fewer tokens used on
|
|
1263
|
+
# reasoning in a response. Not all reasoning models support every value. See the
|
|
1264
|
+
# [reasoning guide](https://developers.openai.com/api/docs/guides/reasoning) for
|
|
1265
|
+
# model-specific support.
|
|
680
1266
|
attr_accessor effort: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::effort?
|
|
681
1267
|
|
|
1268
|
+
# **Deprecated:** use `summary` instead.
|
|
1269
|
+
#
|
|
1270
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1271
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1272
|
+
# `concise`, or `detailed`.
|
|
682
1273
|
attr_accessor generate_summary: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::generate_summary?
|
|
683
1274
|
|
|
1275
|
+
# Controls the reasoning execution mode for the request.
|
|
1276
|
+
#
|
|
1277
|
+
# When returned on a response, this is the effective execution mode.
|
|
684
1278
|
attr_reader mode: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::mode?
|
|
685
1279
|
|
|
1280
|
+
# Controls the reasoning execution mode for the request.
|
|
1281
|
+
#
|
|
1282
|
+
# When returned on a response, this is the effective execution mode.
|
|
686
1283
|
def mode=: (
|
|
687
1284
|
OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::mode
|
|
688
1285
|
) -> OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::mode
|
|
689
1286
|
|
|
1287
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1288
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1289
|
+
# `concise`, or `detailed`.
|
|
1290
|
+
#
|
|
1291
|
+
# `concise` is supported for `computer-use-preview` models and all reasoning
|
|
1292
|
+
# models after `gpt-5`.
|
|
690
1293
|
attr_accessor summary: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::summary?
|
|
691
1294
|
|
|
1295
|
+
# @param context
|
|
1296
|
+
# Controls which reasoning items are rendered back to the model on later turns. If
|
|
1297
|
+
# omitted or set to `auto`, the model determines the context mode. The `gpt-5.6`
|
|
1298
|
+
# model family defaults to `all_turns`; earlier models default to `current_turn`.
|
|
1299
|
+
#
|
|
1300
|
+
# When returned on a response, this is the effective reasoning context mode used
|
|
1301
|
+
# for the response.
|
|
1302
|
+
# @param effort
|
|
1303
|
+
# Constrains effort on reasoning for reasoning models. Currently supported values
|
|
1304
|
+
# are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing
|
|
1305
|
+
# reasoning effort can result in faster responses and fewer tokens used on
|
|
1306
|
+
# reasoning in a response. Not all reasoning models support every value. See the
|
|
1307
|
+
# [reasoning guide](https://developers.openai.com/api/docs/guides/reasoning) for
|
|
1308
|
+
# model-specific support.
|
|
1309
|
+
# @param generate_summary
|
|
1310
|
+
# **Deprecated:** use `summary` instead.
|
|
1311
|
+
#
|
|
1312
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1313
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1314
|
+
# `concise`, or `detailed`.
|
|
1315
|
+
# @param mode
|
|
1316
|
+
# Controls the reasoning execution mode for the request.
|
|
1317
|
+
#
|
|
1318
|
+
# When returned on a response, this is the effective execution mode.
|
|
1319
|
+
# @param summary
|
|
1320
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1321
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1322
|
+
# `concise`, or `detailed`.
|
|
1323
|
+
#
|
|
1324
|
+
# `concise` is supported for `computer-use-preview` models and all reasoning
|
|
1325
|
+
# models after `gpt-5`.
|
|
692
1326
|
def initialize: (
|
|
693
1327
|
?context: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::context?,
|
|
694
1328
|
?effort: OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Reasoning::effort?,
|
|
@@ -790,10 +1424,29 @@ module OpenAI
|
|
|
790
1424
|
type stream_options = { ?include_obfuscation: bool }
|
|
791
1425
|
|
|
792
1426
|
class StreamOptions < OpenAI::Internal::Type::BaseModel
|
|
1427
|
+
# When true, stream obfuscation will be enabled. Stream obfuscation adds random
|
|
1428
|
+
# characters to an `obfuscation` field on streaming delta events to normalize
|
|
1429
|
+
# payload sizes as a mitigation to certain side-channel attacks. These obfuscation
|
|
1430
|
+
# fields are included by default, but add a small amount of overhead to the data
|
|
1431
|
+
# stream. You can set `include_obfuscation` to false to optimize for bandwidth if
|
|
1432
|
+
# you trust the network links between your application and the OpenAI API.
|
|
793
1433
|
attr_reader include_obfuscation: bool?
|
|
794
1434
|
|
|
1435
|
+
# When true, stream obfuscation will be enabled. Stream obfuscation adds random
|
|
1436
|
+
# characters to an `obfuscation` field on streaming delta events to normalize
|
|
1437
|
+
# payload sizes as a mitigation to certain side-channel attacks. These obfuscation
|
|
1438
|
+
# fields are included by default, but add a small amount of overhead to the data
|
|
1439
|
+
# stream. You can set `include_obfuscation` to false to optimize for bandwidth if
|
|
1440
|
+
# you trust the network links between your application and the OpenAI API.
|
|
795
1441
|
def include_obfuscation=: (bool) -> bool
|
|
796
1442
|
|
|
1443
|
+
# @param include_obfuscation
|
|
1444
|
+
# When true, stream obfuscation will be enabled. Stream obfuscation adds random
|
|
1445
|
+
# characters to an `obfuscation` field on streaming delta events to normalize
|
|
1446
|
+
# payload sizes as a mitigation to certain side-channel attacks. These obfuscation
|
|
1447
|
+
# fields are included by default, but add a small amount of overhead to the data
|
|
1448
|
+
# stream. You can set `include_obfuscation` to false to optimize for bandwidth if
|
|
1449
|
+
# you trust the network links between your application and the OpenAI API.
|
|
797
1450
|
def initialize: (?include_obfuscation: bool) -> void
|
|
798
1451
|
|
|
799
1452
|
def to_hash: -> { ?include_obfuscation: bool }
|
|
@@ -817,8 +1470,11 @@ module OpenAI
|
|
|
817
1470
|
{ ?type: :programmatic_tool_calling }
|
|
818
1471
|
|
|
819
1472
|
class BetaSpecificProgrammaticToolCallingParam < OpenAI::Internal::Type::BaseModel
|
|
1473
|
+
# The tool to call. Always `programmatic_tool_calling`.
|
|
820
1474
|
attr_accessor type: :programmatic_tool_calling
|
|
821
1475
|
|
|
1476
|
+
# @param type
|
|
1477
|
+
# The tool to call. Always `programmatic_tool_calling`.
|
|
822
1478
|
def initialize: (?type: :programmatic_tool_calling) -> void
|
|
823
1479
|
|
|
824
1480
|
def to_hash: -> { ?type: :programmatic_tool_calling }
|