openai 0.91.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 +36 -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 +25 -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/realtime/realtime_response_create_mcp_tool.rb +16 -0
- data/lib/openai/models/realtime/realtime_session_create_response.rb +16 -0
- data/lib/openai/models/realtime/realtime_tools_config_union.rb +16 -0
- 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 +25 -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/deleted_webhook_endpoint.rb +38 -0
- data/lib/openai/models/webhooks/event_type_list_params.rb +16 -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/models/webhooks/webhook_create_params.rb +73 -0
- data/lib/openai/models/webhooks/webhook_delete_params.rb +22 -0
- data/lib/openai/models/webhooks/webhook_endpoint.rb +85 -0
- data/lib/openai/models/webhooks/webhook_endpoint_list.rb +55 -0
- data/lib/openai/models/webhooks/webhook_endpoint_test_result.rb +58 -0
- data/lib/openai/models/webhooks/webhook_endpoint_with_secret.rb +105 -0
- data/lib/openai/models/webhooks/webhook_event_type_list.rb +28 -0
- data/lib/openai/models/webhooks/webhook_list_params.rb +34 -0
- data/lib/openai/models/webhooks/webhook_retrieve_params.rb +22 -0
- data/lib/openai/models/webhooks/webhook_rotate_secret_params.rb +34 -0
- data/lib/openai/models/webhooks/webhook_test_params.rb +59 -0
- data/lib/openai/models/webhooks/webhook_update_params.rb +80 -0
- 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/event_types.rb +35 -0
- data/lib/openai/resources/webhooks.rb +196 -1
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +34 -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 +21 -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/realtime/realtime_response_create_mcp_tool.rbi +12 -0
- data/rbi/openai/models/realtime/realtime_session_create_response.rbi +12 -0
- data/rbi/openai/models/realtime/realtime_tools_config_union.rbi +12 -0
- 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 +21 -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/deleted_webhook_endpoint.rbi +67 -0
- data/rbi/openai/models/webhooks/event_type_list_params.rbi +37 -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/models/webhooks/webhook_create_params.rbi +139 -0
- data/rbi/openai/models/webhooks/webhook_delete_params.rbi +53 -0
- data/rbi/openai/models/webhooks/webhook_endpoint.rbi +126 -0
- data/rbi/openai/models/webhooks/webhook_endpoint_list.rbi +91 -0
- data/rbi/openai/models/webhooks/webhook_endpoint_test_result.rbi +87 -0
- data/rbi/openai/models/webhooks/webhook_endpoint_with_secret.rbi +138 -0
- data/rbi/openai/models/webhooks/webhook_event_type_list.rbi +58 -0
- data/rbi/openai/models/webhooks/webhook_list_params.rbi +67 -0
- data/rbi/openai/models/webhooks/webhook_retrieve_params.rbi +53 -0
- data/rbi/openai/models/webhooks/webhook_rotate_secret_params.rbi +71 -0
- data/rbi/openai/models/webhooks/webhook_test_params.rbi +124 -0
- data/rbi/openai/models/webhooks/webhook_update_params.rbi +156 -0
- 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/event_types.rbi +24 -0
- data/rbi/openai/resources/webhooks.rbi +129 -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 +37 -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/event_type_list_params.rbs +16 -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 +92 -0
- data/sig/openai/models/webhooks/webhook_delete_params.rbs +25 -0
- data/sig/openai/models/webhooks/webhook_endpoint.rbs +87 -0
- data/sig/openai/models/webhooks/webhook_endpoint_list.rbs +57 -0
- data/sig/openai/models/webhooks/webhook_endpoint_test_result.rbs +59 -0
- data/sig/openai/models/webhooks/webhook_endpoint_with_secret.rbs +97 -0
- data/sig/openai/models/webhooks/webhook_event_type_list.rbs +23 -0
- data/sig/openai/models/webhooks/webhook_list_params.rbs +42 -0
- data/sig/openai/models/webhooks/webhook_retrieve_params.rbs +25 -0
- data/sig/openai/models/webhooks/webhook_rotate_secret_params.rbs +42 -0
- data/sig/openai/models/webhooks/webhook_test_params.rbs +81 -0
- data/sig/openai/models/webhooks/webhook_update_params.rbs +108 -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/event_types.rbs +13 -0
- data/sig/openai/resources/webhooks.rbs +48 -1
- metadata +100 -1
|
@@ -54,24 +54,46 @@ module OpenAI
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
class Message < OpenAI::Internal::Type::BaseModel
|
|
57
|
+
# A list of one or many input items to the model, containing different content
|
|
58
|
+
# types.
|
|
57
59
|
attr_accessor content: OpenAI::Models::Beta::beta_response_input_message_content_list
|
|
58
60
|
|
|
61
|
+
# The role of the message input. One of `user`, `system`, or `developer`.
|
|
59
62
|
attr_accessor role: OpenAI::Models::Beta::BetaResponseInputItem::Message::role
|
|
60
63
|
|
|
64
|
+
# The agent that produced this item.
|
|
61
65
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::Message::Agent?
|
|
62
66
|
|
|
67
|
+
# The status of item. One of `in_progress`, `completed`, or `incomplete`.
|
|
68
|
+
# Populated when items are returned via API.
|
|
63
69
|
attr_reader status: OpenAI::Models::Beta::BetaResponseInputItem::Message::status?
|
|
64
70
|
|
|
71
|
+
# The status of item. One of `in_progress`, `completed`, or `incomplete`.
|
|
72
|
+
# Populated when items are returned via API.
|
|
65
73
|
def status=: (
|
|
66
74
|
OpenAI::Models::Beta::BetaResponseInputItem::Message::status
|
|
67
75
|
) -> OpenAI::Models::Beta::BetaResponseInputItem::Message::status
|
|
68
76
|
|
|
77
|
+
# The type of the message input. Always set to `message`.
|
|
69
78
|
attr_reader type: OpenAI::Models::Beta::BetaResponseInputItem::Message::type_?
|
|
70
79
|
|
|
80
|
+
# The type of the message input. Always set to `message`.
|
|
71
81
|
def type=: (
|
|
72
82
|
OpenAI::Models::Beta::BetaResponseInputItem::Message::type_
|
|
73
83
|
) -> OpenAI::Models::Beta::BetaResponseInputItem::Message::type_
|
|
74
84
|
|
|
85
|
+
# @param content
|
|
86
|
+
# A list of one or many input items to the model, containing different content
|
|
87
|
+
# types.
|
|
88
|
+
# @param role
|
|
89
|
+
# The role of the message input. One of `user`, `system`, or `developer`.
|
|
90
|
+
# @param agent
|
|
91
|
+
# The agent that produced this item.
|
|
92
|
+
# @param status
|
|
93
|
+
# The status of item. One of `in_progress`, `completed`, or `incomplete`.
|
|
94
|
+
# Populated when items are returned via API.
|
|
95
|
+
# @param type
|
|
96
|
+
# The type of the message input. Always set to `message`.
|
|
75
97
|
def initialize: (
|
|
76
98
|
content: OpenAI::Models::Beta::beta_response_input_message_content_list,
|
|
77
99
|
role: OpenAI::Models::Beta::BetaResponseInputItem::Message::role,
|
|
@@ -103,8 +125,11 @@ module OpenAI
|
|
|
103
125
|
type agent = { agent_name: String }
|
|
104
126
|
|
|
105
127
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
128
|
+
# The canonical name of the agent that produced this item.
|
|
106
129
|
attr_accessor agent_name: String
|
|
107
130
|
|
|
131
|
+
# @param agent_name
|
|
132
|
+
# The canonical name of the agent that produced this item.
|
|
108
133
|
def initialize: (agent_name: String) -> void
|
|
109
134
|
|
|
110
135
|
def to_hash: -> { agent_name: String }
|
|
@@ -145,20 +170,45 @@ module OpenAI
|
|
|
145
170
|
}
|
|
146
171
|
|
|
147
172
|
class ComputerCallOutput < OpenAI::Internal::Type::BaseModel
|
|
173
|
+
# The ID of the computer tool call that produced the output.
|
|
148
174
|
attr_accessor call_id: String
|
|
149
175
|
|
|
176
|
+
# A computer screenshot image used with the computer use tool.
|
|
150
177
|
attr_accessor output: OpenAI::Beta::BetaResponseComputerToolCallOutputScreenshot
|
|
151
178
|
|
|
179
|
+
# The type of the computer tool call output. Always `computer_call_output`.
|
|
152
180
|
attr_accessor type: :computer_call_output
|
|
153
181
|
|
|
182
|
+
# The ID of the computer tool call output.
|
|
154
183
|
attr_accessor id: String?
|
|
155
184
|
|
|
185
|
+
# The safety checks reported by the API that have been acknowledged by the
|
|
186
|
+
# developer.
|
|
156
187
|
attr_accessor acknowledged_safety_checks: ::Array[OpenAI::Beta::BetaResponseInputItem::ComputerCallOutput::AcknowledgedSafetyCheck]?
|
|
157
188
|
|
|
189
|
+
# The agent that produced this item.
|
|
158
190
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ComputerCallOutput::Agent?
|
|
159
191
|
|
|
192
|
+
# The status of the message input. One of `in_progress`, `completed`, or
|
|
193
|
+
# `incomplete`. Populated when input items are returned via API.
|
|
160
194
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ComputerCallOutput::status?
|
|
161
195
|
|
|
196
|
+
# @param call_id
|
|
197
|
+
# The ID of the computer tool call that produced the output.
|
|
198
|
+
# @param output
|
|
199
|
+
# A computer screenshot image used with the computer use tool.
|
|
200
|
+
# @param id
|
|
201
|
+
# The ID of the computer tool call output.
|
|
202
|
+
# @param acknowledged_safety_checks
|
|
203
|
+
# The safety checks reported by the API that have been acknowledged by the
|
|
204
|
+
# developer.
|
|
205
|
+
# @param agent
|
|
206
|
+
# The agent that produced this item.
|
|
207
|
+
# @param status
|
|
208
|
+
# The status of the message input. One of `in_progress`, `completed`, or
|
|
209
|
+
# `incomplete`. Populated when input items are returned via API.
|
|
210
|
+
# @param type
|
|
211
|
+
# The type of the computer tool call output. Always `computer_call_output`.
|
|
162
212
|
def initialize: (
|
|
163
213
|
call_id: String,
|
|
164
214
|
output: OpenAI::Beta::BetaResponseComputerToolCallOutputScreenshot,
|
|
@@ -183,12 +233,21 @@ module OpenAI
|
|
|
183
233
|
{ id: String, ?code: String?, ?message: String? }
|
|
184
234
|
|
|
185
235
|
class AcknowledgedSafetyCheck < OpenAI::Internal::Type::BaseModel
|
|
236
|
+
# The ID of the pending safety check.
|
|
186
237
|
attr_accessor id: String
|
|
187
238
|
|
|
239
|
+
# The type of the pending safety check.
|
|
188
240
|
attr_accessor code: String?
|
|
189
241
|
|
|
242
|
+
# Details about the pending safety check.
|
|
190
243
|
attr_accessor message: String?
|
|
191
244
|
|
|
245
|
+
# @param id
|
|
246
|
+
# The ID of the pending safety check.
|
|
247
|
+
# @param code
|
|
248
|
+
# The type of the pending safety check.
|
|
249
|
+
# @param message
|
|
250
|
+
# Details about the pending safety check.
|
|
192
251
|
def initialize: (
|
|
193
252
|
id: String,
|
|
194
253
|
?code: String?,
|
|
@@ -201,8 +260,11 @@ module OpenAI
|
|
|
201
260
|
type agent = { agent_name: String }
|
|
202
261
|
|
|
203
262
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
263
|
+
# The canonical name of the agent that produced this item.
|
|
204
264
|
attr_accessor agent_name: String
|
|
205
265
|
|
|
266
|
+
# @param agent_name
|
|
267
|
+
# The canonical name of the agent that produced this item.
|
|
206
268
|
def initialize: (agent_name: String) -> void
|
|
207
269
|
|
|
208
270
|
def to_hash: -> { agent_name: String }
|
|
@@ -235,24 +297,55 @@ module OpenAI
|
|
|
235
297
|
}
|
|
236
298
|
|
|
237
299
|
class FunctionCallOutput < OpenAI::Internal::Type::BaseModel
|
|
300
|
+
# Text, image, or file output of the function tool call.
|
|
238
301
|
attr_accessor output: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::output
|
|
239
302
|
|
|
303
|
+
# The type of the function tool call output. Always `function_call_output`.
|
|
240
304
|
attr_accessor type: :function_call_output
|
|
241
305
|
|
|
306
|
+
# The unique ID of the function tool call output. Populated when this item is
|
|
307
|
+
# returned via API.
|
|
242
308
|
attr_accessor id: String?
|
|
243
309
|
|
|
310
|
+
# The agent that produced this item.
|
|
244
311
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Agent?
|
|
245
312
|
|
|
313
|
+
# The unique ID of the function tool call generated by the model.
|
|
246
314
|
attr_accessor call_id: String?
|
|
247
315
|
|
|
316
|
+
# The execution context that produced this tool call.
|
|
248
317
|
attr_accessor caller_: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::caller_?
|
|
249
318
|
|
|
319
|
+
# The name of the tool that produced the output.
|
|
250
320
|
attr_accessor name: String?
|
|
251
321
|
|
|
322
|
+
# The namespace of the tool that produced the output.
|
|
252
323
|
attr_accessor namespace: String?
|
|
253
324
|
|
|
325
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
326
|
+
# Populated when items are returned via API.
|
|
254
327
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::status?
|
|
255
328
|
|
|
329
|
+
# @param output
|
|
330
|
+
# Text, image, or file output of the function tool call.
|
|
331
|
+
# @param id
|
|
332
|
+
# The unique ID of the function tool call output. Populated when this item is
|
|
333
|
+
# returned via API.
|
|
334
|
+
# @param agent
|
|
335
|
+
# The agent that produced this item.
|
|
336
|
+
# @param call_id
|
|
337
|
+
# The unique ID of the function tool call generated by the model.
|
|
338
|
+
# @param caller_
|
|
339
|
+
# The execution context that produced this tool call.
|
|
340
|
+
# @param name
|
|
341
|
+
# The name of the tool that produced the output.
|
|
342
|
+
# @param namespace
|
|
343
|
+
# The namespace of the tool that produced the output.
|
|
344
|
+
# @param status
|
|
345
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
346
|
+
# Populated when items are returned via API.
|
|
347
|
+
# @param type
|
|
348
|
+
# The type of the function tool call output. Always `function_call_output`.
|
|
256
349
|
def initialize: (
|
|
257
350
|
output: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::output,
|
|
258
351
|
?id: String?,
|
|
@@ -290,8 +383,11 @@ module OpenAI
|
|
|
290
383
|
type agent = { agent_name: String }
|
|
291
384
|
|
|
292
385
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
386
|
+
# The canonical name of the agent that produced this item.
|
|
293
387
|
attr_accessor agent_name: String
|
|
294
388
|
|
|
389
|
+
# @param agent_name
|
|
390
|
+
# The canonical name of the agent that produced this item.
|
|
295
391
|
def initialize: (agent_name: String) -> void
|
|
296
392
|
|
|
297
393
|
def to_hash: -> { agent_name: String }
|
|
@@ -307,8 +403,11 @@ module OpenAI
|
|
|
307
403
|
type direct = { ?type: :direct }
|
|
308
404
|
|
|
309
405
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
406
|
+
# The caller type. Always `direct`.
|
|
310
407
|
attr_accessor type: :direct
|
|
311
408
|
|
|
409
|
+
# @param type
|
|
410
|
+
# The caller type. Always `direct`.
|
|
312
411
|
def initialize: (?type: :direct) -> void
|
|
313
412
|
|
|
314
413
|
def to_hash: -> { ?type: :direct }
|
|
@@ -317,10 +416,16 @@ module OpenAI
|
|
|
317
416
|
type program = { caller_id: String, ?type: :program }
|
|
318
417
|
|
|
319
418
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
419
|
+
# The call ID of the program item that produced this tool call.
|
|
320
420
|
attr_accessor caller_id: String
|
|
321
421
|
|
|
422
|
+
# The caller type. Always `program`.
|
|
322
423
|
attr_accessor type: :program
|
|
323
424
|
|
|
425
|
+
# @param caller_id
|
|
426
|
+
# The call ID of the program item that produced this tool call.
|
|
427
|
+
# @param type
|
|
428
|
+
# The caller type. Always `program`.
|
|
324
429
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
325
430
|
|
|
326
431
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -353,18 +458,36 @@ module OpenAI
|
|
|
353
458
|
}
|
|
354
459
|
|
|
355
460
|
class AgentMessage < OpenAI::Internal::Type::BaseModel
|
|
461
|
+
# The sending agent identity.
|
|
356
462
|
attr_accessor author: String
|
|
357
463
|
|
|
464
|
+
# Plaintext, image, or encrypted content sent between agents.
|
|
358
465
|
attr_accessor content: ::Array[OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage::content]
|
|
359
466
|
|
|
467
|
+
# The destination agent identity.
|
|
360
468
|
attr_accessor recipient: String
|
|
361
469
|
|
|
470
|
+
# The item type. Always `agent_message`.
|
|
362
471
|
attr_accessor type: :agent_message
|
|
363
472
|
|
|
473
|
+
# The unique ID of this agent message item.
|
|
364
474
|
attr_accessor id: String?
|
|
365
475
|
|
|
476
|
+
# The agent that produced this item.
|
|
366
477
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::AgentMessage::Agent?
|
|
367
478
|
|
|
479
|
+
# @param author
|
|
480
|
+
# The sending agent identity.
|
|
481
|
+
# @param content
|
|
482
|
+
# Plaintext, image, or encrypted content sent between agents.
|
|
483
|
+
# @param recipient
|
|
484
|
+
# The destination agent identity.
|
|
485
|
+
# @param id
|
|
486
|
+
# The unique ID of this agent message item.
|
|
487
|
+
# @param agent
|
|
488
|
+
# The agent that produced this item.
|
|
489
|
+
# @param type
|
|
490
|
+
# The item type. Always `agent_message`.
|
|
368
491
|
def initialize: (
|
|
369
492
|
author: String,
|
|
370
493
|
content: ::Array[OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage::content],
|
|
@@ -395,10 +518,16 @@ module OpenAI
|
|
|
395
518
|
{ encrypted_content: String, ?type: :encrypted_content }
|
|
396
519
|
|
|
397
520
|
class EncryptedContent < OpenAI::Internal::Type::BaseModel
|
|
521
|
+
# Opaque encrypted content.
|
|
398
522
|
attr_accessor encrypted_content: String
|
|
399
523
|
|
|
524
|
+
# The type of the input item. Always `encrypted_content`.
|
|
400
525
|
attr_accessor type: :encrypted_content
|
|
401
526
|
|
|
527
|
+
# @param encrypted_content
|
|
528
|
+
# Opaque encrypted content.
|
|
529
|
+
# @param type
|
|
530
|
+
# The type of the input item. Always `encrypted_content`.
|
|
402
531
|
def initialize: (
|
|
403
532
|
encrypted_content: String,
|
|
404
533
|
?type: :encrypted_content
|
|
@@ -416,8 +545,11 @@ module OpenAI
|
|
|
416
545
|
type agent = { agent_name: String }
|
|
417
546
|
|
|
418
547
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
548
|
+
# The canonical name of the agent that produced this item.
|
|
419
549
|
attr_accessor agent_name: String
|
|
420
550
|
|
|
551
|
+
# @param agent_name
|
|
552
|
+
# The canonical name of the agent that produced this item.
|
|
421
553
|
def initialize: (agent_name: String) -> void
|
|
422
554
|
|
|
423
555
|
def to_hash: -> { agent_name: String }
|
|
@@ -435,18 +567,36 @@ module OpenAI
|
|
|
435
567
|
}
|
|
436
568
|
|
|
437
569
|
class MultiAgentCall < OpenAI::Internal::Type::BaseModel
|
|
570
|
+
# The multi-agent action that was executed.
|
|
438
571
|
attr_accessor action: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::action
|
|
439
572
|
|
|
573
|
+
# The action arguments as a JSON string.
|
|
440
574
|
attr_accessor arguments: String
|
|
441
575
|
|
|
576
|
+
# The unique ID linking this call to its output.
|
|
442
577
|
attr_accessor call_id: String
|
|
443
578
|
|
|
579
|
+
# The item type. Always `multi_agent_call`.
|
|
444
580
|
attr_accessor type: :multi_agent_call
|
|
445
581
|
|
|
582
|
+
# The unique ID of this multi-agent call.
|
|
446
583
|
attr_accessor id: String?
|
|
447
584
|
|
|
585
|
+
# The agent that produced this item.
|
|
448
586
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::MultiAgentCall::Agent?
|
|
449
587
|
|
|
588
|
+
# @param action
|
|
589
|
+
# The multi-agent action that was executed.
|
|
590
|
+
# @param arguments
|
|
591
|
+
# The action arguments as a JSON string.
|
|
592
|
+
# @param call_id
|
|
593
|
+
# The unique ID linking this call to its output.
|
|
594
|
+
# @param id
|
|
595
|
+
# The unique ID of this multi-agent call.
|
|
596
|
+
# @param agent
|
|
597
|
+
# The agent that produced this item.
|
|
598
|
+
# @param type
|
|
599
|
+
# The item type. Always `multi_agent_call`.
|
|
450
600
|
def initialize: (
|
|
451
601
|
action: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::action,
|
|
452
602
|
arguments: String,
|
|
@@ -489,8 +639,11 @@ module OpenAI
|
|
|
489
639
|
type agent = { agent_name: String }
|
|
490
640
|
|
|
491
641
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
642
|
+
# The canonical name of the agent that produced this item.
|
|
492
643
|
attr_accessor agent_name: String
|
|
493
644
|
|
|
645
|
+
# @param agent_name
|
|
646
|
+
# The canonical name of the agent that produced this item.
|
|
494
647
|
def initialize: (agent_name: String) -> void
|
|
495
648
|
|
|
496
649
|
def to_hash: -> { agent_name: String }
|
|
@@ -508,18 +661,36 @@ module OpenAI
|
|
|
508
661
|
}
|
|
509
662
|
|
|
510
663
|
class MultiAgentCallOutput < OpenAI::Internal::Type::BaseModel
|
|
664
|
+
# The multi-agent action that produced this result.
|
|
511
665
|
attr_accessor action: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action
|
|
512
666
|
|
|
667
|
+
# The unique ID of the multi-agent call.
|
|
513
668
|
attr_accessor call_id: String
|
|
514
669
|
|
|
670
|
+
# Text output returned by the multi-agent action.
|
|
515
671
|
attr_accessor output: ::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output]
|
|
516
672
|
|
|
673
|
+
# The item type. Always `multi_agent_call_output`.
|
|
517
674
|
attr_accessor type: :multi_agent_call_output
|
|
518
675
|
|
|
676
|
+
# The unique ID of this multi-agent call output.
|
|
519
677
|
attr_accessor id: String?
|
|
520
678
|
|
|
679
|
+
# The agent that produced this item.
|
|
521
680
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Agent?
|
|
522
681
|
|
|
682
|
+
# @param action
|
|
683
|
+
# The multi-agent action that produced this result.
|
|
684
|
+
# @param call_id
|
|
685
|
+
# The unique ID of the multi-agent call.
|
|
686
|
+
# @param output
|
|
687
|
+
# Text output returned by the multi-agent action.
|
|
688
|
+
# @param id
|
|
689
|
+
# The unique ID of this multi-agent call output.
|
|
690
|
+
# @param agent
|
|
691
|
+
# The agent that produced this item.
|
|
692
|
+
# @param type
|
|
693
|
+
# The item type. Always `multi_agent_call_output`.
|
|
523
694
|
def initialize: (
|
|
524
695
|
action: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action,
|
|
525
696
|
call_id: String,
|
|
@@ -567,16 +738,26 @@ module OpenAI
|
|
|
567
738
|
}
|
|
568
739
|
|
|
569
740
|
class Output < OpenAI::Internal::Type::BaseModel
|
|
741
|
+
# The text content.
|
|
570
742
|
attr_accessor text: String
|
|
571
743
|
|
|
744
|
+
# The content type. Always `output_text`.
|
|
572
745
|
attr_accessor type: :output_text
|
|
573
746
|
|
|
747
|
+
# Citations associated with the text content.
|
|
574
748
|
attr_reader annotations: ::Array[OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::annotation]?
|
|
575
749
|
|
|
750
|
+
# Citations associated with the text content.
|
|
576
751
|
def annotations=: (
|
|
577
752
|
::Array[OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::annotation]
|
|
578
753
|
) -> ::Array[OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::annotation]
|
|
579
754
|
|
|
755
|
+
# @param text
|
|
756
|
+
# The text content.
|
|
757
|
+
# @param annotations
|
|
758
|
+
# Citations associated with the text content.
|
|
759
|
+
# @param type
|
|
760
|
+
# The content type. Always `output_text`.
|
|
580
761
|
def initialize: (
|
|
581
762
|
text: String,
|
|
582
763
|
?annotations: ::Array[OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::annotation],
|
|
@@ -606,14 +787,26 @@ module OpenAI
|
|
|
606
787
|
}
|
|
607
788
|
|
|
608
789
|
class FileCitation < OpenAI::Internal::Type::BaseModel
|
|
790
|
+
# The ID of the file.
|
|
609
791
|
attr_accessor file_id: String
|
|
610
792
|
|
|
793
|
+
# The filename of the file cited.
|
|
611
794
|
attr_accessor filename: String
|
|
612
795
|
|
|
796
|
+
# The index of the file in the list of files.
|
|
613
797
|
attr_accessor index: Integer
|
|
614
798
|
|
|
799
|
+
# The citation type. Always `file_citation`.
|
|
615
800
|
attr_accessor type: :file_citation
|
|
616
801
|
|
|
802
|
+
# @param file_id
|
|
803
|
+
# The ID of the file.
|
|
804
|
+
# @param filename
|
|
805
|
+
# The filename of the file cited.
|
|
806
|
+
# @param index
|
|
807
|
+
# The index of the file in the list of files.
|
|
808
|
+
# @param type
|
|
809
|
+
# The citation type. Always `file_citation`.
|
|
617
810
|
def initialize: (
|
|
618
811
|
file_id: String,
|
|
619
812
|
filename: String,
|
|
@@ -639,16 +832,31 @@ module OpenAI
|
|
|
639
832
|
}
|
|
640
833
|
|
|
641
834
|
class URLCitation < OpenAI::Internal::Type::BaseModel
|
|
835
|
+
# The index of the last character of the citation in the message.
|
|
642
836
|
attr_accessor end_index: Integer
|
|
643
837
|
|
|
838
|
+
# The index of the first character of the citation in the message.
|
|
644
839
|
attr_accessor start_index: Integer
|
|
645
840
|
|
|
841
|
+
# The title of the cited resource.
|
|
646
842
|
attr_accessor title: String
|
|
647
843
|
|
|
844
|
+
# The citation type. Always `url_citation`.
|
|
648
845
|
attr_accessor type: :url_citation
|
|
649
846
|
|
|
847
|
+
# The URL of the cited resource.
|
|
650
848
|
attr_accessor url: String
|
|
651
849
|
|
|
850
|
+
# @param end_index
|
|
851
|
+
# The index of the last character of the citation in the message.
|
|
852
|
+
# @param start_index
|
|
853
|
+
# The index of the first character of the citation in the message.
|
|
854
|
+
# @param title
|
|
855
|
+
# The title of the cited resource.
|
|
856
|
+
# @param url
|
|
857
|
+
# The URL of the cited resource.
|
|
858
|
+
# @param type
|
|
859
|
+
# The citation type. Always `url_citation`.
|
|
652
860
|
def initialize: (
|
|
653
861
|
end_index: Integer,
|
|
654
862
|
start_index: Integer,
|
|
@@ -677,18 +885,36 @@ module OpenAI
|
|
|
677
885
|
}
|
|
678
886
|
|
|
679
887
|
class ContainerFileCitation < OpenAI::Internal::Type::BaseModel
|
|
888
|
+
# The ID of the container.
|
|
680
889
|
attr_accessor container_id: String
|
|
681
890
|
|
|
891
|
+
# The index of the last character of the citation in the message.
|
|
682
892
|
attr_accessor end_index: Integer
|
|
683
893
|
|
|
894
|
+
# The ID of the container file.
|
|
684
895
|
attr_accessor file_id: String
|
|
685
896
|
|
|
897
|
+
# The filename of the container file cited.
|
|
686
898
|
attr_accessor filename: String
|
|
687
899
|
|
|
900
|
+
# The index of the first character of the citation in the message.
|
|
688
901
|
attr_accessor start_index: Integer
|
|
689
902
|
|
|
903
|
+
# The citation type. Always `container_file_citation`.
|
|
690
904
|
attr_accessor type: :container_file_citation
|
|
691
905
|
|
|
906
|
+
# @param container_id
|
|
907
|
+
# The ID of the container.
|
|
908
|
+
# @param end_index
|
|
909
|
+
# The index of the last character of the citation in the message.
|
|
910
|
+
# @param file_id
|
|
911
|
+
# The ID of the container file.
|
|
912
|
+
# @param filename
|
|
913
|
+
# The filename of the container file cited.
|
|
914
|
+
# @param start_index
|
|
915
|
+
# The index of the first character of the citation in the message.
|
|
916
|
+
# @param type
|
|
917
|
+
# The citation type. Always `container_file_citation`.
|
|
692
918
|
def initialize: (
|
|
693
919
|
container_id: String,
|
|
694
920
|
end_index: Integer,
|
|
@@ -715,8 +941,11 @@ module OpenAI
|
|
|
715
941
|
type agent = { agent_name: String }
|
|
716
942
|
|
|
717
943
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
944
|
+
# The canonical name of the agent that produced this item.
|
|
718
945
|
attr_accessor agent_name: String
|
|
719
946
|
|
|
947
|
+
# @param agent_name
|
|
948
|
+
# The canonical name of the agent that produced this item.
|
|
720
949
|
def initialize: (agent_name: String) -> void
|
|
721
950
|
|
|
722
951
|
def to_hash: -> { agent_name: String }
|
|
@@ -735,24 +964,46 @@ module OpenAI
|
|
|
735
964
|
}
|
|
736
965
|
|
|
737
966
|
class ToolSearchCall < OpenAI::Internal::Type::BaseModel
|
|
967
|
+
# The arguments supplied to the tool search call.
|
|
738
968
|
attr_accessor arguments: top
|
|
739
969
|
|
|
970
|
+
# The item type. Always `tool_search_call`.
|
|
740
971
|
attr_accessor type: :tool_search_call
|
|
741
972
|
|
|
973
|
+
# The unique ID of this tool search call.
|
|
742
974
|
attr_accessor id: String?
|
|
743
975
|
|
|
976
|
+
# The agent that produced this item.
|
|
744
977
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ToolSearchCall::Agent?
|
|
745
978
|
|
|
979
|
+
# The unique ID of the tool search call generated by the model.
|
|
746
980
|
attr_accessor call_id: String?
|
|
747
981
|
|
|
982
|
+
# Whether tool search was executed by the server or by the client.
|
|
748
983
|
attr_reader execution: OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::execution?
|
|
749
984
|
|
|
985
|
+
# Whether tool search was executed by the server or by the client.
|
|
750
986
|
def execution=: (
|
|
751
987
|
OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::execution
|
|
752
988
|
) -> OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::execution
|
|
753
989
|
|
|
990
|
+
# The status of the tool search call.
|
|
754
991
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::status?
|
|
755
992
|
|
|
993
|
+
# @param arguments
|
|
994
|
+
# The arguments supplied to the tool search call.
|
|
995
|
+
# @param id
|
|
996
|
+
# The unique ID of this tool search call.
|
|
997
|
+
# @param agent
|
|
998
|
+
# The agent that produced this item.
|
|
999
|
+
# @param call_id
|
|
1000
|
+
# The unique ID of the tool search call generated by the model.
|
|
1001
|
+
# @param execution
|
|
1002
|
+
# Whether tool search was executed by the server or by the client.
|
|
1003
|
+
# @param status
|
|
1004
|
+
# The status of the tool search call.
|
|
1005
|
+
# @param type
|
|
1006
|
+
# The item type. Always `tool_search_call`.
|
|
756
1007
|
def initialize: (
|
|
757
1008
|
arguments: top,
|
|
758
1009
|
?id: String?,
|
|
@@ -776,8 +1027,11 @@ module OpenAI
|
|
|
776
1027
|
type agent = { agent_name: String }
|
|
777
1028
|
|
|
778
1029
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
1030
|
+
# The canonical name of the agent that produced this item.
|
|
779
1031
|
attr_accessor agent_name: String
|
|
780
1032
|
|
|
1033
|
+
# @param agent_name
|
|
1034
|
+
# The canonical name of the agent that produced this item.
|
|
781
1035
|
def initialize: (agent_name: String) -> void
|
|
782
1036
|
|
|
783
1037
|
def to_hash: -> { agent_name: String }
|
|
@@ -817,16 +1071,31 @@ module OpenAI
|
|
|
817
1071
|
}
|
|
818
1072
|
|
|
819
1073
|
class AdditionalTools < OpenAI::Internal::Type::BaseModel
|
|
1074
|
+
# The role that provided the additional tools. Only `developer` is supported.
|
|
820
1075
|
attr_accessor role: :developer
|
|
821
1076
|
|
|
1077
|
+
# A list of additional tools made available at this item.
|
|
822
1078
|
attr_accessor tools: ::Array[OpenAI::Models::Beta::beta_tool]
|
|
823
1079
|
|
|
1080
|
+
# The item type. Always `additional_tools`.
|
|
824
1081
|
attr_accessor type: :additional_tools
|
|
825
1082
|
|
|
1083
|
+
# The unique ID of this additional tools item.
|
|
826
1084
|
attr_accessor id: String?
|
|
827
1085
|
|
|
1086
|
+
# The agent that produced this item.
|
|
828
1087
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::AdditionalTools::Agent?
|
|
829
1088
|
|
|
1089
|
+
# @param tools
|
|
1090
|
+
# A list of additional tools made available at this item.
|
|
1091
|
+
# @param id
|
|
1092
|
+
# The unique ID of this additional tools item.
|
|
1093
|
+
# @param agent
|
|
1094
|
+
# The agent that produced this item.
|
|
1095
|
+
# @param role
|
|
1096
|
+
# The role that provided the additional tools. Only `developer` is supported.
|
|
1097
|
+
# @param type
|
|
1098
|
+
# The item type. Always `additional_tools`.
|
|
830
1099
|
def initialize: (
|
|
831
1100
|
tools: ::Array[OpenAI::Models::Beta::beta_tool],
|
|
832
1101
|
?id: String?,
|
|
@@ -846,8 +1115,11 @@ module OpenAI
|
|
|
846
1115
|
type agent = { agent_name: String }
|
|
847
1116
|
|
|
848
1117
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
1118
|
+
# The canonical name of the agent that produced this item.
|
|
849
1119
|
attr_accessor agent_name: String
|
|
850
1120
|
|
|
1121
|
+
# @param agent_name
|
|
1122
|
+
# The canonical name of the agent that produced this item.
|
|
851
1123
|
def initialize: (agent_name: String) -> void
|
|
852
1124
|
|
|
853
1125
|
def to_hash: -> { agent_name: String }
|
|
@@ -870,28 +1142,63 @@ module OpenAI
|
|
|
870
1142
|
}
|
|
871
1143
|
|
|
872
1144
|
class ImageGenerationCall < OpenAI::Internal::Type::BaseModel
|
|
1145
|
+
# The unique ID of the image generation call.
|
|
873
1146
|
attr_accessor id: String
|
|
874
1147
|
|
|
1148
|
+
# The generated image encoded in base64.
|
|
875
1149
|
attr_accessor result: String?
|
|
876
1150
|
|
|
1151
|
+
# The status of the image generation call.
|
|
877
1152
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall::status
|
|
878
1153
|
|
|
1154
|
+
# The type of the image generation call. Always `image_generation_call`.
|
|
879
1155
|
attr_accessor type: :image_generation_call
|
|
880
1156
|
|
|
1157
|
+
# The action used for image generation.
|
|
881
1158
|
attr_accessor action: OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall::action?
|
|
882
1159
|
|
|
1160
|
+
# The agent that produced this item.
|
|
883
1161
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ImageGenerationCall::Agent?
|
|
884
1162
|
|
|
1163
|
+
# The background setting used for generation.
|
|
885
1164
|
attr_accessor background: OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall::background?
|
|
886
1165
|
|
|
1166
|
+
# The output format used for generation.
|
|
887
1167
|
attr_accessor output_format: OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall::output_format?
|
|
888
1168
|
|
|
1169
|
+
# The quality of the image generated by the image generation tool call. One of
|
|
1170
|
+
# `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
|
|
889
1171
|
attr_accessor quality: OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall::quality?
|
|
890
1172
|
|
|
1173
|
+
# The prompt that was used after any model prompt rewriting.
|
|
891
1174
|
attr_accessor revised_prompt: String?
|
|
892
1175
|
|
|
1176
|
+
# The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.
|
|
893
1177
|
attr_accessor size: OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall::size?
|
|
894
1178
|
|
|
1179
|
+
# @param id
|
|
1180
|
+
# The unique ID of the image generation call.
|
|
1181
|
+
# @param result
|
|
1182
|
+
# The generated image encoded in base64.
|
|
1183
|
+
# @param status
|
|
1184
|
+
# The status of the image generation call.
|
|
1185
|
+
# @param action
|
|
1186
|
+
# The action used for image generation.
|
|
1187
|
+
# @param agent
|
|
1188
|
+
# The agent that produced this item.
|
|
1189
|
+
# @param background
|
|
1190
|
+
# The background setting used for generation.
|
|
1191
|
+
# @param output_format
|
|
1192
|
+
# The output format used for generation.
|
|
1193
|
+
# @param quality
|
|
1194
|
+
# The quality of the image generated by the image generation tool call. One of
|
|
1195
|
+
# `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
|
|
1196
|
+
# @param revised_prompt
|
|
1197
|
+
# The prompt that was used after any model prompt rewriting.
|
|
1198
|
+
# @param size
|
|
1199
|
+
# The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.
|
|
1200
|
+
# @param type
|
|
1201
|
+
# The type of the image generation call. Always `image_generation_call`.
|
|
895
1202
|
def initialize: (
|
|
896
1203
|
id: String,
|
|
897
1204
|
result: String?,
|
|
@@ -948,8 +1255,11 @@ module OpenAI
|
|
|
948
1255
|
type agent = { agent_name: String }
|
|
949
1256
|
|
|
950
1257
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
1258
|
+
# The canonical name of the agent that produced this item.
|
|
951
1259
|
attr_accessor agent_name: String
|
|
952
1260
|
|
|
1261
|
+
# @param agent_name
|
|
1262
|
+
# The canonical name of the agent that produced this item.
|
|
953
1263
|
def initialize: (agent_name: String) -> void
|
|
954
1264
|
|
|
955
1265
|
def to_hash: -> { agent_name: String }
|
|
@@ -1018,18 +1328,36 @@ module OpenAI
|
|
|
1018
1328
|
}
|
|
1019
1329
|
|
|
1020
1330
|
class LocalShellCall < OpenAI::Internal::Type::BaseModel
|
|
1331
|
+
# The unique ID of the local shell call.
|
|
1021
1332
|
attr_accessor id: String
|
|
1022
1333
|
|
|
1334
|
+
# Execute a shell command on the server.
|
|
1023
1335
|
attr_accessor action: OpenAI::Beta::BetaResponseInputItem::LocalShellCall::Action
|
|
1024
1336
|
|
|
1337
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
1025
1338
|
attr_accessor call_id: String
|
|
1026
1339
|
|
|
1340
|
+
# The status of the local shell call.
|
|
1027
1341
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::LocalShellCall::status
|
|
1028
1342
|
|
|
1343
|
+
# The type of the local shell call. Always `local_shell_call`.
|
|
1029
1344
|
attr_accessor type: :local_shell_call
|
|
1030
1345
|
|
|
1346
|
+
# The agent that produced this item.
|
|
1031
1347
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::LocalShellCall::Agent?
|
|
1032
1348
|
|
|
1349
|
+
# @param id
|
|
1350
|
+
# The unique ID of the local shell call.
|
|
1351
|
+
# @param action
|
|
1352
|
+
# Execute a shell command on the server.
|
|
1353
|
+
# @param call_id
|
|
1354
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
1355
|
+
# @param status
|
|
1356
|
+
# The status of the local shell call.
|
|
1357
|
+
# @param agent
|
|
1358
|
+
# The agent that produced this item.
|
|
1359
|
+
# @param type
|
|
1360
|
+
# The type of the local shell call. Always `local_shell_call`.
|
|
1033
1361
|
def initialize: (
|
|
1034
1362
|
id: String,
|
|
1035
1363
|
action: OpenAI::Beta::BetaResponseInputItem::LocalShellCall::Action,
|
|
@@ -1059,18 +1387,36 @@ module OpenAI
|
|
|
1059
1387
|
}
|
|
1060
1388
|
|
|
1061
1389
|
class Action < OpenAI::Internal::Type::BaseModel
|
|
1390
|
+
# The command to run.
|
|
1062
1391
|
attr_accessor command: ::Array[String]
|
|
1063
1392
|
|
|
1393
|
+
# Environment variables to set for the command.
|
|
1064
1394
|
attr_accessor env: ::Hash[Symbol, String]
|
|
1065
1395
|
|
|
1396
|
+
# The type of the local shell action. Always `exec`.
|
|
1066
1397
|
attr_accessor type: :exec
|
|
1067
1398
|
|
|
1399
|
+
# Optional timeout in milliseconds for the command.
|
|
1068
1400
|
attr_accessor timeout_ms: Integer?
|
|
1069
1401
|
|
|
1402
|
+
# Optional user to run the command as.
|
|
1070
1403
|
attr_accessor user: String?
|
|
1071
1404
|
|
|
1405
|
+
# Optional working directory to run the command in.
|
|
1072
1406
|
attr_accessor working_directory: String?
|
|
1073
1407
|
|
|
1408
|
+
# @param command
|
|
1409
|
+
# The command to run.
|
|
1410
|
+
# @param env
|
|
1411
|
+
# Environment variables to set for the command.
|
|
1412
|
+
# @param timeout_ms
|
|
1413
|
+
# Optional timeout in milliseconds for the command.
|
|
1414
|
+
# @param user
|
|
1415
|
+
# Optional user to run the command as.
|
|
1416
|
+
# @param working_directory
|
|
1417
|
+
# Optional working directory to run the command in.
|
|
1418
|
+
# @param type
|
|
1419
|
+
# The type of the local shell action. Always `exec`.
|
|
1074
1420
|
def initialize: (
|
|
1075
1421
|
command: ::Array[String],
|
|
1076
1422
|
env: ::Hash[Symbol, String],
|
|
@@ -1105,8 +1451,11 @@ module OpenAI
|
|
|
1105
1451
|
type agent = { agent_name: String }
|
|
1106
1452
|
|
|
1107
1453
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
1454
|
+
# The canonical name of the agent that produced this item.
|
|
1108
1455
|
attr_accessor agent_name: String
|
|
1109
1456
|
|
|
1457
|
+
# @param agent_name
|
|
1458
|
+
# The canonical name of the agent that produced this item.
|
|
1110
1459
|
def initialize: (agent_name: String) -> void
|
|
1111
1460
|
|
|
1112
1461
|
def to_hash: -> { agent_name: String }
|
|
@@ -1123,16 +1472,31 @@ module OpenAI
|
|
|
1123
1472
|
}
|
|
1124
1473
|
|
|
1125
1474
|
class LocalShellCallOutput < OpenAI::Internal::Type::BaseModel
|
|
1475
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
1126
1476
|
attr_accessor id: String
|
|
1127
1477
|
|
|
1478
|
+
# A JSON string of the output of the local shell tool call.
|
|
1128
1479
|
attr_accessor output: String
|
|
1129
1480
|
|
|
1481
|
+
# The type of the local shell tool call output. Always `local_shell_call_output`.
|
|
1130
1482
|
attr_accessor type: :local_shell_call_output
|
|
1131
1483
|
|
|
1484
|
+
# The agent that produced this item.
|
|
1132
1485
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::LocalShellCallOutput::Agent?
|
|
1133
1486
|
|
|
1487
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
1134
1488
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::LocalShellCallOutput::status?
|
|
1135
1489
|
|
|
1490
|
+
# @param id
|
|
1491
|
+
# The unique ID of the local shell tool call generated by the model.
|
|
1492
|
+
# @param output
|
|
1493
|
+
# A JSON string of the output of the local shell tool call.
|
|
1494
|
+
# @param agent
|
|
1495
|
+
# The agent that produced this item.
|
|
1496
|
+
# @param status
|
|
1497
|
+
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
|
|
1498
|
+
# @param type
|
|
1499
|
+
# The type of the local shell tool call output. Always `local_shell_call_output`.
|
|
1136
1500
|
def initialize: (
|
|
1137
1501
|
id: String,
|
|
1138
1502
|
output: String,
|
|
@@ -1152,8 +1516,11 @@ module OpenAI
|
|
|
1152
1516
|
type agent = { agent_name: String }
|
|
1153
1517
|
|
|
1154
1518
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
1519
|
+
# The canonical name of the agent that produced this item.
|
|
1155
1520
|
attr_accessor agent_name: String
|
|
1156
1521
|
|
|
1522
|
+
# @param agent_name
|
|
1523
|
+
# The canonical name of the agent that produced this item.
|
|
1157
1524
|
def initialize: (agent_name: String) -> void
|
|
1158
1525
|
|
|
1159
1526
|
def to_hash: -> { agent_name: String }
|
|
@@ -1185,22 +1552,50 @@ module OpenAI
|
|
|
1185
1552
|
}
|
|
1186
1553
|
|
|
1187
1554
|
class ShellCall < OpenAI::Internal::Type::BaseModel
|
|
1555
|
+
# The shell commands and limits that describe how to run the tool call.
|
|
1188
1556
|
attr_accessor action: OpenAI::Beta::BetaResponseInputItem::ShellCall::Action
|
|
1189
1557
|
|
|
1558
|
+
# The unique ID of the shell tool call generated by the model.
|
|
1190
1559
|
attr_accessor call_id: String
|
|
1191
1560
|
|
|
1561
|
+
# The type of the item. Always `shell_call`.
|
|
1192
1562
|
attr_accessor type: :shell_call
|
|
1193
1563
|
|
|
1564
|
+
# The unique ID of the shell tool call. Populated when this item is returned via
|
|
1565
|
+
# API.
|
|
1194
1566
|
attr_accessor id: String?
|
|
1195
1567
|
|
|
1568
|
+
# The agent that produced this item.
|
|
1196
1569
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ShellCall::Agent?
|
|
1197
1570
|
|
|
1571
|
+
# The execution context that produced this tool call.
|
|
1198
1572
|
attr_accessor caller_: OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::caller_?
|
|
1199
1573
|
|
|
1574
|
+
# The environment to execute the shell commands in.
|
|
1200
1575
|
attr_accessor environment: OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::environment?
|
|
1201
1576
|
|
|
1577
|
+
# The status of the shell call. One of `in_progress`, `completed`, or
|
|
1578
|
+
# `incomplete`.
|
|
1202
1579
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ShellCall::status?
|
|
1203
1580
|
|
|
1581
|
+
# @param action
|
|
1582
|
+
# The shell commands and limits that describe how to run the tool call.
|
|
1583
|
+
# @param call_id
|
|
1584
|
+
# The unique ID of the shell tool call generated by the model.
|
|
1585
|
+
# @param id
|
|
1586
|
+
# The unique ID of the shell tool call. Populated when this item is returned via
|
|
1587
|
+
# API.
|
|
1588
|
+
# @param agent
|
|
1589
|
+
# The agent that produced this item.
|
|
1590
|
+
# @param caller_
|
|
1591
|
+
# The execution context that produced this tool call.
|
|
1592
|
+
# @param environment
|
|
1593
|
+
# The environment to execute the shell commands in.
|
|
1594
|
+
# @param status
|
|
1595
|
+
# The status of the shell call. One of `in_progress`, `completed`, or
|
|
1596
|
+
# `incomplete`.
|
|
1597
|
+
# @param type
|
|
1598
|
+
# The type of the item. Always `shell_call`.
|
|
1204
1599
|
def initialize: (
|
|
1205
1600
|
action: OpenAI::Beta::BetaResponseInputItem::ShellCall::Action,
|
|
1206
1601
|
call_id: String,
|
|
@@ -1231,12 +1626,23 @@ module OpenAI
|
|
|
1231
1626
|
}
|
|
1232
1627
|
|
|
1233
1628
|
class Action < OpenAI::Internal::Type::BaseModel
|
|
1629
|
+
# Ordered shell commands for the execution environment to run.
|
|
1234
1630
|
attr_accessor commands: ::Array[String]
|
|
1235
1631
|
|
|
1632
|
+
# Maximum number of UTF-8 characters to capture from combined stdout and stderr
|
|
1633
|
+
# output.
|
|
1236
1634
|
attr_accessor max_output_length: Integer?
|
|
1237
1635
|
|
|
1636
|
+
# Maximum wall-clock time in milliseconds to allow the shell commands to run.
|
|
1238
1637
|
attr_accessor timeout_ms: Integer?
|
|
1239
1638
|
|
|
1639
|
+
# @param commands
|
|
1640
|
+
# Ordered shell commands for the execution environment to run.
|
|
1641
|
+
# @param max_output_length
|
|
1642
|
+
# Maximum number of UTF-8 characters to capture from combined stdout and stderr
|
|
1643
|
+
# output.
|
|
1644
|
+
# @param timeout_ms
|
|
1645
|
+
# Maximum wall-clock time in milliseconds to allow the shell commands to run.
|
|
1240
1646
|
def initialize: (
|
|
1241
1647
|
commands: ::Array[String],
|
|
1242
1648
|
?max_output_length: Integer?,
|
|
@@ -1253,8 +1659,11 @@ module OpenAI
|
|
|
1253
1659
|
type agent = { agent_name: String }
|
|
1254
1660
|
|
|
1255
1661
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
1662
|
+
# The canonical name of the agent that produced this item.
|
|
1256
1663
|
attr_accessor agent_name: String
|
|
1257
1664
|
|
|
1665
|
+
# @param agent_name
|
|
1666
|
+
# The canonical name of the agent that produced this item.
|
|
1258
1667
|
def initialize: (agent_name: String) -> void
|
|
1259
1668
|
|
|
1260
1669
|
def to_hash: -> { agent_name: String }
|
|
@@ -1270,8 +1679,11 @@ module OpenAI
|
|
|
1270
1679
|
type direct = { ?type: :direct }
|
|
1271
1680
|
|
|
1272
1681
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
1682
|
+
# The caller type. Always `direct`.
|
|
1273
1683
|
attr_accessor type: :direct
|
|
1274
1684
|
|
|
1685
|
+
# @param type
|
|
1686
|
+
# The caller type. Always `direct`.
|
|
1275
1687
|
def initialize: (?type: :direct) -> void
|
|
1276
1688
|
|
|
1277
1689
|
def to_hash: -> { ?type: :direct }
|
|
@@ -1280,10 +1692,16 @@ module OpenAI
|
|
|
1280
1692
|
type program = { caller_id: String, ?type: :program }
|
|
1281
1693
|
|
|
1282
1694
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
1695
|
+
# The call ID of the program item that produced this tool call.
|
|
1283
1696
|
attr_accessor caller_id: String
|
|
1284
1697
|
|
|
1698
|
+
# The caller type. Always `program`.
|
|
1285
1699
|
attr_accessor type: :program
|
|
1286
1700
|
|
|
1701
|
+
# @param caller_id
|
|
1702
|
+
# The call ID of the program item that produced this tool call.
|
|
1703
|
+
# @param type
|
|
1704
|
+
# The caller type. Always `program`.
|
|
1287
1705
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
1288
1706
|
|
|
1289
1707
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -1328,22 +1746,52 @@ module OpenAI
|
|
|
1328
1746
|
}
|
|
1329
1747
|
|
|
1330
1748
|
class ShellCallOutput < OpenAI::Internal::Type::BaseModel
|
|
1749
|
+
# The unique ID of the shell tool call generated by the model.
|
|
1331
1750
|
attr_accessor call_id: String
|
|
1332
1751
|
|
|
1752
|
+
# Captured chunks of stdout and stderr output, along with their associated
|
|
1753
|
+
# outcomes.
|
|
1333
1754
|
attr_accessor output: ::Array[OpenAI::Beta::BetaResponseFunctionShellCallOutputContent]
|
|
1334
1755
|
|
|
1756
|
+
# The type of the item. Always `shell_call_output`.
|
|
1335
1757
|
attr_accessor type: :shell_call_output
|
|
1336
1758
|
|
|
1759
|
+
# The unique ID of the shell tool call output. Populated when this item is
|
|
1760
|
+
# returned via API.
|
|
1337
1761
|
attr_accessor id: String?
|
|
1338
1762
|
|
|
1763
|
+
# The agent that produced this item.
|
|
1339
1764
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ShellCallOutput::Agent?
|
|
1340
1765
|
|
|
1766
|
+
# The execution context that produced this tool call.
|
|
1341
1767
|
attr_accessor caller_: OpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput::caller_?
|
|
1342
1768
|
|
|
1769
|
+
# The maximum number of UTF-8 characters captured for this shell call's combined
|
|
1770
|
+
# output.
|
|
1343
1771
|
attr_accessor max_output_length: Integer?
|
|
1344
1772
|
|
|
1773
|
+
# The status of the shell call output.
|
|
1345
1774
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput::status?
|
|
1346
1775
|
|
|
1776
|
+
# @param call_id
|
|
1777
|
+
# The unique ID of the shell tool call generated by the model.
|
|
1778
|
+
# @param output
|
|
1779
|
+
# Captured chunks of stdout and stderr output, along with their associated
|
|
1780
|
+
# outcomes.
|
|
1781
|
+
# @param id
|
|
1782
|
+
# The unique ID of the shell tool call output. Populated when this item is
|
|
1783
|
+
# returned via API.
|
|
1784
|
+
# @param agent
|
|
1785
|
+
# The agent that produced this item.
|
|
1786
|
+
# @param caller_
|
|
1787
|
+
# The execution context that produced this tool call.
|
|
1788
|
+
# @param max_output_length
|
|
1789
|
+
# The maximum number of UTF-8 characters captured for this shell call's combined
|
|
1790
|
+
# output.
|
|
1791
|
+
# @param status
|
|
1792
|
+
# The status of the shell call output.
|
|
1793
|
+
# @param type
|
|
1794
|
+
# The type of the item. Always `shell_call_output`.
|
|
1347
1795
|
def initialize: (
|
|
1348
1796
|
call_id: String,
|
|
1349
1797
|
output: ::Array[OpenAI::Beta::BetaResponseFunctionShellCallOutputContent],
|
|
@@ -1369,8 +1817,11 @@ module OpenAI
|
|
|
1369
1817
|
type agent = { agent_name: String }
|
|
1370
1818
|
|
|
1371
1819
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
1820
|
+
# The canonical name of the agent that produced this item.
|
|
1372
1821
|
attr_accessor agent_name: String
|
|
1373
1822
|
|
|
1823
|
+
# @param agent_name
|
|
1824
|
+
# The canonical name of the agent that produced this item.
|
|
1374
1825
|
def initialize: (agent_name: String) -> void
|
|
1375
1826
|
|
|
1376
1827
|
def to_hash: -> { agent_name: String }
|
|
@@ -1386,8 +1837,11 @@ module OpenAI
|
|
|
1386
1837
|
type direct = { ?type: :direct }
|
|
1387
1838
|
|
|
1388
1839
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
1840
|
+
# The caller type. Always `direct`.
|
|
1389
1841
|
attr_accessor type: :direct
|
|
1390
1842
|
|
|
1843
|
+
# @param type
|
|
1844
|
+
# The caller type. Always `direct`.
|
|
1391
1845
|
def initialize: (?type: :direct) -> void
|
|
1392
1846
|
|
|
1393
1847
|
def to_hash: -> { ?type: :direct }
|
|
@@ -1396,10 +1850,16 @@ module OpenAI
|
|
|
1396
1850
|
type program = { caller_id: String, ?type: :program }
|
|
1397
1851
|
|
|
1398
1852
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
1853
|
+
# The call ID of the program item that produced this tool call.
|
|
1399
1854
|
attr_accessor caller_id: String
|
|
1400
1855
|
|
|
1856
|
+
# The caller type. Always `program`.
|
|
1401
1857
|
attr_accessor type: :program
|
|
1402
1858
|
|
|
1859
|
+
# @param caller_id
|
|
1860
|
+
# The call ID of the program item that produced this tool call.
|
|
1861
|
+
# @param type
|
|
1862
|
+
# The caller type. Always `program`.
|
|
1403
1863
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
1404
1864
|
|
|
1405
1865
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -1433,20 +1893,45 @@ module OpenAI
|
|
|
1433
1893
|
}
|
|
1434
1894
|
|
|
1435
1895
|
class ApplyPatchCall < OpenAI::Internal::Type::BaseModel
|
|
1896
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
1436
1897
|
attr_accessor call_id: String
|
|
1437
1898
|
|
|
1899
|
+
# The specific create, delete, or update instruction for the apply_patch tool
|
|
1900
|
+
# call.
|
|
1438
1901
|
attr_accessor operation: OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCall::operation
|
|
1439
1902
|
|
|
1903
|
+
# The status of the apply patch tool call. One of `in_progress` or `completed`.
|
|
1440
1904
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCall::status
|
|
1441
1905
|
|
|
1906
|
+
# The type of the item. Always `apply_patch_call`.
|
|
1442
1907
|
attr_accessor type: :apply_patch_call
|
|
1443
1908
|
|
|
1909
|
+
# The unique ID of the apply patch tool call. Populated when this item is returned
|
|
1910
|
+
# via API.
|
|
1444
1911
|
attr_accessor id: String?
|
|
1445
1912
|
|
|
1913
|
+
# The agent that produced this item.
|
|
1446
1914
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ApplyPatchCall::Agent?
|
|
1447
1915
|
|
|
1916
|
+
# The execution context that produced this tool call.
|
|
1448
1917
|
attr_accessor caller_: OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCall::caller_?
|
|
1449
1918
|
|
|
1919
|
+
# @param call_id
|
|
1920
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
1921
|
+
# @param operation
|
|
1922
|
+
# The specific create, delete, or update instruction for the apply_patch tool
|
|
1923
|
+
# call.
|
|
1924
|
+
# @param status
|
|
1925
|
+
# The status of the apply patch tool call. One of `in_progress` or `completed`.
|
|
1926
|
+
# @param id
|
|
1927
|
+
# The unique ID of the apply patch tool call. Populated when this item is returned
|
|
1928
|
+
# via API.
|
|
1929
|
+
# @param agent
|
|
1930
|
+
# The agent that produced this item.
|
|
1931
|
+
# @param caller_
|
|
1932
|
+
# The execution context that produced this tool call.
|
|
1933
|
+
# @param type
|
|
1934
|
+
# The type of the item. Always `apply_patch_call`.
|
|
1450
1935
|
def initialize: (
|
|
1451
1936
|
call_id: String,
|
|
1452
1937
|
operation: OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCall::operation,
|
|
@@ -1479,12 +1964,21 @@ module OpenAI
|
|
|
1479
1964
|
{ diff: String, path: String, ?type: :create_file }
|
|
1480
1965
|
|
|
1481
1966
|
class CreateFile < OpenAI::Internal::Type::BaseModel
|
|
1967
|
+
# Unified diff content to apply when creating the file.
|
|
1482
1968
|
attr_accessor diff: String
|
|
1483
1969
|
|
|
1970
|
+
# Path of the file to create relative to the workspace root.
|
|
1484
1971
|
attr_accessor path: String
|
|
1485
1972
|
|
|
1973
|
+
# The operation type. Always `create_file`.
|
|
1486
1974
|
attr_accessor type: :create_file
|
|
1487
1975
|
|
|
1976
|
+
# @param diff
|
|
1977
|
+
# Unified diff content to apply when creating the file.
|
|
1978
|
+
# @param path
|
|
1979
|
+
# Path of the file to create relative to the workspace root.
|
|
1980
|
+
# @param type
|
|
1981
|
+
# The operation type. Always `create_file`.
|
|
1488
1982
|
def initialize: (
|
|
1489
1983
|
diff: String,
|
|
1490
1984
|
path: String,
|
|
@@ -1501,10 +1995,16 @@ module OpenAI
|
|
|
1501
1995
|
type delete_file = { path: String, ?type: :delete_file }
|
|
1502
1996
|
|
|
1503
1997
|
class DeleteFile < OpenAI::Internal::Type::BaseModel
|
|
1998
|
+
# Path of the file to delete relative to the workspace root.
|
|
1504
1999
|
attr_accessor path: String
|
|
1505
2000
|
|
|
2001
|
+
# The operation type. Always `delete_file`.
|
|
1506
2002
|
attr_accessor type: :delete_file
|
|
1507
2003
|
|
|
2004
|
+
# @param path
|
|
2005
|
+
# Path of the file to delete relative to the workspace root.
|
|
2006
|
+
# @param type
|
|
2007
|
+
# The operation type. Always `delete_file`.
|
|
1508
2008
|
def initialize: (path: String, ?type: :delete_file) -> void
|
|
1509
2009
|
|
|
1510
2010
|
def to_hash: -> { path: String, ?type: :delete_file }
|
|
@@ -1514,12 +2014,21 @@ module OpenAI
|
|
|
1514
2014
|
{ diff: String, path: String, ?type: :update_file }
|
|
1515
2015
|
|
|
1516
2016
|
class UpdateFile < OpenAI::Internal::Type::BaseModel
|
|
2017
|
+
# Unified diff content to apply to the existing file.
|
|
1517
2018
|
attr_accessor diff: String
|
|
1518
2019
|
|
|
2020
|
+
# Path of the file to update relative to the workspace root.
|
|
1519
2021
|
attr_accessor path: String
|
|
1520
2022
|
|
|
2023
|
+
# The operation type. Always `update_file`.
|
|
1521
2024
|
attr_accessor type: :update_file
|
|
1522
2025
|
|
|
2026
|
+
# @param diff
|
|
2027
|
+
# Unified diff content to apply to the existing file.
|
|
2028
|
+
# @param path
|
|
2029
|
+
# Path of the file to update relative to the workspace root.
|
|
2030
|
+
# @param type
|
|
2031
|
+
# The operation type. Always `update_file`.
|
|
1523
2032
|
def initialize: (
|
|
1524
2033
|
diff: String,
|
|
1525
2034
|
path: String,
|
|
@@ -1550,8 +2059,11 @@ module OpenAI
|
|
|
1550
2059
|
type agent = { agent_name: String }
|
|
1551
2060
|
|
|
1552
2061
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2062
|
+
# The canonical name of the agent that produced this item.
|
|
1553
2063
|
attr_accessor agent_name: String
|
|
1554
2064
|
|
|
2065
|
+
# @param agent_name
|
|
2066
|
+
# The canonical name of the agent that produced this item.
|
|
1555
2067
|
def initialize: (agent_name: String) -> void
|
|
1556
2068
|
|
|
1557
2069
|
def to_hash: -> { agent_name: String }
|
|
@@ -1567,8 +2079,11 @@ module OpenAI
|
|
|
1567
2079
|
type direct = { ?type: :direct }
|
|
1568
2080
|
|
|
1569
2081
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
2082
|
+
# The caller type. Always `direct`.
|
|
1570
2083
|
attr_accessor type: :direct
|
|
1571
2084
|
|
|
2085
|
+
# @param type
|
|
2086
|
+
# The caller type. Always `direct`.
|
|
1572
2087
|
def initialize: (?type: :direct) -> void
|
|
1573
2088
|
|
|
1574
2089
|
def to_hash: -> { ?type: :direct }
|
|
@@ -1577,10 +2092,16 @@ module OpenAI
|
|
|
1577
2092
|
type program = { caller_id: String, ?type: :program }
|
|
1578
2093
|
|
|
1579
2094
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
2095
|
+
# The call ID of the program item that produced this tool call.
|
|
1580
2096
|
attr_accessor caller_id: String
|
|
1581
2097
|
|
|
2098
|
+
# The caller type. Always `program`.
|
|
1582
2099
|
attr_accessor type: :program
|
|
1583
2100
|
|
|
2101
|
+
# @param caller_id
|
|
2102
|
+
# The call ID of the program item that produced this tool call.
|
|
2103
|
+
# @param type
|
|
2104
|
+
# The caller type. Always `program`.
|
|
1584
2105
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
1585
2106
|
|
|
1586
2107
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -1602,20 +2123,45 @@ module OpenAI
|
|
|
1602
2123
|
}
|
|
1603
2124
|
|
|
1604
2125
|
class ApplyPatchCallOutput < OpenAI::Internal::Type::BaseModel
|
|
2126
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
1605
2127
|
attr_accessor call_id: String
|
|
1606
2128
|
|
|
2129
|
+
# The status of the apply patch tool call output. One of `completed` or `failed`.
|
|
1607
2130
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput::status
|
|
1608
2131
|
|
|
2132
|
+
# The type of the item. Always `apply_patch_call_output`.
|
|
1609
2133
|
attr_accessor type: :apply_patch_call_output
|
|
1610
2134
|
|
|
2135
|
+
# The unique ID of the apply patch tool call output. Populated when this item is
|
|
2136
|
+
# returned via API.
|
|
1611
2137
|
attr_accessor id: String?
|
|
1612
2138
|
|
|
2139
|
+
# The agent that produced this item.
|
|
1613
2140
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ApplyPatchCallOutput::Agent?
|
|
1614
2141
|
|
|
2142
|
+
# The execution context that produced this tool call.
|
|
1615
2143
|
attr_accessor caller_: OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput::caller_?
|
|
1616
2144
|
|
|
2145
|
+
# Optional human-readable log text from the apply patch tool (e.g., patch results
|
|
2146
|
+
# or errors).
|
|
1617
2147
|
attr_accessor output: String?
|
|
1618
2148
|
|
|
2149
|
+
# @param call_id
|
|
2150
|
+
# The unique ID of the apply patch tool call generated by the model.
|
|
2151
|
+
# @param status
|
|
2152
|
+
# The status of the apply patch tool call output. One of `completed` or `failed`.
|
|
2153
|
+
# @param id
|
|
2154
|
+
# The unique ID of the apply patch tool call output. Populated when this item is
|
|
2155
|
+
# returned via API.
|
|
2156
|
+
# @param agent
|
|
2157
|
+
# The agent that produced this item.
|
|
2158
|
+
# @param caller_
|
|
2159
|
+
# The execution context that produced this tool call.
|
|
2160
|
+
# @param output
|
|
2161
|
+
# Optional human-readable log text from the apply patch tool (e.g., patch results
|
|
2162
|
+
# or errors).
|
|
2163
|
+
# @param type
|
|
2164
|
+
# The type of the item. Always `apply_patch_call_output`.
|
|
1619
2165
|
def initialize: (
|
|
1620
2166
|
call_id: String,
|
|
1621
2167
|
status: OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput::status,
|
|
@@ -1650,8 +2196,11 @@ module OpenAI
|
|
|
1650
2196
|
type agent = { agent_name: String }
|
|
1651
2197
|
|
|
1652
2198
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2199
|
+
# The canonical name of the agent that produced this item.
|
|
1653
2200
|
attr_accessor agent_name: String
|
|
1654
2201
|
|
|
2202
|
+
# @param agent_name
|
|
2203
|
+
# The canonical name of the agent that produced this item.
|
|
1655
2204
|
def initialize: (agent_name: String) -> void
|
|
1656
2205
|
|
|
1657
2206
|
def to_hash: -> { agent_name: String }
|
|
@@ -1667,8 +2216,11 @@ module OpenAI
|
|
|
1667
2216
|
type direct = { ?type: :direct }
|
|
1668
2217
|
|
|
1669
2218
|
class Direct < OpenAI::Internal::Type::BaseModel
|
|
2219
|
+
# The caller type. Always `direct`.
|
|
1670
2220
|
attr_accessor type: :direct
|
|
1671
2221
|
|
|
2222
|
+
# @param type
|
|
2223
|
+
# The caller type. Always `direct`.
|
|
1672
2224
|
def initialize: (?type: :direct) -> void
|
|
1673
2225
|
|
|
1674
2226
|
def to_hash: -> { ?type: :direct }
|
|
@@ -1677,10 +2229,16 @@ module OpenAI
|
|
|
1677
2229
|
type program = { caller_id: String, ?type: :program }
|
|
1678
2230
|
|
|
1679
2231
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
2232
|
+
# The call ID of the program item that produced this tool call.
|
|
1680
2233
|
attr_accessor caller_id: String
|
|
1681
2234
|
|
|
2235
|
+
# The caller type. Always `program`.
|
|
1682
2236
|
attr_accessor type: :program
|
|
1683
2237
|
|
|
2238
|
+
# @param caller_id
|
|
2239
|
+
# The call ID of the program item that produced this tool call.
|
|
2240
|
+
# @param type
|
|
2241
|
+
# The caller type. Always `program`.
|
|
1684
2242
|
def initialize: (caller_id: String, ?type: :program) -> void
|
|
1685
2243
|
|
|
1686
2244
|
def to_hash: -> { caller_id: String, ?type: :program }
|
|
@@ -1701,18 +2259,36 @@ module OpenAI
|
|
|
1701
2259
|
}
|
|
1702
2260
|
|
|
1703
2261
|
class McpListTools < OpenAI::Internal::Type::BaseModel
|
|
2262
|
+
# The unique ID of the list.
|
|
1704
2263
|
attr_accessor id: String
|
|
1705
2264
|
|
|
2265
|
+
# The label of the MCP server.
|
|
1706
2266
|
attr_accessor server_label: String
|
|
1707
2267
|
|
|
2268
|
+
# The tools available on the server.
|
|
1708
2269
|
attr_accessor tools: ::Array[OpenAI::Beta::BetaResponseInputItem::McpListTools::Tool]
|
|
1709
2270
|
|
|
2271
|
+
# The type of the item. Always `mcp_list_tools`.
|
|
1710
2272
|
attr_accessor type: :mcp_list_tools
|
|
1711
2273
|
|
|
2274
|
+
# The agent that produced this item.
|
|
1712
2275
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::McpListTools::Agent?
|
|
1713
2276
|
|
|
2277
|
+
# Error message if the server could not list tools.
|
|
1714
2278
|
attr_accessor error: String?
|
|
1715
2279
|
|
|
2280
|
+
# @param id
|
|
2281
|
+
# The unique ID of the list.
|
|
2282
|
+
# @param server_label
|
|
2283
|
+
# The label of the MCP server.
|
|
2284
|
+
# @param tools
|
|
2285
|
+
# The tools available on the server.
|
|
2286
|
+
# @param agent
|
|
2287
|
+
# The agent that produced this item.
|
|
2288
|
+
# @param error
|
|
2289
|
+
# Error message if the server could not list tools.
|
|
2290
|
+
# @param type
|
|
2291
|
+
# The type of the item. Always `mcp_list_tools`.
|
|
1716
2292
|
def initialize: (
|
|
1717
2293
|
id: String,
|
|
1718
2294
|
server_label: String,
|
|
@@ -1740,14 +2316,26 @@ module OpenAI
|
|
|
1740
2316
|
}
|
|
1741
2317
|
|
|
1742
2318
|
class Tool < OpenAI::Internal::Type::BaseModel
|
|
2319
|
+
# The JSON schema describing the tool's input.
|
|
1743
2320
|
attr_accessor input_schema: top
|
|
1744
2321
|
|
|
2322
|
+
# The name of the tool.
|
|
1745
2323
|
attr_accessor name: String
|
|
1746
2324
|
|
|
2325
|
+
# Additional annotations about the tool.
|
|
1747
2326
|
attr_accessor annotations: top?
|
|
1748
2327
|
|
|
2328
|
+
# The description of the tool.
|
|
1749
2329
|
attr_accessor description: String?
|
|
1750
2330
|
|
|
2331
|
+
# @param input_schema
|
|
2332
|
+
# The JSON schema describing the tool's input.
|
|
2333
|
+
# @param name
|
|
2334
|
+
# The name of the tool.
|
|
2335
|
+
# @param annotations
|
|
2336
|
+
# Additional annotations about the tool.
|
|
2337
|
+
# @param description
|
|
2338
|
+
# The description of the tool.
|
|
1751
2339
|
def initialize: (
|
|
1752
2340
|
input_schema: top,
|
|
1753
2341
|
name: String,
|
|
@@ -1766,8 +2354,11 @@ module OpenAI
|
|
|
1766
2354
|
type agent = { agent_name: String }
|
|
1767
2355
|
|
|
1768
2356
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2357
|
+
# The canonical name of the agent that produced this item.
|
|
1769
2358
|
attr_accessor agent_name: String
|
|
1770
2359
|
|
|
2360
|
+
# @param agent_name
|
|
2361
|
+
# The canonical name of the agent that produced this item.
|
|
1771
2362
|
def initialize: (agent_name: String) -> void
|
|
1772
2363
|
|
|
1773
2364
|
def to_hash: -> { agent_name: String }
|
|
@@ -1785,18 +2376,36 @@ module OpenAI
|
|
|
1785
2376
|
}
|
|
1786
2377
|
|
|
1787
2378
|
class McpApprovalRequest < OpenAI::Internal::Type::BaseModel
|
|
2379
|
+
# The unique ID of the approval request.
|
|
1788
2380
|
attr_accessor id: String
|
|
1789
2381
|
|
|
2382
|
+
# A JSON string of arguments for the tool.
|
|
1790
2383
|
attr_accessor arguments: String
|
|
1791
2384
|
|
|
2385
|
+
# The name of the tool to run.
|
|
1792
2386
|
attr_accessor name: String
|
|
1793
2387
|
|
|
2388
|
+
# The label of the MCP server making the request.
|
|
1794
2389
|
attr_accessor server_label: String
|
|
1795
2390
|
|
|
2391
|
+
# The type of the item. Always `mcp_approval_request`.
|
|
1796
2392
|
attr_accessor type: :mcp_approval_request
|
|
1797
2393
|
|
|
2394
|
+
# The agent that produced this item.
|
|
1798
2395
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::McpApprovalRequest::Agent?
|
|
1799
2396
|
|
|
2397
|
+
# @param id
|
|
2398
|
+
# The unique ID of the approval request.
|
|
2399
|
+
# @param arguments
|
|
2400
|
+
# A JSON string of arguments for the tool.
|
|
2401
|
+
# @param name
|
|
2402
|
+
# The name of the tool to run.
|
|
2403
|
+
# @param server_label
|
|
2404
|
+
# The label of the MCP server making the request.
|
|
2405
|
+
# @param agent
|
|
2406
|
+
# The agent that produced this item.
|
|
2407
|
+
# @param type
|
|
2408
|
+
# The type of the item. Always `mcp_approval_request`.
|
|
1800
2409
|
def initialize: (
|
|
1801
2410
|
id: String,
|
|
1802
2411
|
arguments: String,
|
|
@@ -1818,8 +2427,11 @@ module OpenAI
|
|
|
1818
2427
|
type agent = { agent_name: String }
|
|
1819
2428
|
|
|
1820
2429
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2430
|
+
# The canonical name of the agent that produced this item.
|
|
1821
2431
|
attr_accessor agent_name: String
|
|
1822
2432
|
|
|
2433
|
+
# @param agent_name
|
|
2434
|
+
# The canonical name of the agent that produced this item.
|
|
1823
2435
|
def initialize: (agent_name: String) -> void
|
|
1824
2436
|
|
|
1825
2437
|
def to_hash: -> { agent_name: String }
|
|
@@ -1837,18 +2449,36 @@ module OpenAI
|
|
|
1837
2449
|
}
|
|
1838
2450
|
|
|
1839
2451
|
class McpApprovalResponse < OpenAI::Internal::Type::BaseModel
|
|
2452
|
+
# The ID of the approval request being answered.
|
|
1840
2453
|
attr_accessor approval_request_id: String
|
|
1841
2454
|
|
|
2455
|
+
# Whether the request was approved.
|
|
1842
2456
|
attr_accessor approve: bool
|
|
1843
2457
|
|
|
2458
|
+
# The type of the item. Always `mcp_approval_response`.
|
|
1844
2459
|
attr_accessor type: :mcp_approval_response
|
|
1845
2460
|
|
|
2461
|
+
# The unique ID of the approval response
|
|
1846
2462
|
attr_accessor id: String?
|
|
1847
2463
|
|
|
2464
|
+
# The agent that produced this item.
|
|
1848
2465
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::McpApprovalResponse::Agent?
|
|
1849
2466
|
|
|
2467
|
+
# Optional reason for the decision.
|
|
1850
2468
|
attr_accessor reason: String?
|
|
1851
2469
|
|
|
2470
|
+
# @param approval_request_id
|
|
2471
|
+
# The ID of the approval request being answered.
|
|
2472
|
+
# @param approve
|
|
2473
|
+
# Whether the request was approved.
|
|
2474
|
+
# @param id
|
|
2475
|
+
# The unique ID of the approval response
|
|
2476
|
+
# @param agent
|
|
2477
|
+
# The agent that produced this item.
|
|
2478
|
+
# @param reason
|
|
2479
|
+
# Optional reason for the decision.
|
|
2480
|
+
# @param type
|
|
2481
|
+
# The type of the item. Always `mcp_approval_response`.
|
|
1852
2482
|
def initialize: (
|
|
1853
2483
|
approval_request_id: String,
|
|
1854
2484
|
approve: bool,
|
|
@@ -1870,8 +2500,11 @@ module OpenAI
|
|
|
1870
2500
|
type agent = { agent_name: String }
|
|
1871
2501
|
|
|
1872
2502
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2503
|
+
# The canonical name of the agent that produced this item.
|
|
1873
2504
|
attr_accessor agent_name: String
|
|
1874
2505
|
|
|
2506
|
+
# @param agent_name
|
|
2507
|
+
# The canonical name of the agent that produced this item.
|
|
1875
2508
|
def initialize: (agent_name: String) -> void
|
|
1876
2509
|
|
|
1877
2510
|
def to_hash: -> { agent_name: String }
|
|
@@ -1893,30 +2526,68 @@ module OpenAI
|
|
|
1893
2526
|
}
|
|
1894
2527
|
|
|
1895
2528
|
class McpCall < OpenAI::Internal::Type::BaseModel
|
|
2529
|
+
# The unique ID of the tool call.
|
|
1896
2530
|
attr_accessor id: String
|
|
1897
2531
|
|
|
2532
|
+
# A JSON string of the arguments passed to the tool.
|
|
1898
2533
|
attr_accessor arguments: String
|
|
1899
2534
|
|
|
2535
|
+
# The name of the tool that was run.
|
|
1900
2536
|
attr_accessor name: String
|
|
1901
2537
|
|
|
2538
|
+
# The label of the MCP server running the tool.
|
|
1902
2539
|
attr_accessor server_label: String
|
|
1903
2540
|
|
|
2541
|
+
# The type of the item. Always `mcp_call`.
|
|
1904
2542
|
attr_accessor type: :mcp_call
|
|
1905
2543
|
|
|
2544
|
+
# The agent that produced this item.
|
|
1906
2545
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::McpCall::Agent?
|
|
1907
2546
|
|
|
2547
|
+
# Unique identifier for the MCP tool call approval request. Include this value in
|
|
2548
|
+
# a subsequent `mcp_approval_response` input to approve or reject the
|
|
2549
|
+
# corresponding tool call.
|
|
1908
2550
|
attr_accessor approval_request_id: String?
|
|
1909
2551
|
|
|
2552
|
+
# The error from the tool call, if any.
|
|
1910
2553
|
attr_accessor error: OpenAI::Models::Beta::beta_mcp_tool_call_error?
|
|
1911
2554
|
|
|
2555
|
+
# The output from the tool call.
|
|
1912
2556
|
attr_accessor output: String?
|
|
1913
2557
|
|
|
2558
|
+
# The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
|
2559
|
+
# `calling`, or `failed`.
|
|
1914
2560
|
attr_reader status: OpenAI::Models::Beta::BetaResponseInputItem::McpCall::status?
|
|
1915
2561
|
|
|
2562
|
+
# The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
|
2563
|
+
# `calling`, or `failed`.
|
|
1916
2564
|
def status=: (
|
|
1917
2565
|
OpenAI::Models::Beta::BetaResponseInputItem::McpCall::status
|
|
1918
2566
|
) -> OpenAI::Models::Beta::BetaResponseInputItem::McpCall::status
|
|
1919
2567
|
|
|
2568
|
+
# @param id
|
|
2569
|
+
# The unique ID of the tool call.
|
|
2570
|
+
# @param arguments
|
|
2571
|
+
# A JSON string of the arguments passed to the tool.
|
|
2572
|
+
# @param name
|
|
2573
|
+
# The name of the tool that was run.
|
|
2574
|
+
# @param server_label
|
|
2575
|
+
# The label of the MCP server running the tool.
|
|
2576
|
+
# @param agent
|
|
2577
|
+
# The agent that produced this item.
|
|
2578
|
+
# @param approval_request_id
|
|
2579
|
+
# Unique identifier for the MCP tool call approval request. Include this value in
|
|
2580
|
+
# a subsequent `mcp_approval_response` input to approve or reject the
|
|
2581
|
+
# corresponding tool call.
|
|
2582
|
+
# @param error
|
|
2583
|
+
# The error from the tool call, if any.
|
|
2584
|
+
# @param output
|
|
2585
|
+
# The output from the tool call.
|
|
2586
|
+
# @param status
|
|
2587
|
+
# The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
|
2588
|
+
# `calling`, or `failed`.
|
|
2589
|
+
# @param type
|
|
2590
|
+
# The type of the item. Always `mcp_call`.
|
|
1920
2591
|
def initialize: (
|
|
1921
2592
|
id: String,
|
|
1922
2593
|
arguments: String,
|
|
@@ -1946,8 +2617,11 @@ module OpenAI
|
|
|
1946
2617
|
type agent = { agent_name: String }
|
|
1947
2618
|
|
|
1948
2619
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2620
|
+
# The canonical name of the agent that produced this item.
|
|
1949
2621
|
attr_accessor agent_name: String
|
|
1950
2622
|
|
|
2623
|
+
# @param agent_name
|
|
2624
|
+
# The canonical name of the agent that produced this item.
|
|
1951
2625
|
def initialize: (agent_name: String) -> void
|
|
1952
2626
|
|
|
1953
2627
|
def to_hash: -> { agent_name: String }
|
|
@@ -1976,10 +2650,16 @@ module OpenAI
|
|
|
1976
2650
|
}
|
|
1977
2651
|
|
|
1978
2652
|
class CompactionTrigger < OpenAI::Internal::Type::BaseModel
|
|
2653
|
+
# The type of the item. Always `compaction_trigger`.
|
|
1979
2654
|
attr_accessor type: :compaction_trigger
|
|
1980
2655
|
|
|
2656
|
+
# The agent that produced this item.
|
|
1981
2657
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::CompactionTrigger::Agent?
|
|
1982
2658
|
|
|
2659
|
+
# @param agent
|
|
2660
|
+
# The agent that produced this item.
|
|
2661
|
+
# @param type
|
|
2662
|
+
# The type of the item. Always `compaction_trigger`.
|
|
1983
2663
|
def initialize: (
|
|
1984
2664
|
?agent: OpenAI::Beta::BetaResponseInputItem::CompactionTrigger::Agent?,
|
|
1985
2665
|
?type: :compaction_trigger
|
|
@@ -1993,8 +2673,11 @@ module OpenAI
|
|
|
1993
2673
|
type agent = { agent_name: String }
|
|
1994
2674
|
|
|
1995
2675
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2676
|
+
# The canonical name of the agent that produced this item.
|
|
1996
2677
|
attr_accessor agent_name: String
|
|
1997
2678
|
|
|
2679
|
+
# @param agent_name
|
|
2680
|
+
# The canonical name of the agent that produced this item.
|
|
1998
2681
|
def initialize: (agent_name: String) -> void
|
|
1999
2682
|
|
|
2000
2683
|
def to_hash: -> { agent_name: String }
|
|
@@ -2009,12 +2692,21 @@ module OpenAI
|
|
|
2009
2692
|
}
|
|
2010
2693
|
|
|
2011
2694
|
class ItemReference < OpenAI::Internal::Type::BaseModel
|
|
2695
|
+
# The ID of the item to reference.
|
|
2012
2696
|
attr_accessor id: String
|
|
2013
2697
|
|
|
2698
|
+
# The agent that produced this item.
|
|
2014
2699
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ItemReference::Agent?
|
|
2015
2700
|
|
|
2701
|
+
# The type of item to reference. Always `item_reference`.
|
|
2016
2702
|
attr_accessor type: OpenAI::Models::Beta::BetaResponseInputItem::ItemReference::type_?
|
|
2017
2703
|
|
|
2704
|
+
# @param id
|
|
2705
|
+
# The ID of the item to reference.
|
|
2706
|
+
# @param agent
|
|
2707
|
+
# The agent that produced this item.
|
|
2708
|
+
# @param type
|
|
2709
|
+
# The type of item to reference. Always `item_reference`.
|
|
2018
2710
|
def initialize: (
|
|
2019
2711
|
id: String,
|
|
2020
2712
|
?agent: OpenAI::Beta::BetaResponseInputItem::ItemReference::Agent?,
|
|
@@ -2030,8 +2722,11 @@ module OpenAI
|
|
|
2030
2722
|
type agent = { agent_name: String }
|
|
2031
2723
|
|
|
2032
2724
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2725
|
+
# The canonical name of the agent that produced this item.
|
|
2033
2726
|
attr_accessor agent_name: String
|
|
2034
2727
|
|
|
2728
|
+
# @param agent_name
|
|
2729
|
+
# The canonical name of the agent that produced this item.
|
|
2035
2730
|
def initialize: (agent_name: String) -> void
|
|
2036
2731
|
|
|
2037
2732
|
def to_hash: -> { agent_name: String }
|
|
@@ -2059,18 +2754,36 @@ module OpenAI
|
|
|
2059
2754
|
}
|
|
2060
2755
|
|
|
2061
2756
|
class Program < OpenAI::Internal::Type::BaseModel
|
|
2757
|
+
# The unique ID of this program item.
|
|
2062
2758
|
attr_accessor id: String
|
|
2063
2759
|
|
|
2760
|
+
# The stable call ID of the program item.
|
|
2064
2761
|
attr_accessor call_id: String
|
|
2065
2762
|
|
|
2763
|
+
# The JavaScript source executed by programmatic tool calling.
|
|
2066
2764
|
attr_accessor code: String
|
|
2067
2765
|
|
|
2766
|
+
# Opaque program replay fingerprint that must be round-tripped.
|
|
2068
2767
|
attr_accessor fingerprint: String
|
|
2069
2768
|
|
|
2769
|
+
# The item type. Always `program`.
|
|
2070
2770
|
attr_accessor type: :program
|
|
2071
2771
|
|
|
2772
|
+
# The agent that produced this item.
|
|
2072
2773
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::Program::Agent?
|
|
2073
2774
|
|
|
2775
|
+
# @param id
|
|
2776
|
+
# The unique ID of this program item.
|
|
2777
|
+
# @param call_id
|
|
2778
|
+
# The stable call ID of the program item.
|
|
2779
|
+
# @param code
|
|
2780
|
+
# The JavaScript source executed by programmatic tool calling.
|
|
2781
|
+
# @param fingerprint
|
|
2782
|
+
# Opaque program replay fingerprint that must be round-tripped.
|
|
2783
|
+
# @param agent
|
|
2784
|
+
# The agent that produced this item.
|
|
2785
|
+
# @param type
|
|
2786
|
+
# The item type. Always `program`.
|
|
2074
2787
|
def initialize: (
|
|
2075
2788
|
id: String,
|
|
2076
2789
|
call_id: String,
|
|
@@ -2092,8 +2805,11 @@ module OpenAI
|
|
|
2092
2805
|
type agent = { agent_name: String }
|
|
2093
2806
|
|
|
2094
2807
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2808
|
+
# The canonical name of the agent that produced this item.
|
|
2095
2809
|
attr_accessor agent_name: String
|
|
2096
2810
|
|
|
2811
|
+
# @param agent_name
|
|
2812
|
+
# The canonical name of the agent that produced this item.
|
|
2097
2813
|
def initialize: (agent_name: String) -> void
|
|
2098
2814
|
|
|
2099
2815
|
def to_hash: -> { agent_name: String }
|
|
@@ -2111,18 +2827,36 @@ module OpenAI
|
|
|
2111
2827
|
}
|
|
2112
2828
|
|
|
2113
2829
|
class ProgramOutput < OpenAI::Internal::Type::BaseModel
|
|
2830
|
+
# The unique ID of this program output item.
|
|
2114
2831
|
attr_accessor id: String
|
|
2115
2832
|
|
|
2833
|
+
# The call ID of the program item.
|
|
2116
2834
|
attr_accessor call_id: String
|
|
2117
2835
|
|
|
2836
|
+
# The result produced by the program item.
|
|
2118
2837
|
attr_accessor result: String
|
|
2119
2838
|
|
|
2839
|
+
# The terminal status of the program output.
|
|
2120
2840
|
attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::ProgramOutput::status
|
|
2121
2841
|
|
|
2842
|
+
# The item type. Always `program_output`.
|
|
2122
2843
|
attr_accessor type: :program_output
|
|
2123
2844
|
|
|
2845
|
+
# The agent that produced this item.
|
|
2124
2846
|
attr_accessor agent: OpenAI::Beta::BetaResponseInputItem::ProgramOutput::Agent?
|
|
2125
2847
|
|
|
2848
|
+
# @param id
|
|
2849
|
+
# The unique ID of this program output item.
|
|
2850
|
+
# @param call_id
|
|
2851
|
+
# The call ID of the program item.
|
|
2852
|
+
# @param result
|
|
2853
|
+
# The result produced by the program item.
|
|
2854
|
+
# @param status
|
|
2855
|
+
# The terminal status of the program output.
|
|
2856
|
+
# @param agent
|
|
2857
|
+
# The agent that produced this item.
|
|
2858
|
+
# @param type
|
|
2859
|
+
# The item type. Always `program_output`.
|
|
2126
2860
|
def initialize: (
|
|
2127
2861
|
id: String,
|
|
2128
2862
|
call_id: String,
|
|
@@ -2155,8 +2889,11 @@ module OpenAI
|
|
|
2155
2889
|
type agent = { agent_name: String }
|
|
2156
2890
|
|
|
2157
2891
|
class Agent < OpenAI::Internal::Type::BaseModel
|
|
2892
|
+
# The canonical name of the agent that produced this item.
|
|
2158
2893
|
attr_accessor agent_name: String
|
|
2159
2894
|
|
|
2895
|
+
# @param agent_name
|
|
2896
|
+
# The canonical name of the agent that produced this item.
|
|
2160
2897
|
def initialize: (agent_name: String) -> void
|
|
2161
2898
|
|
|
2162
2899
|
def to_hash: -> { agent_name: String }
|