anthropic 1.71.0 → 1.72.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 +21 -0
- data/README.md +1 -1
- data/lib/anthropic/helpers/bedrock/event_stream.rb +14 -4
- data/lib/anthropic/models/beta/agent_create_params.rb +1 -1
- data/lib/anthropic/models/beta/agent_update_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_browser_state_change.rb +1 -1
- data/lib/anthropic/models/beta/beta_citations_delta.rb +1 -1
- data/lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rb +1 -1
- data/lib/anthropic/models/beta/beta_cloud_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_cloud_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block_source_content.rb +1 -1
- data/lib/anthropic/models/beta/beta_context_management_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_context_management_response.rb +1 -1
- data/lib/anthropic/models/beta/beta_diagnostics.rb +1 -1
- data/lib/anthropic/models/beta/beta_document_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_dream_input.rb +1 -1
- data/lib/anthropic/models/beta/beta_dream_status.rb +15 -0
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +1 -1
- data/lib/anthropic/models/beta/beta_environment.rb +1 -1
- data/lib/anthropic/models/beta/beta_fallback_credit_usage.rb +1 -1
- data/lib/anthropic/models/beta/beta_fallback_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_image_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_input_transformation.rb +1 -1
- data/lib/anthropic/models/beta/beta_iterations_usage.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_status.rb +3 -0
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +9 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session.rb +7 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_type.rb +3 -0
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb +1 -1
- data/lib/anthropic/models/beta/beta_output_behavior.rb +1 -1
- data/lib/anthropic/models/beta/beta_raw_content_block_delta.rb +1 -1
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_request_document_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +2 -2
- data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +2 -2
- data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_text_citation.rb +1 -1
- data/lib/anthropic/models/beta/beta_text_citation_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_thinking_config_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_choice.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_use_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_fetch_url_sources.rb +3 -3
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +1 -1
- data/lib/anthropic/models/beta/deployment_create_params.rb +1 -1
- data/lib/anthropic/models/beta/deployment_update_params.rb +1 -1
- data/lib/anthropic/models/beta/environment_create_params.rb +1 -1
- data/lib/anthropic/models/beta/environment_update_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb +5 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rb +3 -0
- data/lib/anthropic/models/beta/messages/beta_message_batch_result.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state_param.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +103 -10
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rb +43 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/external_key_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/beta_federation_issuer.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/issuer_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/issuer_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +102 -10
- data/lib/anthropic/models/beta/session_create_params.rb +2 -2
- data/lib/anthropic/models/beta/session_list_params.rb +7 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -1
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rb +5 -0
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +7 -0
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +1 -1
- data/lib/anthropic/models/beta_error.rb +1 -1
- data/lib/anthropic/models/browser_state_change.rb +1 -1
- data/lib/anthropic/models/citations_delta.rb +1 -1
- data/lib/anthropic/models/content_block.rb +1 -1
- data/lib/anthropic/models/content_block_param.rb +1 -1
- data/lib/anthropic/models/content_block_source_content.rb +1 -1
- data/lib/anthropic/models/document_block.rb +1 -1
- data/lib/anthropic/models/document_block_param.rb +1 -1
- data/lib/anthropic/models/error_object.rb +1 -1
- data/lib/anthropic/models/image_block_param.rb +1 -1
- data/lib/anthropic/models/messages/message_batch_result.rb +1 -1
- data/lib/anthropic/models/raw_content_block_delta.rb +1 -1
- data/lib/anthropic/models/raw_content_block_start_event.rb +1 -1
- data/lib/anthropic/models/raw_message_stream_event.rb +1 -1
- data/lib/anthropic/models/server_tool_use_block.rb +1 -1
- data/lib/anthropic/models/server_tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/text_citation.rb +1 -1
- data/lib/anthropic/models/text_citation_param.rb +1 -1
- data/lib/anthropic/models/thinking_config_param.rb +1 -1
- data/lib/anthropic/models/tool_choice.rb +1 -1
- data/lib/anthropic/models/tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/tool_use_block.rb +1 -1
- data/lib/anthropic/models/tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/web_fetch_tool_result_block.rb +1 -1
- data/lib/anthropic/models/web_fetch_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/web_fetch_url_sources.rb +3 -3
- data/lib/anthropic/models/web_search_tool_result_block.rb +1 -1
- data/lib/anthropic/models/web_search_tool_result_block_param.rb +1 -1
- data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
- data/lib/anthropic/resources/beta/agents.rb +3 -3
- data/lib/anthropic/resources/beta/deployment_runs.rb +1 -1
- data/lib/anthropic/resources/beta/deployments.rb +6 -6
- data/lib/anthropic/resources/beta/memory_stores.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +6 -6
- data/lib/anthropic/resources/beta/tunnels.rb +4 -4
- data/lib/anthropic/resources/beta/vaults/credentials.rb +12 -12
- data/lib/anthropic/resources/beta/vaults.rb +4 -4
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +6 -0
- data/rbi/anthropic/models/beta/agent_create_params.rbi +1 -1
- data/rbi/anthropic/models/beta/agent_update_params.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_citations_delta.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_cloud_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_cloud_config_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_content_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_content_block_source_content.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_context_management_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_context_management_response.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_diagnostics.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_document_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_dream_input.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_dream_status.rbi +15 -0
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +4 -3
- data/rbi/anthropic/models/beta/beta_environment.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_fallback_credit_usage.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_fallback_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_image_block_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_input_transformation.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_iterations_usage.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_status.rbi +3 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_model_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +9 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_params.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_start_event_preview.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_trigger_context.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_trigger_type.rbi +3 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_output_behavior.rbi +4 -3
- data/rbi/anthropic/models/beta/beta_raw_content_block_delta.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_request_document_block.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_text_citation.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_text_citation_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_thinking_config_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_tool_choice.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +4 -3
- data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_url_sources.rbi +8 -3
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +1 -1
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/deployment_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/environment_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/environment_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi +5 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbi +3 -0
- data/rbi/anthropic/models/beta/messages/beta_message_batch_result.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +7 -2
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state.rbi +4 -1
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbi +4 -1
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +6 -2
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +145 -11
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbi +58 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/external_key_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/federation/beta_federation_issuer.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/federation/issuer_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/federation/issuer_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +143 -11
- data/rbi/anthropic/models/beta/session_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_list_params.rbi +7 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi +5 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +5 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbi +5 -0
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +4 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbi +7 -0
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta_error.rbi +4 -3
- data/rbi/anthropic/models/browser_state_change.rbi +1 -1
- data/rbi/anthropic/models/citations_delta.rbi +1 -1
- data/rbi/anthropic/models/content_block.rbi +1 -1
- data/rbi/anthropic/models/content_block_param.rbi +1 -1
- data/rbi/anthropic/models/content_block_source_content.rbi +1 -1
- data/rbi/anthropic/models/document_block.rbi +1 -1
- data/rbi/anthropic/models/document_block_param.rbi +1 -1
- data/rbi/anthropic/models/error_object.rbi +4 -3
- data/rbi/anthropic/models/image_block_param.rbi +1 -1
- data/rbi/anthropic/models/messages/message_batch_result.rbi +1 -1
- data/rbi/anthropic/models/raw_content_block_delta.rbi +1 -1
- data/rbi/anthropic/models/raw_content_block_start_event.rbi +2 -1
- data/rbi/anthropic/models/raw_message_stream_event.rbi +1 -1
- data/rbi/anthropic/models/server_tool_use_block.rbi +4 -3
- data/rbi/anthropic/models/server_tool_use_block_param.rbi +4 -3
- data/rbi/anthropic/models/text_citation.rbi +1 -1
- data/rbi/anthropic/models/text_citation_param.rbi +1 -1
- data/rbi/anthropic/models/thinking_config_param.rbi +1 -1
- data/rbi/anthropic/models/tool_choice.rbi +1 -1
- data/rbi/anthropic/models/tool_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/tool_use_block.rbi +4 -3
- data/rbi/anthropic/models/tool_use_block_param.rbi +4 -3
- data/rbi/anthropic/models/web_fetch_tool_result_block.rbi +4 -3
- data/rbi/anthropic/models/web_fetch_tool_result_block_param.rbi +5 -3
- data/rbi/anthropic/models/web_fetch_url_sources.rbi +7 -5
- data/rbi/anthropic/models/web_search_tool_result_block.rbi +4 -3
- data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +5 -3
- data/rbi/anthropic/resources/beta/agents/versions.rbi +1 -1
- data/rbi/anthropic/resources/beta/agents.rbi +3 -3
- data/rbi/anthropic/resources/beta/deployment_runs.rbi +1 -1
- data/rbi/anthropic/resources/beta/deployments.rbi +6 -6
- data/rbi/anthropic/resources/beta/memory_stores.rbi +11 -4
- data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +6 -6
- data/rbi/anthropic/resources/beta/tunnels.rbi +4 -4
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +12 -12
- data/rbi/anthropic/resources/beta/vaults.rbi +4 -4
- data/sig/anthropic/models/beta/agent_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/agent_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_browser_state_change.rbs +2 -1
- data/sig/anthropic/models/beta/beta_citations_delta.rbs +2 -1
- data/sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbs +2 -1
- data/sig/anthropic/models/beta/beta_cloud_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_cloud_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_content_block.rbs +1 -1
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_content_block_source_content.rbs +2 -1
- data/sig/anthropic/models/beta/beta_context_management_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_context_management_response.rbs +2 -1
- data/sig/anthropic/models/beta/beta_diagnostics.rbs +2 -1
- data/sig/anthropic/models/beta/beta_document_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_dream_input.rbs +1 -1
- data/sig/anthropic/models/beta/beta_dream_status.rbs +15 -0
- data/sig/anthropic/models/beta/beta_dreaming_error.rbs +1 -1
- data/sig/anthropic/models/beta/beta_environment.rbs +2 -1
- data/sig/anthropic/models/beta/beta_fallback_credit_usage.rbs +2 -1
- data/sig/anthropic/models/beta/beta_fallback_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_image_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_input_transformation.rbs +2 -1
- data/sig/anthropic/models/beta/beta_iterations_usage.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +4 -2
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_status.rbs +3 -0
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_model_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_model_config_params.rbs +9 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +7 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +4 -2
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent_update.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +4 -2
- data/sig/anthropic/models/beta/beta_managed_agents_skill_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_start_event_preview.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_trigger_context.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_trigger_type.rbs +3 -0
- data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs +2 -1
- data/sig/anthropic/models/beta/beta_output_behavior.rbs +1 -1
- data/sig/anthropic/models/beta/beta_raw_content_block_delta.rbs +2 -1
- data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_raw_message_stream_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_request_document_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_request_tool_addition_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_request_tool_removal_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_server_tool_use_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_text_citation.rbs +1 -1
- data/sig/anthropic/models/beta/beta_text_citation_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_thinking_config_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_tool_choice.rbs +1 -1
- data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_tool_use_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_fetch_url_sources.rbs +6 -3
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +1 -1
- data/sig/anthropic/models/beta/deployment_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/deployment_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/environment_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/environment_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbs +5 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbs +3 -0
- data/sig/anthropic/models/beta/messages/beta_message_batch_result.rbs +2 -1
- data/sig/anthropic/models/beta/organization/beta_api_key.rbs +4 -2
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state.rbs +2 -1
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbs +2 -1
- data/sig/anthropic/models/beta/organization/beta_external_key.rbs +4 -2
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +73 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbs +30 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/external_key_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/external_key_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/federation/beta_federation_issuer.rbs +2 -1
- data/sig/anthropic/models/beta/organization/federation/issuer_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/federation/issuer_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +73 -0
- data/sig/anthropic/models/beta/session_create_params.rbs +4 -2
- data/sig/anthropic/models/beta/session_list_params.rbs +7 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/resource_retrieve_response.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/resource_update_response.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbs +5 -0
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbs +7 -0
- data/sig/anthropic/models/beta/vaults/credential_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/credential_update_params.rbs +2 -1
- data/sig/anthropic/models/beta_error.rbs +1 -1
- data/sig/anthropic/models/browser_state_change.rbs +1 -1
- data/sig/anthropic/models/citations_delta.rbs +1 -1
- data/sig/anthropic/models/content_block.rbs +1 -1
- data/sig/anthropic/models/content_block_param.rbs +1 -1
- data/sig/anthropic/models/content_block_source_content.rbs +1 -1
- data/sig/anthropic/models/document_block.rbs +1 -1
- data/sig/anthropic/models/document_block_param.rbs +1 -1
- data/sig/anthropic/models/error_object.rbs +1 -1
- data/sig/anthropic/models/image_block_param.rbs +1 -1
- data/sig/anthropic/models/messages/message_batch_result.rbs +2 -1
- data/sig/anthropic/models/raw_content_block_delta.rbs +1 -1
- data/sig/anthropic/models/raw_content_block_start_event.rbs +2 -1
- data/sig/anthropic/models/raw_message_stream_event.rbs +1 -1
- data/sig/anthropic/models/server_tool_use_block.rbs +1 -1
- data/sig/anthropic/models/server_tool_use_block_param.rbs +2 -1
- data/sig/anthropic/models/text_citation.rbs +1 -1
- data/sig/anthropic/models/text_citation_param.rbs +1 -1
- data/sig/anthropic/models/thinking_config_param.rbs +1 -1
- data/sig/anthropic/models/tool_choice.rbs +1 -1
- data/sig/anthropic/models/tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/tool_use_block.rbs +1 -1
- data/sig/anthropic/models/tool_use_block_param.rbs +1 -1
- data/sig/anthropic/models/web_fetch_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/web_fetch_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/web_fetch_url_sources.rbs +6 -3
- data/sig/anthropic/models/web_search_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/web_search_tool_result_block_param.rbs +2 -1
- metadata +20 -2
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
62
62
|
# value, passing the remaining arguments to its constructor.
|
|
63
63
|
#
|
|
64
|
-
# @param type [Symbol, String]
|
|
64
|
+
# @param type [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsError::Type, String]
|
|
65
65
|
#
|
|
66
66
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
67
67
|
#
|
|
@@ -40,7 +40,7 @@ module Anthropic
|
|
|
40
40
|
# {Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryListItem} for
|
|
41
41
|
# more details.
|
|
42
42
|
#
|
|
43
|
-
# @param type [Symbol, String]
|
|
43
|
+
# @param type [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryListItem::Type, String]
|
|
44
44
|
#
|
|
45
45
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
46
46
|
#
|
data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb
CHANGED
|
@@ -9,8 +9,13 @@ module Anthropic
|
|
|
9
9
|
module BetaManagedAgentsMemoryVersionOperation
|
|
10
10
|
extend Anthropic::Internal::Type::Enum
|
|
11
11
|
|
|
12
|
+
# The memory was created. The first version in any memory's lineage.
|
|
12
13
|
CREATED = :created
|
|
14
|
+
|
|
15
|
+
# The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
|
|
13
16
|
MODIFIED = :modified
|
|
17
|
+
|
|
18
|
+
# The memory was deleted. The `content`, `content_size_bytes`, and `content_sha256` fields are `null` on this version. The preceding version, while it is retained, records the deleted content's size and hash.
|
|
14
19
|
DELETED = :deleted
|
|
15
20
|
|
|
16
21
|
# @!method self.values
|
|
@@ -12,7 +12,10 @@ module Anthropic
|
|
|
12
12
|
module BetaManagedAgentsMemoryView
|
|
13
13
|
extend Anthropic::Internal::Type::Enum
|
|
14
14
|
|
|
15
|
+
# Return the object with `content` set to `null`. The `content_size_bytes` and `content_sha256` fields remain populated, so sync clients can diff without fetching content.
|
|
15
16
|
BASIC = :basic
|
|
17
|
+
|
|
18
|
+
# Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
|
|
16
19
|
FULL = :full
|
|
17
20
|
|
|
18
21
|
# @!method self.values
|
|
@@ -40,7 +40,7 @@ module Anthropic
|
|
|
40
40
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
41
41
|
# value, passing the remaining arguments to its constructor.
|
|
42
42
|
#
|
|
43
|
-
# @param type [Symbol, String]
|
|
43
|
+
# @param type [Symbol, Anthropic::Models::Beta::Messages::BetaMessageBatchResult::Type, String]
|
|
44
44
|
#
|
|
45
45
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
46
46
|
#
|
|
@@ -142,7 +142,7 @@ module Anthropic
|
|
|
142
142
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
143
143
|
# value, passing the remaining arguments to its constructor.
|
|
144
144
|
#
|
|
145
|
-
# @param type [Symbol, String]
|
|
145
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaAPIKey::Principal::Type, String]
|
|
146
146
|
#
|
|
147
147
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
148
148
|
#
|
|
@@ -199,7 +199,7 @@ module Anthropic
|
|
|
199
199
|
# Some parameter documentations has been truncated, see
|
|
200
200
|
# {Anthropic::Models::Beta::Organization::BetaAPIKey::Scope} for more details.
|
|
201
201
|
#
|
|
202
|
-
# @param type [Symbol, String]
|
|
202
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaAPIKey::Scope::Type, String]
|
|
203
203
|
#
|
|
204
204
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
205
205
|
#
|
|
@@ -29,7 +29,7 @@ module Anthropic
|
|
|
29
29
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
30
30
|
# value, passing the remaining arguments to its constructor.
|
|
31
31
|
#
|
|
32
|
-
# @param type [Symbol, String]
|
|
32
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaComplianceSettingsState::Type, String]
|
|
33
33
|
#
|
|
34
34
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
35
35
|
#
|
|
@@ -29,7 +29,7 @@ module Anthropic
|
|
|
29
29
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
30
30
|
# value, passing the remaining arguments to its constructor.
|
|
31
31
|
#
|
|
32
|
-
# @param type [Symbol, String]
|
|
32
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaComplianceSettingsStateParam::Type, String]
|
|
33
33
|
#
|
|
34
34
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
35
35
|
#
|
|
@@ -113,7 +113,7 @@ module Anthropic
|
|
|
113
113
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
114
114
|
# value, passing the remaining arguments to its constructor.
|
|
115
115
|
#
|
|
116
|
-
# @param type [Symbol, String]
|
|
116
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaExternalKey::Attachment::Type, String]
|
|
117
117
|
#
|
|
118
118
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
119
119
|
#
|
|
@@ -166,7 +166,7 @@ module Anthropic
|
|
|
166
166
|
# {Anthropic::Models::Beta::Organization::BetaExternalKey::ProviderConfig} for
|
|
167
167
|
# more details.
|
|
168
168
|
#
|
|
169
|
-
# @param type [Symbol, String]
|
|
169
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaExternalKey::ProviderConfig::Type, String]
|
|
170
170
|
#
|
|
171
171
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
172
172
|
#
|
|
@@ -7,15 +7,27 @@ module Anthropic
|
|
|
7
7
|
# @see Anthropic::Resources::Beta::Organization::RateLimits#list
|
|
8
8
|
class BetaOrganizationRateLimit < Anthropic::Internal::Type::BaseModel
|
|
9
9
|
# @!attribute id
|
|
10
|
-
#
|
|
10
|
+
# Identifier of this rate-limit entry. It is stable within the organization and
|
|
11
|
+
# differs between organizations; the group's own identifier is `group.id`.
|
|
11
12
|
#
|
|
12
13
|
# @return [String]
|
|
13
14
|
required :id, String
|
|
14
15
|
|
|
16
|
+
# @!attribute group
|
|
17
|
+
# The rate-limit group this entry's limits apply to. Its `type` equals
|
|
18
|
+
# `group_type`.
|
|
19
|
+
#
|
|
20
|
+
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup]
|
|
21
|
+
required :group, union: -> { Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group }
|
|
22
|
+
|
|
15
23
|
# @!attribute group_type
|
|
16
|
-
#
|
|
17
|
-
#
|
|
18
|
-
#
|
|
24
|
+
# @deprecated Use `group.type` instead. `group_type` is still returned and always equals
|
|
25
|
+
# `group.type`.
|
|
26
|
+
#
|
|
27
|
+
# Deprecated: use `group.type` instead. The kind of rate-limit group this entry
|
|
28
|
+
# represents. `model_group` entries apply to a family of models (listed in
|
|
29
|
+
# `models`); other values apply to an API-surface category and have `models` set
|
|
30
|
+
# to `null`. Always equal to `group.type`.
|
|
19
31
|
#
|
|
20
32
|
# @return [Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::GroupType]
|
|
21
33
|
required :group_type, enum: -> { Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType }
|
|
@@ -40,14 +52,16 @@ module Anthropic
|
|
|
40
52
|
# @return [Symbol, :rate_limit]
|
|
41
53
|
required :type, const: :rate_limit
|
|
42
54
|
|
|
43
|
-
# @!method initialize(id:, group_type:, limits:, models:, type: :rate_limit)
|
|
55
|
+
# @!method initialize(id:, group:, group_type:, limits:, models:, type: :rate_limit)
|
|
44
56
|
# Some parameter documentations has been truncated, see
|
|
45
57
|
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit} for more
|
|
46
58
|
# details.
|
|
47
59
|
#
|
|
48
|
-
# @param id [String]
|
|
60
|
+
# @param id [String] Identifier of this rate-limit entry. It is stable within the organization and di
|
|
49
61
|
#
|
|
50
|
-
# @param
|
|
62
|
+
# @param group [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup] The rate-limit group this entry's limits apply to. Its `type` equals `group_type
|
|
63
|
+
#
|
|
64
|
+
# @param group_type [Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::GroupType] Deprecated: use `group.type` instead. The kind of rate-limit group this entry re
|
|
51
65
|
#
|
|
52
66
|
# @param limits [Array<Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitValue>] The limiter values that apply to this group.
|
|
53
67
|
#
|
|
@@ -56,9 +70,88 @@ module Anthropic
|
|
|
56
70
|
#
|
|
57
71
|
# @param type [Symbol, :rate_limit] Object type. Always `rate_limit` for organization rate-limit entries.
|
|
58
72
|
|
|
59
|
-
# The
|
|
60
|
-
#
|
|
61
|
-
#
|
|
73
|
+
# The rate-limit group this entry's limits apply to. Its `type` equals
|
|
74
|
+
# `group_type`.
|
|
75
|
+
#
|
|
76
|
+
# @see Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit#group
|
|
77
|
+
module Group
|
|
78
|
+
extend Anthropic::Internal::Type::Union
|
|
79
|
+
|
|
80
|
+
discriminator :type
|
|
81
|
+
|
|
82
|
+
variant :model_group, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitModelGroup }
|
|
83
|
+
|
|
84
|
+
variant :batch, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitBatchGroup }
|
|
85
|
+
|
|
86
|
+
variant :token_count, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup }
|
|
87
|
+
|
|
88
|
+
variant :files, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitFilesGroup }
|
|
89
|
+
|
|
90
|
+
variant :skills, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitSkillsGroup }
|
|
91
|
+
|
|
92
|
+
variant :web_search, -> { Anthropic::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup }
|
|
93
|
+
|
|
94
|
+
module Type
|
|
95
|
+
extend Anthropic::Internal::Type::Enum
|
|
96
|
+
|
|
97
|
+
MODEL_GROUP = :model_group
|
|
98
|
+
BATCH = :batch
|
|
99
|
+
TOKEN_COUNT = :token_count
|
|
100
|
+
FILES = :files
|
|
101
|
+
SKILLS = :skills
|
|
102
|
+
WEB_SEARCH = :web_search
|
|
103
|
+
|
|
104
|
+
# @!method self.values
|
|
105
|
+
# @return [Array<Symbol>]
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# @!method self.variants
|
|
109
|
+
# @return [Array(Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup)]
|
|
110
|
+
|
|
111
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
112
|
+
# value, passing the remaining arguments to its constructor.
|
|
113
|
+
#
|
|
114
|
+
# Some parameter documentations has been truncated, see
|
|
115
|
+
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::Group} for
|
|
116
|
+
# more details.
|
|
117
|
+
#
|
|
118
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit::Group::Type, String]
|
|
119
|
+
#
|
|
120
|
+
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
121
|
+
#
|
|
122
|
+
# @option args [String] :id Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
|
|
123
|
+
#
|
|
124
|
+
# @option args [String] :display_name Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For d
|
|
125
|
+
#
|
|
126
|
+
# @raise [ArgumentError]
|
|
127
|
+
# @return [Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup, Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup]
|
|
128
|
+
def self.new(type:, **args)
|
|
129
|
+
case type.to_sym
|
|
130
|
+
when :model_group
|
|
131
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitModelGroup.new(**args)
|
|
132
|
+
when :batch
|
|
133
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitBatchGroup.new(**args)
|
|
134
|
+
when :token_count
|
|
135
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup.new(**args)
|
|
136
|
+
when :files
|
|
137
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitFilesGroup.new(**args)
|
|
138
|
+
when :skills
|
|
139
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitSkillsGroup.new(**args)
|
|
140
|
+
when :web_search
|
|
141
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup.new(**args)
|
|
142
|
+
else
|
|
143
|
+
raise ArgumentError, "unknown type: #{type}"
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# @deprecated Use `group.type` instead. `group_type` is still returned and always equals
|
|
149
|
+
# `group.type`.
|
|
150
|
+
#
|
|
151
|
+
# Deprecated: use `group.type` instead. The kind of rate-limit group this entry
|
|
152
|
+
# represents. `model_group` entries apply to a family of models (listed in
|
|
153
|
+
# `models`); other values apply to an API-surface category and have `models` set
|
|
154
|
+
# to `null`. Always equal to `group.type`.
|
|
62
155
|
#
|
|
63
156
|
# @see Anthropic::Models::Beta::Organization::BetaOrganizationRateLimit#group_type
|
|
64
157
|
module GroupType
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitBatchGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
10
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
11
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute type
|
|
17
|
+
# Always `batch`: the Message Batches API.
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, :batch]
|
|
20
|
+
required :type, const: :batch
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, type: :batch)
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitBatchGroup} for
|
|
25
|
+
# more details.
|
|
26
|
+
#
|
|
27
|
+
# @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
|
|
28
|
+
#
|
|
29
|
+
# @param type [Symbol, :batch] Always `batch`: the Message Batches API.
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitFilesGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
10
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
11
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute type
|
|
17
|
+
# Always `files`: the Files API.
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, :files]
|
|
20
|
+
required :type, const: :files
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, type: :files)
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitFilesGroup} for
|
|
25
|
+
# more details.
|
|
26
|
+
#
|
|
27
|
+
# @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
|
|
28
|
+
#
|
|
29
|
+
# @param type [Symbol, :files] Always `files`: the Files API.
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitModelGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
10
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
11
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute display_name
|
|
17
|
+
# Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For
|
|
18
|
+
# display only; it may change.
|
|
19
|
+
#
|
|
20
|
+
# @return [String]
|
|
21
|
+
required :display_name, String
|
|
22
|
+
|
|
23
|
+
# @!attribute type
|
|
24
|
+
# Always `model_group`: a family of models.
|
|
25
|
+
#
|
|
26
|
+
# @return [Symbol, :model_group]
|
|
27
|
+
required :type, const: :model_group
|
|
28
|
+
|
|
29
|
+
# @!method initialize(id:, display_name:, type: :model_group)
|
|
30
|
+
# Some parameter documentations has been truncated, see
|
|
31
|
+
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitModelGroup} for
|
|
32
|
+
# more details.
|
|
33
|
+
#
|
|
34
|
+
# @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
|
|
35
|
+
#
|
|
36
|
+
# @param display_name [String] Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For d
|
|
37
|
+
#
|
|
38
|
+
# @param type [Symbol, :model_group] Always `model_group`: a family of models.
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitSkillsGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
10
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
11
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute type
|
|
17
|
+
# Always `skills`: the Skills API.
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, :skills]
|
|
20
|
+
required :type, const: :skills
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, type: :skills)
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitSkillsGroup}
|
|
25
|
+
# for more details.
|
|
26
|
+
#
|
|
27
|
+
# @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
|
|
28
|
+
#
|
|
29
|
+
# @param type [Symbol, :skills] Always `skills`: the Skills API.
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitTokenCountGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
10
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
11
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute type
|
|
17
|
+
# Always `token_count`: the Token Count API.
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, :token_count]
|
|
20
|
+
required :type, const: :token_count
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, type: :token_count)
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup}
|
|
25
|
+
# for more details.
|
|
26
|
+
#
|
|
27
|
+
# @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
|
|
28
|
+
#
|
|
29
|
+
# @param type [Symbol, :token_count] Always `token_count`: the Token Count API.
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitWebSearchGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
10
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
11
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute type
|
|
17
|
+
# Always `web_search`: the Messages API web search tool.
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, :web_search]
|
|
20
|
+
required :type, const: :web_search
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, type: :web_search)
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup}
|
|
25
|
+
# for more details.
|
|
26
|
+
#
|
|
27
|
+
# @param id [String] Opaque identifier of the rate-limit group (for example, `rlg_01VPTCmyiu5ZLsWkcxY
|
|
28
|
+
#
|
|
29
|
+
# @param type [Symbol, :web_search] Always `web_search`: the Messages API web search tool.
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -71,7 +71,7 @@ module Anthropic
|
|
|
71
71
|
# {Anthropic::Models::Beta::Organization::ExternalKeyCreateParams::ProviderConfig}
|
|
72
72
|
# for more details.
|
|
73
73
|
#
|
|
74
|
-
# @param type [Symbol, String]
|
|
74
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::ExternalKeyCreateParams::ProviderConfig::Type, String]
|
|
75
75
|
#
|
|
76
76
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
77
77
|
#
|
|
@@ -90,7 +90,7 @@ module Anthropic
|
|
|
90
90
|
# {Anthropic::Models::Beta::Organization::ExternalKeyUpdateParams::ProviderConfig}
|
|
91
91
|
# for more details.
|
|
92
92
|
#
|
|
93
|
-
# @param type [Symbol, String]
|
|
93
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::ExternalKeyUpdateParams::ProviderConfig::Type, String]
|
|
94
94
|
#
|
|
95
95
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
96
96
|
#
|
|
@@ -184,7 +184,7 @@ module Anthropic
|
|
|
184
184
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
185
185
|
# value, passing the remaining arguments to its constructor.
|
|
186
186
|
#
|
|
187
|
-
# @param type [Symbol, String]
|
|
187
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::Federation::BetaFederationIssuer::JWKS::Type, String]
|
|
188
188
|
#
|
|
189
189
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
190
190
|
#
|
|
@@ -102,7 +102,7 @@ module Anthropic
|
|
|
102
102
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
103
103
|
# value, passing the remaining arguments to its constructor.
|
|
104
104
|
#
|
|
105
|
-
# @param type [Symbol, String]
|
|
105
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::Federation::IssuerCreateParams::JWKS::Type, String]
|
|
106
106
|
#
|
|
107
107
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
108
108
|
#
|
|
@@ -125,7 +125,7 @@ module Anthropic
|
|
|
125
125
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
126
126
|
# value, passing the remaining arguments to its constructor.
|
|
127
127
|
#
|
|
128
|
-
# @param type [Symbol, String]
|
|
128
|
+
# @param type [Symbol, Anthropic::Models::Beta::Organization::Federation::IssuerUpdateParams::JWKS::Type, String]
|
|
129
129
|
#
|
|
130
130
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
131
131
|
#
|