anthropic 0.71.1__tar.gz → 0.72.0__tar.gz
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.
- anthropic-0.72.0/.release-please-manifest.json +3 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/CHANGELOG.md +8 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/PKG-INFO +1 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/api.md +4 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/pyproject.toml +1 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_version.py +1 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/__init__.py +8 -0
- anthropic-0.72.0/src/anthropic/types/beta/beta_all_thinking_turns_param.py +11 -0
- anthropic-0.72.0/src/anthropic/types/beta/beta_clear_thinking_20251015_edit_param.py +23 -0
- anthropic-0.72.0/src/anthropic/types/beta/beta_clear_thinking_20251015_edit_response.py +18 -0
- anthropic-0.72.0/src/anthropic/types/beta/beta_context_management_config_param.py +18 -0
- anthropic-0.72.0/src/anthropic/types/beta/beta_context_management_response.py +21 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_mcp_tool_use_block.py +2 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_mcp_tool_use_block_param.py +2 -2
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_server_tool_use_block.py +2 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_server_tool_use_block_param.py +2 -2
- anthropic-0.72.0/src/anthropic/types/beta/beta_thinking_turns_param.py +13 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_param.py +1 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_use_block.py +2 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_use_block_param.py +2 -2
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/server_tool_use_block.py +2 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/server_tool_use_block_param.py +2 -2
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_param.py +1 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_use_block.py +2 -1
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_use_block_param.py +2 -2
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/messages/test_batches.py +4 -16
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/test_messages.py +12 -48
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/test_messages.py +12 -48
- anthropic-0.71.1/.release-please-manifest.json +0 -3
- anthropic-0.71.1/src/anthropic/types/beta/beta_context_management_config_param.py +0 -15
- anthropic-0.71.1/src/anthropic/types/beta/beta_context_management_response.py +0 -13
- {anthropic-0.71.1 → anthropic-0.72.0}/.gitignore +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/CONTRIBUTING.md +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/LICENSE +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/README.md +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/SECURITY.md +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/bin/check-release-environment +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/bin/publish-pypi +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/.keep +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/batch_results.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/bedrock.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/images.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/logo.png +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/memory/basic.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/messages_stream.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/text_completions_demo_async.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/text_completions_demo_sync.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/text_completions_streaming.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/thinking.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/thinking_stream.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/tools.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/tools_runner.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/tools_stream.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/vertex.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/web_search.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/examples/web_search_stream.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/helpers.md +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/release-please-config.json +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/requirements-dev.lock +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_base_client.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_client.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_compat.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_constants.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_decoders/jsonl.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_exceptions.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_files.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_legacy_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_models.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_qs.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_resource.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_streaming.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_types.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_compat.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_datetime_parse.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_httpx.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_logs.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_proxy.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_reflection.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_resources_proxy.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_streams.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_sync.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_transform.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_typing.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/_utils/_utils.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/.keep +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/_extras/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/_extras/_common.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/_extras/_google_auth.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/_files.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/bedrock/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/bedrock/_auth.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/bedrock/_beta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/bedrock/_beta_messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/bedrock/_client.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/bedrock/_stream.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/bedrock/_stream_decoder.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/streaming/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/streaming/_beta_messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/streaming/_beta_types.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/streaming/_messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/streaming/_types.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/tools/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/tools/_beta_builtin_memory_tool.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/tools/_beta_functions.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/tools/_beta_runner.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/vertex/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/vertex/_auth.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/vertex/_beta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/vertex/_beta_messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/lib/vertex/_client.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/pagination.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/py.typed +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/beta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/files.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/messages/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/messages/batches.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/messages/messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/models.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/skills/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/skills/skills.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/beta/skills/versions.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/completions.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/messages/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/messages/batches.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/messages/messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/resources/models.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/anthropic_beta_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/base64_image_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/base64_pdf_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_base64_image_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_base64_pdf_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_base64_pdf_source.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_base64_pdf_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_output_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_output_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_cache_control_ephemeral_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_cache_creation.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_char_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_char_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_config.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_content_block_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_content_block_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_page_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_page_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_search_result_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_search_result_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citation_web_search_result_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citations_config_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citations_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_citations_web_search_result_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_output_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_output_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_20250825_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_content.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_code.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_container.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_container_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_container_upload_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_container_upload_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_content_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_content_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_content_block_source_content_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_content_block_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_count_tokens_context_management_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_document_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_file_document_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_file_image_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_image_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_input_json_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_input_tokens_clear_at_least_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_input_tokens_trigger_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_mcp_tool_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_command.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_create_command.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_delete_command.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_insert_command.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_rename_command.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_memory_tool_20250818_view_command.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_message.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_message_delta_usage.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_message_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_message_tokens_count.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_metadata_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_model_info.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_plain_text_source.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_plain_text_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_content_block_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_content_block_delta_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_content_block_start_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_content_block_stop_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_message_delta_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_message_start_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_message_stop_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_raw_message_stream_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_redacted_thinking_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_redacted_thinking_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_request_document_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_request_mcp_server_tool_configuration_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_search_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_server_tool_usage.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_signature_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_skill.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_skill_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_stop_reason.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_citation.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_citation_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_thinking_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_thinking_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_thinking_config_disabled_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_thinking_config_enabled_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_thinking_config_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_thinking_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_bash_20241022_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_bash_20250124_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_choice_any_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_choice_auto_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_choice_none_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_choice_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_choice_tool_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_computer_use_20250124_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_text_editor_20241022_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_union_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_uses_keep_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_tool_uses_trigger_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_url_image_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_url_pdf_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_usage.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_tool_20250910_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_code.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_20250305_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_request_error_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_content.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_result_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_web_search_tool_result_error_code.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/deleted_file.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/file_list_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/file_metadata.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/file_upload_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/message_count_tokens_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/message_create_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/batch_create_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/batch_list_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_deleted_message_batch.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch_canceled_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch_errored_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch_expired_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch_individual_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch_request_counts.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/messages/beta_message_batch_succeeded_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/model_list_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skill_create_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skill_create_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skill_delete_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skill_list_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skill_list_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skill_retrieve_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skills/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skills/version_create_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skills/version_create_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skills/version_delete_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skills/version_list_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skills/version_list_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/skills/version_retrieve_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_api_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_authentication_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_billing_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_error_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_gateway_timeout_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_invalid_request_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_not_found_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_overloaded_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_permission_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta_rate_limit_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/cache_control_ephemeral_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/cache_creation.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_char_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_char_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_content_block_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_content_block_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_page_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_page_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_search_result_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citation_web_search_result_location_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citations_config_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citations_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citations_search_result_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/citations_web_search_result_location.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/completion.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/completion_create_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/content_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/content_block_delta_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/content_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/content_block_source_content_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/content_block_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/content_block_start_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/content_block_stop_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/document_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/image_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/input_json_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_count_tokens_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_count_tokens_tool_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_create_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_delta_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_delta_usage.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_start_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_stop_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_stream_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/message_tokens_count.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/batch_create_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/batch_list_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/deleted_message_batch.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch_canceled_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch_errored_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch_expired_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch_individual_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch_request_counts.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/messages/message_batch_succeeded_result.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/metadata_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/model.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/model_info.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/model_list_params.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/model_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/plain_text_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_content_block_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_content_block_delta_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_content_block_start_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_content_block_stop_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_message_delta_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_message_start_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_message_stop_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/raw_message_stream_event.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/redacted_thinking_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/redacted_thinking_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/search_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/server_tool_usage.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/api_error_object.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/authentication_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/billing_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/error_object.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/error_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/gateway_timeout_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/invalid_request_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/not_found_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/overloaded_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/permission_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/shared/rate_limit_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/signature_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/stop_reason.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/text_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/text_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/text_citation.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/text_citation_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/text_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/thinking_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/thinking_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/thinking_config_disabled_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/thinking_config_enabled_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/thinking_config_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/thinking_delta.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_bash_20250124_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_choice_any_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_choice_auto_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_choice_none_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_choice_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_choice_tool_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/tool_union_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/url_image_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/url_pdf_source_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/usage.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_tool_20250305_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_tool_request_error_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_tool_result_block.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_tool_result_block_content.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_tool_result_block_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/web_search_tool_result_error.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/messages/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/skills/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/skills/test_versions.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/test_files.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/test_models.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/beta/test_skills.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/messages/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/messages/test_batches.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/test_completions.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/api_resources/test_models.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/conftest.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/decoders/test_jsonl.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/snapshots.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/fixtures/basic_response.txt +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/fixtures/incomplete_partial_json_response.txt +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/fixtures/tool_use_response.txt +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/helpers.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/test_beta_messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/test_messages.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/streaming/test_partial_json.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/test_bedrock.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/test_vertex.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/tools/__init__.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_max_iterations/ef758469-6fa6-454c-b2e6-19d0b450a8c5.json +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/tools/__inline_snapshot__/test_runners/test_streaming_call_sync/e2140c0f-07db-47ee-b86b-c2ec476866d5.json +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/tools/__inline_snapshot__/test_runners/test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/tools/test_functions.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/tools/test_runners.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/lib/utils.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/sample_file.txt +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_client.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_deepcopy.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_extract_files.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_files.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_legacy_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_models.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_qs.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_required_args.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_response.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_streaming.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_transform.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_utils/test_proxy.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/test_utils/test_typing.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tests/utils.py +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/tools.md +0 -0
- {anthropic-0.71.1 → anthropic-0.72.0}/uv.lock +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.72.0 (2025-10-28)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.71.1...v0.72.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.71.1...v0.72.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add ability to clear thinking in context management ([27c8f17](https://github.com/anthropics/anthropic-sdk-python/commit/27c8f17c573c73c4db2146731ef1ab712140b0a2))
|
|
10
|
+
|
|
3
11
|
## 0.71.1 (2025-10-28)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.71.0...v0.71.1](https://github.com/anthropics/anthropic-sdk-python/compare/v0.71.0...v0.71.1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anthropic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.72.0
|
|
4
4
|
Summary: The official Python library for the anthropic API
|
|
5
5
|
Project-URL: Homepage, https://github.com/anthropics/anthropic-sdk-python
|
|
6
6
|
Project-URL: Repository, https://github.com/anthropics/anthropic-sdk-python
|
|
@@ -202,6 +202,7 @@ Types:
|
|
|
202
202
|
|
|
203
203
|
```python
|
|
204
204
|
from anthropic.types.beta import (
|
|
205
|
+
BetaAllThinkingTurns,
|
|
205
206
|
BetaBase64ImageSource,
|
|
206
207
|
BetaBase64PDFSource,
|
|
207
208
|
BetaBashCodeExecutionOutputBlock,
|
|
@@ -227,6 +228,8 @@ from anthropic.types.beta import (
|
|
|
227
228
|
BetaCitationsConfigParam,
|
|
228
229
|
BetaCitationsDelta,
|
|
229
230
|
BetaCitationsWebSearchResultLocation,
|
|
231
|
+
BetaClearThinking20251015Edit,
|
|
232
|
+
BetaClearThinking20251015EditResponse,
|
|
230
233
|
BetaClearToolUses20250919Edit,
|
|
231
234
|
BetaClearToolUses20250919EditResponse,
|
|
232
235
|
BetaCodeExecutionOutputBlock,
|
|
@@ -320,6 +323,7 @@ from anthropic.types.beta import (
|
|
|
320
323
|
BetaThinkingConfigEnabled,
|
|
321
324
|
BetaThinkingConfigParam,
|
|
322
325
|
BetaThinkingDelta,
|
|
326
|
+
BetaThinkingTurns,
|
|
323
327
|
BetaTool,
|
|
324
328
|
BetaToolBash20241022,
|
|
325
329
|
BetaToolBash20250124,
|
|
@@ -52,6 +52,7 @@ from .beta_message_delta_usage import BetaMessageDeltaUsage as BetaMessageDeltaU
|
|
|
52
52
|
from .beta_text_citation_param import BetaTextCitationParam as BetaTextCitationParam
|
|
53
53
|
from .beta_message_tokens_count import BetaMessageTokensCount as BetaMessageTokensCount
|
|
54
54
|
from .beta_thinking_block_param import BetaThinkingBlockParam as BetaThinkingBlockParam
|
|
55
|
+
from .beta_thinking_turns_param import BetaThinkingTurnsParam as BetaThinkingTurnsParam
|
|
55
56
|
from .beta_tool_use_block_param import BetaToolUseBlockParam as BetaToolUseBlockParam
|
|
56
57
|
from .beta_tool_uses_keep_param import BetaToolUsesKeepParam as BetaToolUsesKeepParam
|
|
57
58
|
from .beta_url_pdf_source_param import BetaURLPDFSourceParam as BetaURLPDFSourceParam
|
|
@@ -81,6 +82,7 @@ from .beta_redacted_thinking_block import BetaRedactedThinkingBlock as BetaRedac
|
|
|
81
82
|
from .beta_tool_result_block_param import BetaToolResultBlockParam as BetaToolResultBlockParam
|
|
82
83
|
from .beta_tool_uses_trigger_param import BetaToolUsesTriggerParam as BetaToolUsesTriggerParam
|
|
83
84
|
from .beta_web_search_result_block import BetaWebSearchResultBlock as BetaWebSearchResultBlock
|
|
85
|
+
from .beta_all_thinking_turns_param import BetaAllThinkingTurnsParam as BetaAllThinkingTurnsParam
|
|
84
86
|
from .beta_mcp_tool_use_block_param import BetaMCPToolUseBlockParam as BetaMCPToolUseBlockParam
|
|
85
87
|
from .beta_raw_message_stream_event import BetaRawMessageStreamEvent as BetaRawMessageStreamEvent
|
|
86
88
|
from .beta_tool_bash_20241022_param import BetaToolBash20241022Param as BetaToolBash20241022Param
|
|
@@ -140,6 +142,9 @@ from .beta_memory_tool_20250818_view_command import (
|
|
|
140
142
|
from .beta_web_fetch_tool_result_block_param import BetaWebFetchToolResultBlockParam as BetaWebFetchToolResultBlockParam
|
|
141
143
|
from .beta_web_fetch_tool_result_error_block import BetaWebFetchToolResultErrorBlock as BetaWebFetchToolResultErrorBlock
|
|
142
144
|
from .beta_web_search_tool_result_error_code import BetaWebSearchToolResultErrorCode as BetaWebSearchToolResultErrorCode
|
|
145
|
+
from .beta_clear_thinking_20251015_edit_param import (
|
|
146
|
+
BetaClearThinking20251015EditParam as BetaClearThinking20251015EditParam,
|
|
147
|
+
)
|
|
143
148
|
from .beta_code_execution_tool_20250522_param import (
|
|
144
149
|
BetaCodeExecutionTool20250522Param as BetaCodeExecutionTool20250522Param,
|
|
145
150
|
)
|
|
@@ -191,6 +196,9 @@ from .beta_citation_content_block_location_param import (
|
|
|
191
196
|
from .beta_citation_search_result_location_param import (
|
|
192
197
|
BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam,
|
|
193
198
|
)
|
|
199
|
+
from .beta_clear_thinking_20251015_edit_response import (
|
|
200
|
+
BetaClearThinking20251015EditResponse as BetaClearThinking20251015EditResponse,
|
|
201
|
+
)
|
|
194
202
|
from .beta_code_execution_tool_result_error_code import (
|
|
195
203
|
BetaCodeExecutionToolResultErrorCode as BetaCodeExecutionToolResultErrorCode,
|
|
196
204
|
)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["BetaAllThinkingTurnsParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BetaAllThinkingTurnsParam(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["all"]]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Union
|
|
6
|
+
from typing_extensions import Literal, Required, TypeAlias, TypedDict
|
|
7
|
+
|
|
8
|
+
from .beta_thinking_turns_param import BetaThinkingTurnsParam
|
|
9
|
+
from .beta_all_thinking_turns_param import BetaAllThinkingTurnsParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["BetaClearThinking20251015EditParam", "Keep"]
|
|
12
|
+
|
|
13
|
+
Keep: TypeAlias = Union[BetaThinkingTurnsParam, BetaAllThinkingTurnsParam, Literal["all"]]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class BetaClearThinking20251015EditParam(TypedDict, total=False):
|
|
17
|
+
type: Required[Literal["clear_thinking_20251015"]]
|
|
18
|
+
|
|
19
|
+
keep: Keep
|
|
20
|
+
"""Number of most recent assistant turns to keep thinking blocks for.
|
|
21
|
+
|
|
22
|
+
Older turns will have their thinking blocks removed.
|
|
23
|
+
"""
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing_extensions import Literal
|
|
4
|
+
|
|
5
|
+
from ..._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["BetaClearThinking20251015EditResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BetaClearThinking20251015EditResponse(BaseModel):
|
|
11
|
+
cleared_input_tokens: int
|
|
12
|
+
"""Number of input tokens cleared by this edit."""
|
|
13
|
+
|
|
14
|
+
cleared_thinking_turns: int
|
|
15
|
+
"""Number of thinking turns that were cleared."""
|
|
16
|
+
|
|
17
|
+
type: Literal["clear_thinking_20251015"]
|
|
18
|
+
"""The type of context management edit applied."""
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Union, Iterable
|
|
6
|
+
from typing_extensions import TypeAlias, TypedDict
|
|
7
|
+
|
|
8
|
+
from .beta_clear_thinking_20251015_edit_param import BetaClearThinking20251015EditParam
|
|
9
|
+
from .beta_clear_tool_uses_20250919_edit_param import BetaClearToolUses20250919EditParam
|
|
10
|
+
|
|
11
|
+
__all__ = ["BetaContextManagementConfigParam", "Edit"]
|
|
12
|
+
|
|
13
|
+
Edit: TypeAlias = Union[BetaClearToolUses20250919EditParam, BetaClearThinking20251015EditParam]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class BetaContextManagementConfigParam(TypedDict, total=False):
|
|
17
|
+
edits: Iterable[Edit]
|
|
18
|
+
"""List of context management edits to apply"""
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union
|
|
4
|
+
from typing_extensions import Annotated, TypeAlias
|
|
5
|
+
|
|
6
|
+
from ..._utils import PropertyInfo
|
|
7
|
+
from ..._models import BaseModel
|
|
8
|
+
from .beta_clear_thinking_20251015_edit_response import BetaClearThinking20251015EditResponse
|
|
9
|
+
from .beta_clear_tool_uses_20250919_edit_response import BetaClearToolUses20250919EditResponse
|
|
10
|
+
|
|
11
|
+
__all__ = ["BetaContextManagementResponse", "AppliedEdit"]
|
|
12
|
+
|
|
13
|
+
AppliedEdit: TypeAlias = Annotated[
|
|
14
|
+
Union[BetaClearToolUses20250919EditResponse, BetaClearThinking20251015EditResponse],
|
|
15
|
+
PropertyInfo(discriminator="type"),
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class BetaContextManagementResponse(BaseModel):
|
|
20
|
+
applied_edits: List[AppliedEdit]
|
|
21
|
+
"""List of context management edits that were applied."""
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import Dict
|
|
3
4
|
from typing_extensions import Literal
|
|
4
5
|
|
|
5
6
|
from ..._models import BaseModel
|
|
@@ -10,7 +11,7 @@ __all__ = ["BetaMCPToolUseBlock"]
|
|
|
10
11
|
class BetaMCPToolUseBlock(BaseModel):
|
|
11
12
|
id: str
|
|
12
13
|
|
|
13
|
-
input: object
|
|
14
|
+
input: Dict[str, object]
|
|
14
15
|
|
|
15
16
|
name: str
|
|
16
17
|
"""The name of the MCP tool"""
|
{anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_mcp_tool_use_block_param.py
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Optional
|
|
5
|
+
from typing import Dict, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, TypedDict
|
|
7
7
|
|
|
8
8
|
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
|
|
@@ -13,7 +13,7 @@ __all__ = ["BetaMCPToolUseBlockParam"]
|
|
|
13
13
|
class BetaMCPToolUseBlockParam(TypedDict, total=False):
|
|
14
14
|
id: Required[str]
|
|
15
15
|
|
|
16
|
-
input: Required[object]
|
|
16
|
+
input: Required[Dict[str, object]]
|
|
17
17
|
|
|
18
18
|
name: Required[str]
|
|
19
19
|
|
{anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_server_tool_use_block.py
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import Dict
|
|
3
4
|
from typing_extensions import Literal
|
|
4
5
|
|
|
5
6
|
from ..._models import BaseModel
|
|
@@ -10,7 +11,7 @@ __all__ = ["BetaServerToolUseBlock"]
|
|
|
10
11
|
class BetaServerToolUseBlock(BaseModel):
|
|
11
12
|
id: str
|
|
12
13
|
|
|
13
|
-
input: object
|
|
14
|
+
input: Dict[str, object]
|
|
14
15
|
|
|
15
16
|
name: Literal["web_search", "web_fetch", "code_execution", "bash_code_execution", "text_editor_code_execution"]
|
|
16
17
|
|
{anthropic-0.71.1 → anthropic-0.72.0}/src/anthropic/types/beta/beta_server_tool_use_block_param.py
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Optional
|
|
5
|
+
from typing import Dict, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, TypedDict
|
|
7
7
|
|
|
8
8
|
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
|
|
@@ -13,7 +13,7 @@ __all__ = ["BetaServerToolUseBlockParam"]
|
|
|
13
13
|
class BetaServerToolUseBlockParam(TypedDict, total=False):
|
|
14
14
|
id: Required[str]
|
|
15
15
|
|
|
16
|
-
input: Required[object]
|
|
16
|
+
input: Required[Dict[str, object]]
|
|
17
17
|
|
|
18
18
|
name: Required[
|
|
19
19
|
Literal["web_search", "web_fetch", "code_execution", "bash_code_execution", "text_editor_code_execution"]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["BetaThinkingTurnsParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BetaThinkingTurnsParam(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["thinking_turns"]]
|
|
12
|
+
|
|
13
|
+
value: Required[int]
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import Dict
|
|
3
4
|
from typing_extensions import Literal
|
|
4
5
|
|
|
5
6
|
from ..._models import BaseModel
|
|
@@ -10,7 +11,7 @@ __all__ = ["BetaToolUseBlock"]
|
|
|
10
11
|
class BetaToolUseBlock(BaseModel):
|
|
11
12
|
id: str
|
|
12
13
|
|
|
13
|
-
input: object
|
|
14
|
+
input: Dict[str, object]
|
|
14
15
|
|
|
15
16
|
name: str
|
|
16
17
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Optional
|
|
5
|
+
from typing import Dict, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, TypedDict
|
|
7
7
|
|
|
8
8
|
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
|
|
@@ -13,7 +13,7 @@ __all__ = ["BetaToolUseBlockParam"]
|
|
|
13
13
|
class BetaToolUseBlockParam(TypedDict, total=False):
|
|
14
14
|
id: Required[str]
|
|
15
15
|
|
|
16
|
-
input: Required[object]
|
|
16
|
+
input: Required[Dict[str, object]]
|
|
17
17
|
|
|
18
18
|
name: Required[str]
|
|
19
19
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import Dict
|
|
3
4
|
from typing_extensions import Literal
|
|
4
5
|
|
|
5
6
|
from .._models import BaseModel
|
|
@@ -10,7 +11,7 @@ __all__ = ["ServerToolUseBlock"]
|
|
|
10
11
|
class ServerToolUseBlock(BaseModel):
|
|
11
12
|
id: str
|
|
12
13
|
|
|
13
|
-
input: object
|
|
14
|
+
input: Dict[str, object]
|
|
14
15
|
|
|
15
16
|
name: Literal["web_search"]
|
|
16
17
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Optional
|
|
5
|
+
from typing import Dict, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, TypedDict
|
|
7
7
|
|
|
8
8
|
from .cache_control_ephemeral_param import CacheControlEphemeralParam
|
|
@@ -13,7 +13,7 @@ __all__ = ["ServerToolUseBlockParam"]
|
|
|
13
13
|
class ServerToolUseBlockParam(TypedDict, total=False):
|
|
14
14
|
id: Required[str]
|
|
15
15
|
|
|
16
|
-
input: Required[object]
|
|
16
|
+
input: Required[Dict[str, object]]
|
|
17
17
|
|
|
18
18
|
name: Required[Literal["web_search"]]
|
|
19
19
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import Dict
|
|
3
4
|
from typing_extensions import Literal
|
|
4
5
|
|
|
5
6
|
from .._models import BaseModel
|
|
@@ -10,7 +11,7 @@ __all__ = ["ToolUseBlock"]
|
|
|
10
11
|
class ToolUseBlock(BaseModel):
|
|
11
12
|
id: str
|
|
12
13
|
|
|
13
|
-
input: object
|
|
14
|
+
input: Dict[str, object]
|
|
14
15
|
|
|
15
16
|
name: str
|
|
16
17
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Optional
|
|
5
|
+
from typing import Dict, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, TypedDict
|
|
7
7
|
|
|
8
8
|
from .cache_control_ephemeral_param import CacheControlEphemeralParam
|
|
@@ -13,7 +13,7 @@ __all__ = ["ToolUseBlockParam"]
|
|
|
13
13
|
class ToolUseBlockParam(TypedDict, total=False):
|
|
14
14
|
id: Required[str]
|
|
15
15
|
|
|
16
|
-
input: Required[object]
|
|
16
|
+
input: Required[Dict[str, object]]
|
|
17
17
|
|
|
18
18
|
name: Required[str]
|
|
19
19
|
|
|
@@ -143,14 +143,8 @@ class TestBatches:
|
|
|
143
143
|
"input_schema": {
|
|
144
144
|
"type": "object",
|
|
145
145
|
"properties": {
|
|
146
|
-
"location":
|
|
147
|
-
|
|
148
|
-
"type": "string",
|
|
149
|
-
},
|
|
150
|
-
"unit": {
|
|
151
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
152
|
-
"type": "string",
|
|
153
|
-
},
|
|
146
|
+
"location": "bar",
|
|
147
|
+
"unit": "bar",
|
|
154
148
|
},
|
|
155
149
|
"required": ["location"],
|
|
156
150
|
},
|
|
@@ -563,14 +557,8 @@ class TestAsyncBatches:
|
|
|
563
557
|
"input_schema": {
|
|
564
558
|
"type": "object",
|
|
565
559
|
"properties": {
|
|
566
|
-
"location":
|
|
567
|
-
|
|
568
|
-
"type": "string",
|
|
569
|
-
},
|
|
570
|
-
"unit": {
|
|
571
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
572
|
-
"type": "string",
|
|
573
|
-
},
|
|
560
|
+
"location": "bar",
|
|
561
|
+
"unit": "bar",
|
|
574
562
|
},
|
|
575
563
|
"required": ["location"],
|
|
576
564
|
},
|
|
@@ -128,14 +128,8 @@ class TestMessages:
|
|
|
128
128
|
"input_schema": {
|
|
129
129
|
"type": "object",
|
|
130
130
|
"properties": {
|
|
131
|
-
"location":
|
|
132
|
-
|
|
133
|
-
"type": "string",
|
|
134
|
-
},
|
|
135
|
-
"unit": {
|
|
136
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
137
|
-
"type": "string",
|
|
138
|
-
},
|
|
131
|
+
"location": "bar",
|
|
132
|
+
"unit": "bar",
|
|
139
133
|
},
|
|
140
134
|
"required": ["location"],
|
|
141
135
|
},
|
|
@@ -303,14 +297,8 @@ class TestMessages:
|
|
|
303
297
|
"input_schema": {
|
|
304
298
|
"type": "object",
|
|
305
299
|
"properties": {
|
|
306
|
-
"location":
|
|
307
|
-
|
|
308
|
-
"type": "string",
|
|
309
|
-
},
|
|
310
|
-
"unit": {
|
|
311
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
312
|
-
"type": "string",
|
|
313
|
-
},
|
|
300
|
+
"location": "bar",
|
|
301
|
+
"unit": "bar",
|
|
314
302
|
},
|
|
315
303
|
"required": ["location"],
|
|
316
304
|
},
|
|
@@ -461,14 +449,8 @@ class TestMessages:
|
|
|
461
449
|
"input_schema": {
|
|
462
450
|
"type": "object",
|
|
463
451
|
"properties": {
|
|
464
|
-
"location":
|
|
465
|
-
|
|
466
|
-
"type": "string",
|
|
467
|
-
},
|
|
468
|
-
"unit": {
|
|
469
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
470
|
-
"type": "string",
|
|
471
|
-
},
|
|
452
|
+
"location": "bar",
|
|
453
|
+
"unit": "bar",
|
|
472
454
|
},
|
|
473
455
|
"required": ["location"],
|
|
474
456
|
},
|
|
@@ -637,14 +619,8 @@ class TestAsyncMessages:
|
|
|
637
619
|
"input_schema": {
|
|
638
620
|
"type": "object",
|
|
639
621
|
"properties": {
|
|
640
|
-
"location":
|
|
641
|
-
|
|
642
|
-
"type": "string",
|
|
643
|
-
},
|
|
644
|
-
"unit": {
|
|
645
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
646
|
-
"type": "string",
|
|
647
|
-
},
|
|
622
|
+
"location": "bar",
|
|
623
|
+
"unit": "bar",
|
|
648
624
|
},
|
|
649
625
|
"required": ["location"],
|
|
650
626
|
},
|
|
@@ -812,14 +788,8 @@ class TestAsyncMessages:
|
|
|
812
788
|
"input_schema": {
|
|
813
789
|
"type": "object",
|
|
814
790
|
"properties": {
|
|
815
|
-
"location":
|
|
816
|
-
|
|
817
|
-
"type": "string",
|
|
818
|
-
},
|
|
819
|
-
"unit": {
|
|
820
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
821
|
-
"type": "string",
|
|
822
|
-
},
|
|
791
|
+
"location": "bar",
|
|
792
|
+
"unit": "bar",
|
|
823
793
|
},
|
|
824
794
|
"required": ["location"],
|
|
825
795
|
},
|
|
@@ -970,14 +940,8 @@ class TestAsyncMessages:
|
|
|
970
940
|
"input_schema": {
|
|
971
941
|
"type": "object",
|
|
972
942
|
"properties": {
|
|
973
|
-
"location":
|
|
974
|
-
|
|
975
|
-
"type": "string",
|
|
976
|
-
},
|
|
977
|
-
"unit": {
|
|
978
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
979
|
-
"type": "string",
|
|
980
|
-
},
|
|
943
|
+
"location": "bar",
|
|
944
|
+
"unit": "bar",
|
|
981
945
|
},
|
|
982
946
|
"required": ["location"],
|
|
983
947
|
},
|
|
@@ -84,14 +84,8 @@ class TestMessages:
|
|
|
84
84
|
"input_schema": {
|
|
85
85
|
"type": "object",
|
|
86
86
|
"properties": {
|
|
87
|
-
"location":
|
|
88
|
-
|
|
89
|
-
"type": "string",
|
|
90
|
-
},
|
|
91
|
-
"unit": {
|
|
92
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
93
|
-
"type": "string",
|
|
94
|
-
},
|
|
87
|
+
"location": "bar",
|
|
88
|
+
"unit": "bar",
|
|
95
89
|
},
|
|
96
90
|
"required": ["location"],
|
|
97
91
|
},
|
|
@@ -211,14 +205,8 @@ class TestMessages:
|
|
|
211
205
|
"input_schema": {
|
|
212
206
|
"type": "object",
|
|
213
207
|
"properties": {
|
|
214
|
-
"location":
|
|
215
|
-
|
|
216
|
-
"type": "string",
|
|
217
|
-
},
|
|
218
|
-
"unit": {
|
|
219
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
220
|
-
"type": "string",
|
|
221
|
-
},
|
|
208
|
+
"location": "bar",
|
|
209
|
+
"unit": "bar",
|
|
222
210
|
},
|
|
223
211
|
"required": ["location"],
|
|
224
212
|
},
|
|
@@ -341,14 +329,8 @@ class TestMessages:
|
|
|
341
329
|
"input_schema": {
|
|
342
330
|
"type": "object",
|
|
343
331
|
"properties": {
|
|
344
|
-
"location":
|
|
345
|
-
|
|
346
|
-
"type": "string",
|
|
347
|
-
},
|
|
348
|
-
"unit": {
|
|
349
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
350
|
-
"type": "string",
|
|
351
|
-
},
|
|
332
|
+
"location": "bar",
|
|
333
|
+
"unit": "bar",
|
|
352
334
|
},
|
|
353
335
|
"required": ["location"],
|
|
354
336
|
},
|
|
@@ -469,14 +451,8 @@ class TestAsyncMessages:
|
|
|
469
451
|
"input_schema": {
|
|
470
452
|
"type": "object",
|
|
471
453
|
"properties": {
|
|
472
|
-
"location":
|
|
473
|
-
|
|
474
|
-
"type": "string",
|
|
475
|
-
},
|
|
476
|
-
"unit": {
|
|
477
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
478
|
-
"type": "string",
|
|
479
|
-
},
|
|
454
|
+
"location": "bar",
|
|
455
|
+
"unit": "bar",
|
|
480
456
|
},
|
|
481
457
|
"required": ["location"],
|
|
482
458
|
},
|
|
@@ -596,14 +572,8 @@ class TestAsyncMessages:
|
|
|
596
572
|
"input_schema": {
|
|
597
573
|
"type": "object",
|
|
598
574
|
"properties": {
|
|
599
|
-
"location":
|
|
600
|
-
|
|
601
|
-
"type": "string",
|
|
602
|
-
},
|
|
603
|
-
"unit": {
|
|
604
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
605
|
-
"type": "string",
|
|
606
|
-
},
|
|
575
|
+
"location": "bar",
|
|
576
|
+
"unit": "bar",
|
|
607
577
|
},
|
|
608
578
|
"required": ["location"],
|
|
609
579
|
},
|
|
@@ -726,14 +696,8 @@ class TestAsyncMessages:
|
|
|
726
696
|
"input_schema": {
|
|
727
697
|
"type": "object",
|
|
728
698
|
"properties": {
|
|
729
|
-
"location":
|
|
730
|
-
|
|
731
|
-
"type": "string",
|
|
732
|
-
},
|
|
733
|
-
"unit": {
|
|
734
|
-
"description": "Unit for the output - one of (celsius, fahrenheit)",
|
|
735
|
-
"type": "string",
|
|
736
|
-
},
|
|
699
|
+
"location": "bar",
|
|
700
|
+
"unit": "bar",
|
|
737
701
|
},
|
|
738
702
|
"required": ["location"],
|
|
739
703
|
},
|