anthropic 0.71.0__tar.gz → 0.71.1__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.71.1/.release-please-manifest.json +3 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/CHANGELOG.md +14 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/PKG-INFO +2 -2
- {anthropic-0.71.0 → anthropic-0.71.1}/pyproject.toml +2 -2
- {anthropic-0.71.0 → anthropic-0.71.1}/requirements-dev.lock +5 -5
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_base_client.py +6 -2
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_version.py +1 -1
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/messages/messages.py +2 -2
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/model.py +0 -3
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/model_param.py +0 -3
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/test_messages.py +8 -8
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/test_completions.py +16 -16
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/test_messages.py +8 -8
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/test_partial_json.py +2 -2
- {anthropic-0.71.0 → anthropic-0.71.1}/uv.lock +168 -117
- anthropic-0.71.0/.release-please-manifest.json +0 -3
- {anthropic-0.71.0 → anthropic-0.71.1}/.gitignore +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/CONTRIBUTING.md +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/LICENSE +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/README.md +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/SECURITY.md +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/api.md +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/bin/check-release-environment +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/bin/publish-pypi +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/.keep +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/batch_results.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/bedrock.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/images.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/logo.png +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/memory/basic.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/messages_stream.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/text_completions_demo_async.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/text_completions_demo_sync.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/text_completions_streaming.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/thinking.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/thinking_stream.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/tools.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/tools_runner.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/tools_stream.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/vertex.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/web_search.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/examples/web_search_stream.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/helpers.md +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/release-please-config.json +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_client.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_compat.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_constants.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_decoders/jsonl.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_exceptions.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_files.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_legacy_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_models.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_qs.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_resource.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_streaming.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_types.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_compat.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_datetime_parse.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_httpx.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_logs.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_proxy.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_reflection.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_resources_proxy.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_streams.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_sync.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_transform.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_typing.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/_utils/_utils.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/.keep +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/_extras/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/_extras/_common.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/_extras/_google_auth.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/_files.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/bedrock/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/bedrock/_auth.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/bedrock/_beta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/bedrock/_beta_messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/bedrock/_client.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/bedrock/_stream.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/bedrock/_stream_decoder.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/streaming/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/streaming/_beta_messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/streaming/_beta_types.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/streaming/_messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/streaming/_types.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/tools/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/tools/_beta_builtin_memory_tool.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/tools/_beta_functions.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/tools/_beta_runner.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/vertex/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/vertex/_auth.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/vertex/_beta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/vertex/_beta_messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/lib/vertex/_client.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/pagination.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/py.typed +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/beta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/files.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/messages/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/messages/batches.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/messages/messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/models.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/skills/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/skills/skills.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/beta/skills/versions.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/completions.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/messages/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/messages/batches.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/resources/models.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/anthropic_beta_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/base64_image_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/base64_pdf_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_base64_image_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_base64_pdf_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_base64_pdf_source.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_base64_pdf_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_output_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_output_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_cache_control_ephemeral_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_cache_creation.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_char_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_char_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_config.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_content_block_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_content_block_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_page_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_page_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_search_result_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_search_result_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citation_web_search_result_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citations_config_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citations_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_citations_web_search_result_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_output_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_output_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_20250825_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_result_block_content.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_result_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_result_error_code.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_container.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_container_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_container_upload_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_container_upload_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_content_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_content_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_content_block_source_content_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_content_block_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_context_management_config_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_context_management_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_count_tokens_context_management_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_document_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_file_document_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_file_image_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_image_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_input_json_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_input_tokens_clear_at_least_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_input_tokens_trigger_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_mcp_tool_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_mcp_tool_use_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_mcp_tool_use_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_command.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_create_command.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_delete_command.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_insert_command.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_rename_command.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_memory_tool_20250818_view_command.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_message.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_message_delta_usage.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_message_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_message_tokens_count.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_metadata_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_model_info.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_plain_text_source.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_plain_text_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_content_block_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_content_block_delta_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_content_block_start_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_content_block_stop_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_message_delta_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_message_start_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_message_stop_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_raw_message_stream_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_redacted_thinking_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_redacted_thinking_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_request_document_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_request_mcp_server_tool_configuration_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_search_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_server_tool_usage.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_server_tool_use_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_server_tool_use_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_signature_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_skill.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_skill_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_stop_reason.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_citation.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_citation_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_thinking_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_thinking_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_thinking_config_disabled_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_thinking_config_enabled_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_thinking_config_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_thinking_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_bash_20241022_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_bash_20250124_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_choice_any_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_choice_auto_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_choice_none_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_choice_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_choice_tool_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_computer_use_20250124_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_text_editor_20241022_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_union_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_use_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_use_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_uses_keep_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_tool_uses_trigger_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_url_image_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_url_pdf_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_usage.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_tool_20250910_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_tool_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_code.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_20250305_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_request_error_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_result_block_content.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_result_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/beta_web_search_tool_result_error_code.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/deleted_file.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/file_list_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/file_metadata.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/file_upload_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/message_count_tokens_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/message_create_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/batch_create_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/batch_list_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_deleted_message_batch.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch_canceled_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch_errored_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch_expired_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch_individual_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch_request_counts.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/messages/beta_message_batch_succeeded_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/model_list_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skill_create_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skill_create_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skill_delete_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skill_list_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skill_list_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skill_retrieve_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skills/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skills/version_create_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skills/version_create_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skills/version_delete_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skills/version_list_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skills/version_list_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta/skills/version_retrieve_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_api_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_authentication_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_billing_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_error_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_gateway_timeout_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_invalid_request_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_not_found_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_overloaded_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_permission_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/beta_rate_limit_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/cache_control_ephemeral_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/cache_creation.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_char_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_char_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_content_block_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_content_block_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_page_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_page_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_search_result_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citation_web_search_result_location_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citations_config_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citations_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citations_search_result_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/citations_web_search_result_location.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/completion.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/completion_create_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/content_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/content_block_delta_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/content_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/content_block_source_content_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/content_block_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/content_block_start_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/content_block_stop_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/document_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/image_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/input_json_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_count_tokens_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_count_tokens_tool_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_create_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_delta_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_delta_usage.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_start_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_stop_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_stream_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/message_tokens_count.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/batch_create_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/batch_list_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/deleted_message_batch.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch_canceled_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch_errored_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch_expired_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch_individual_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch_request_counts.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/messages/message_batch_succeeded_result.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/metadata_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/model_info.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/model_list_params.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/plain_text_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_content_block_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_content_block_delta_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_content_block_start_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_content_block_stop_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_message_delta_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_message_start_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_message_stop_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/raw_message_stream_event.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/redacted_thinking_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/redacted_thinking_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/search_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/server_tool_usage.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/server_tool_use_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/server_tool_use_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/api_error_object.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/authentication_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/billing_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/error_object.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/error_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/gateway_timeout_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/invalid_request_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/not_found_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/overloaded_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/permission_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/shared/rate_limit_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/signature_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/stop_reason.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/text_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/text_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/text_citation.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/text_citation_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/text_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/thinking_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/thinking_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/thinking_config_disabled_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/thinking_config_enabled_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/thinking_config_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/thinking_delta.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_bash_20250124_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_choice_any_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_choice_auto_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_choice_none_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_choice_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_choice_tool_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_union_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_use_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/tool_use_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/url_image_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/url_pdf_source_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/usage.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_tool_20250305_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_tool_request_error_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_tool_result_block.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_tool_result_block_content.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_tool_result_block_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/src/anthropic/types/web_search_tool_result_error.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/messages/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/messages/test_batches.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/skills/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/skills/test_versions.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/test_files.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/test_models.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/beta/test_skills.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/messages/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/messages/test_batches.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/api_resources/test_models.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/conftest.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/decoders/test_jsonl.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/snapshots.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/fixtures/basic_response.txt +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/fixtures/incomplete_partial_json_response.txt +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/fixtures/tool_use_response.txt +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/helpers.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/test_beta_messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/streaming/test_messages.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/test_bedrock.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/test_vertex.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/tools/__init__.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_max_iterations/ef758469-6fa6-454c-b2e6-19d0b450a8c5.json +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/tools/__inline_snapshot__/test_runners/test_streaming_call_sync/e2140c0f-07db-47ee-b86b-c2ec476866d5.json +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/tools/__inline_snapshot__/test_runners/test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/tools/test_functions.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/tools/test_runners.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/lib/utils.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/sample_file.txt +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_client.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_deepcopy.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_extract_files.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_files.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_legacy_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_models.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_qs.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_required_args.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_response.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_streaming.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_transform.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_utils/test_datetime_parse.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_utils/test_proxy.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/test_utils/test_typing.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tests/utils.py +0 -0
- {anthropic-0.71.0 → anthropic-0.71.1}/tools.md +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.71.1 (2025-10-28)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.71.0...v0.71.1](https://github.com/anthropics/anthropic-sdk-python/compare/v0.71.0...v0.71.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **client:** resolve non-functional default socket options ([4606137](https://github.com/anthropics/anthropic-sdk-python/commit/4606137fcca27ab2d03669999b624c11394b090a))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **api:** mark older sonnet models as deprecated ([7906595](https://github.com/anthropics/anthropic-sdk-python/commit/7906595fe2f214cf0449d073145629ea8d3da437))
|
|
15
|
+
* bump `httpx-aiohttp` version to 0.1.9 ([5d27492](https://github.com/anthropics/anthropic-sdk-python/commit/5d2749222bb75201279c1877690c75687f3f8abc))
|
|
16
|
+
|
|
3
17
|
## 0.71.0 (2025-10-16)
|
|
4
18
|
|
|
5
19
|
Full Changelog: [v0.70.0...v0.71.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.70.0...v0.71.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anthropic
|
|
3
|
-
Version: 0.71.
|
|
3
|
+
Version: 0.71.1
|
|
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
|
|
@@ -32,7 +32,7 @@ Requires-Dist: sniffio
|
|
|
32
32
|
Requires-Dist: typing-extensions<5,>=4.10
|
|
33
33
|
Provides-Extra: aiohttp
|
|
34
34
|
Requires-Dist: aiohttp; extra == 'aiohttp'
|
|
35
|
-
Requires-Dist: httpx-aiohttp>=0.1.
|
|
35
|
+
Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
|
|
36
36
|
Provides-Extra: bedrock
|
|
37
37
|
Requires-Dist: boto3>=1.28.57; extra == 'bedrock'
|
|
38
38
|
Requires-Dist: botocore>=1.31.57; extra == 'bedrock'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "anthropic"
|
|
3
|
-
version = "0.71.
|
|
3
|
+
version = "0.71.1"
|
|
4
4
|
description = "The official Python library for the anthropic API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "MIT"
|
|
@@ -37,7 +37,7 @@ classifiers = [
|
|
|
37
37
|
]
|
|
38
38
|
|
|
39
39
|
[project.optional-dependencies]
|
|
40
|
-
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.
|
|
40
|
+
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
|
|
41
41
|
vertex = ["google-auth[requests] >=2, <3"]
|
|
42
42
|
bedrock = ["boto3 >= 1.28.57", "botocore >= 1.31.57"]
|
|
43
43
|
|
|
@@ -15,10 +15,10 @@ asttokens==3.0.0
|
|
|
15
15
|
# via inline-snapshot
|
|
16
16
|
astunparse==1.6.3 ; python_full_version < '3.9'
|
|
17
17
|
# via griffe
|
|
18
|
-
boto3-stubs==1.40.
|
|
18
|
+
boto3-stubs==1.40.54
|
|
19
19
|
botocore-stubs==1.38.30 ; python_full_version < '3.9'
|
|
20
20
|
# via boto3-stubs
|
|
21
|
-
botocore-stubs==1.40.
|
|
21
|
+
botocore-stubs==1.40.54 ; python_full_version >= '3.9'
|
|
22
22
|
# via boto3-stubs
|
|
23
23
|
certifi==2024.12.14
|
|
24
24
|
# via
|
|
@@ -59,7 +59,7 @@ importlib-metadata==8.5.0 ; python_full_version < '3.9'
|
|
|
59
59
|
importlib-metadata==8.6.1 ; python_full_version >= '3.9'
|
|
60
60
|
iniconfig==2.0.0
|
|
61
61
|
# via pytest
|
|
62
|
-
inline-snapshot==0.
|
|
62
|
+
inline-snapshot==0.30.0
|
|
63
63
|
jiter==0.9.1 ; python_full_version < '3.9'
|
|
64
64
|
# via anthropic
|
|
65
65
|
jiter==0.11.0 ; python_full_version >= '3.9'
|
|
@@ -126,9 +126,9 @@ tomli==2.2.1 ; python_full_version < '3.11'
|
|
|
126
126
|
# inline-snapshot
|
|
127
127
|
# mypy
|
|
128
128
|
# pytest
|
|
129
|
-
types-awscrt==0.
|
|
129
|
+
types-awscrt==0.28.1
|
|
130
130
|
# via botocore-stubs
|
|
131
|
-
types-s3transfer==0.
|
|
131
|
+
types-s3transfer==0.14.0
|
|
132
132
|
# via boto3-stubs
|
|
133
133
|
typing-extensions==4.12.2
|
|
134
134
|
# via
|
|
@@ -843,6 +843,8 @@ class _DefaultHttpxClient(httpx.Client):
|
|
|
843
843
|
arg: kwargs[arg] for arg in ("verify", "cert", "trust_env", "http1", "http2", "limits") if arg in kwargs
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
+
transport_kwargs["socket_options"] = socket_options
|
|
847
|
+
|
|
846
848
|
proxy_mounts = {
|
|
847
849
|
key: None if proxy is None else HTTPTransport(proxy=proxy, **transport_kwargs)
|
|
848
850
|
for key, proxy in proxy_map.items()
|
|
@@ -854,7 +856,7 @@ class _DefaultHttpxClient(httpx.Client):
|
|
|
854
856
|
kwargs["mounts"] = proxy_mounts
|
|
855
857
|
|
|
856
858
|
# Sets the default transport so that HTTPX won't automatically configure proxies.
|
|
857
|
-
kwargs["transport"] =
|
|
859
|
+
kwargs["transport"] = default_transport
|
|
858
860
|
|
|
859
861
|
super().__init__(**kwargs)
|
|
860
862
|
|
|
@@ -1404,6 +1406,8 @@ class _DefaultAsyncHttpxClient(httpx.AsyncClient):
|
|
|
1404
1406
|
arg: kwargs[arg] for arg in ("verify", "cert", "trust_env", "http1", "http2", "limits") if arg in kwargs
|
|
1405
1407
|
}
|
|
1406
1408
|
|
|
1409
|
+
transport_kwargs["socket_options"] = socket_options
|
|
1410
|
+
|
|
1407
1411
|
proxy_mounts = {
|
|
1408
1412
|
key: None if proxy is None else AsyncHTTPTransport(proxy=proxy, **transport_kwargs)
|
|
1409
1413
|
for key, proxy in proxy_map.items()
|
|
@@ -1415,7 +1419,7 @@ class _DefaultAsyncHttpxClient(httpx.AsyncClient):
|
|
|
1415
1419
|
kwargs["mounts"] = proxy_mounts
|
|
1416
1420
|
|
|
1417
1421
|
# Sets the default transport so that HTTPX won't automatically configure proxies.
|
|
1418
|
-
kwargs["transport"] =
|
|
1422
|
+
kwargs["transport"] = default_transport
|
|
1419
1423
|
|
|
1420
1424
|
super().__init__(**kwargs)
|
|
1421
1425
|
|
|
@@ -57,8 +57,8 @@ DEPRECATED_MODELS = {
|
|
|
57
57
|
"claude-3-opus-20240229": "January 5th, 2026",
|
|
58
58
|
"claude-2.1": "July 21st, 2025",
|
|
59
59
|
"claude-2.0": "July 21st, 2025",
|
|
60
|
-
"claude-3-
|
|
61
|
-
"claude-3-
|
|
60
|
+
"claude-3-7-sonnet-latest": "February 19th, 2026",
|
|
61
|
+
"claude-3-7-sonnet-20250219": "February 19th, 2026",
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
|
|
@@ -18,9 +18,6 @@ Model: TypeAlias = Union[
|
|
|
18
18
|
"claude-4-sonnet-20250514",
|
|
19
19
|
"claude-sonnet-4-5",
|
|
20
20
|
"claude-sonnet-4-5-20250929",
|
|
21
|
-
"claude-3-5-sonnet-latest",
|
|
22
|
-
"claude-3-5-sonnet-20241022",
|
|
23
|
-
"claude-3-5-sonnet-20240620",
|
|
24
21
|
"claude-opus-4-0",
|
|
25
22
|
"claude-opus-4-20250514",
|
|
26
23
|
"claude-4-opus-20250514",
|
|
@@ -20,9 +20,6 @@ ModelParam: TypeAlias = Union[
|
|
|
20
20
|
"claude-4-sonnet-20250514",
|
|
21
21
|
"claude-sonnet-4-5",
|
|
22
22
|
"claude-sonnet-4-5-20250929",
|
|
23
|
-
"claude-3-5-sonnet-latest",
|
|
24
|
-
"claude-3-5-sonnet-20241022",
|
|
25
|
-
"claude-3-5-sonnet-20240620",
|
|
26
23
|
"claude-opus-4-0",
|
|
27
24
|
"claude-opus-4-20250514",
|
|
28
25
|
"claude-4-opus-20250514",
|
|
@@ -380,7 +380,7 @@ class TestMessages:
|
|
|
380
380
|
"role": "user",
|
|
381
381
|
}
|
|
382
382
|
],
|
|
383
|
-
model="claude-
|
|
383
|
+
model="claude-sonnet-4-5",
|
|
384
384
|
)
|
|
385
385
|
assert_matches_type(BetaMessageTokensCount, message, path=["response"])
|
|
386
386
|
|
|
@@ -394,7 +394,7 @@ class TestMessages:
|
|
|
394
394
|
"role": "user",
|
|
395
395
|
}
|
|
396
396
|
],
|
|
397
|
-
model="claude-
|
|
397
|
+
model="claude-sonnet-4-5",
|
|
398
398
|
context_management={
|
|
399
399
|
"edits": [
|
|
400
400
|
{
|
|
@@ -495,7 +495,7 @@ class TestMessages:
|
|
|
495
495
|
"role": "user",
|
|
496
496
|
}
|
|
497
497
|
],
|
|
498
|
-
model="claude-
|
|
498
|
+
model="claude-sonnet-4-5",
|
|
499
499
|
)
|
|
500
500
|
|
|
501
501
|
assert response.is_closed is True
|
|
@@ -513,7 +513,7 @@ class TestMessages:
|
|
|
513
513
|
"role": "user",
|
|
514
514
|
}
|
|
515
515
|
],
|
|
516
|
-
model="claude-
|
|
516
|
+
model="claude-sonnet-4-5",
|
|
517
517
|
) as response:
|
|
518
518
|
assert not response.is_closed
|
|
519
519
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
@@ -889,7 +889,7 @@ class TestAsyncMessages:
|
|
|
889
889
|
"role": "user",
|
|
890
890
|
}
|
|
891
891
|
],
|
|
892
|
-
model="claude-
|
|
892
|
+
model="claude-sonnet-4-5",
|
|
893
893
|
)
|
|
894
894
|
assert_matches_type(BetaMessageTokensCount, message, path=["response"])
|
|
895
895
|
|
|
@@ -903,7 +903,7 @@ class TestAsyncMessages:
|
|
|
903
903
|
"role": "user",
|
|
904
904
|
}
|
|
905
905
|
],
|
|
906
|
-
model="claude-
|
|
906
|
+
model="claude-sonnet-4-5",
|
|
907
907
|
context_management={
|
|
908
908
|
"edits": [
|
|
909
909
|
{
|
|
@@ -1004,7 +1004,7 @@ class TestAsyncMessages:
|
|
|
1004
1004
|
"role": "user",
|
|
1005
1005
|
}
|
|
1006
1006
|
],
|
|
1007
|
-
model="claude-
|
|
1007
|
+
model="claude-sonnet-4-5",
|
|
1008
1008
|
)
|
|
1009
1009
|
|
|
1010
1010
|
assert response.is_closed is True
|
|
@@ -1022,7 +1022,7 @@ class TestAsyncMessages:
|
|
|
1022
1022
|
"role": "user",
|
|
1023
1023
|
}
|
|
1024
1024
|
],
|
|
1025
|
-
model="claude-
|
|
1025
|
+
model="claude-sonnet-4-5",
|
|
1026
1026
|
) as response:
|
|
1027
1027
|
assert not response.is_closed
|
|
1028
1028
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
@@ -21,7 +21,7 @@ class TestCompletions:
|
|
|
21
21
|
def test_method_create_overload_1(self, client: Anthropic) -> None:
|
|
22
22
|
completion = client.completions.create(
|
|
23
23
|
max_tokens_to_sample=256,
|
|
24
|
-
model="claude-
|
|
24
|
+
model="claude-sonnet-4-5",
|
|
25
25
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
26
26
|
)
|
|
27
27
|
assert_matches_type(Completion, completion, path=["response"])
|
|
@@ -30,7 +30,7 @@ class TestCompletions:
|
|
|
30
30
|
def test_method_create_with_all_params_overload_1(self, client: Anthropic) -> None:
|
|
31
31
|
completion = client.completions.create(
|
|
32
32
|
max_tokens_to_sample=256,
|
|
33
|
-
model="claude-
|
|
33
|
+
model="claude-sonnet-4-5",
|
|
34
34
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
35
35
|
metadata={"user_id": "13803d75-b4b5-4c3e-b2a2-6f21399b021b"},
|
|
36
36
|
stop_sequences=["string"],
|
|
@@ -46,7 +46,7 @@ class TestCompletions:
|
|
|
46
46
|
def test_raw_response_create_overload_1(self, client: Anthropic) -> None:
|
|
47
47
|
response = client.completions.with_raw_response.create(
|
|
48
48
|
max_tokens_to_sample=256,
|
|
49
|
-
model="claude-
|
|
49
|
+
model="claude-sonnet-4-5",
|
|
50
50
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
51
51
|
)
|
|
52
52
|
|
|
@@ -59,7 +59,7 @@ class TestCompletions:
|
|
|
59
59
|
def test_streaming_response_create_overload_1(self, client: Anthropic) -> None:
|
|
60
60
|
with client.completions.with_streaming_response.create(
|
|
61
61
|
max_tokens_to_sample=256,
|
|
62
|
-
model="claude-
|
|
62
|
+
model="claude-sonnet-4-5",
|
|
63
63
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
64
64
|
) as response:
|
|
65
65
|
assert not response.is_closed
|
|
@@ -74,7 +74,7 @@ class TestCompletions:
|
|
|
74
74
|
def test_method_create_overload_2(self, client: Anthropic) -> None:
|
|
75
75
|
completion_stream = client.completions.create(
|
|
76
76
|
max_tokens_to_sample=256,
|
|
77
|
-
model="claude-
|
|
77
|
+
model="claude-sonnet-4-5",
|
|
78
78
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
79
79
|
stream=True,
|
|
80
80
|
)
|
|
@@ -84,7 +84,7 @@ class TestCompletions:
|
|
|
84
84
|
def test_method_create_with_all_params_overload_2(self, client: Anthropic) -> None:
|
|
85
85
|
completion_stream = client.completions.create(
|
|
86
86
|
max_tokens_to_sample=256,
|
|
87
|
-
model="claude-
|
|
87
|
+
model="claude-sonnet-4-5",
|
|
88
88
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
89
89
|
stream=True,
|
|
90
90
|
metadata={"user_id": "13803d75-b4b5-4c3e-b2a2-6f21399b021b"},
|
|
@@ -100,7 +100,7 @@ class TestCompletions:
|
|
|
100
100
|
def test_raw_response_create_overload_2(self, client: Anthropic) -> None:
|
|
101
101
|
response = client.completions.with_raw_response.create(
|
|
102
102
|
max_tokens_to_sample=256,
|
|
103
|
-
model="claude-
|
|
103
|
+
model="claude-sonnet-4-5",
|
|
104
104
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
105
105
|
stream=True,
|
|
106
106
|
)
|
|
@@ -113,7 +113,7 @@ class TestCompletions:
|
|
|
113
113
|
def test_streaming_response_create_overload_2(self, client: Anthropic) -> None:
|
|
114
114
|
with client.completions.with_streaming_response.create(
|
|
115
115
|
max_tokens_to_sample=256,
|
|
116
|
-
model="claude-
|
|
116
|
+
model="claude-sonnet-4-5",
|
|
117
117
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
118
118
|
stream=True,
|
|
119
119
|
) as response:
|
|
@@ -135,7 +135,7 @@ class TestAsyncCompletions:
|
|
|
135
135
|
async def test_method_create_overload_1(self, async_client: AsyncAnthropic) -> None:
|
|
136
136
|
completion = await async_client.completions.create(
|
|
137
137
|
max_tokens_to_sample=256,
|
|
138
|
-
model="claude-
|
|
138
|
+
model="claude-sonnet-4-5",
|
|
139
139
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
140
140
|
)
|
|
141
141
|
assert_matches_type(Completion, completion, path=["response"])
|
|
@@ -144,7 +144,7 @@ class TestAsyncCompletions:
|
|
|
144
144
|
async def test_method_create_with_all_params_overload_1(self, async_client: AsyncAnthropic) -> None:
|
|
145
145
|
completion = await async_client.completions.create(
|
|
146
146
|
max_tokens_to_sample=256,
|
|
147
|
-
model="claude-
|
|
147
|
+
model="claude-sonnet-4-5",
|
|
148
148
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
149
149
|
metadata={"user_id": "13803d75-b4b5-4c3e-b2a2-6f21399b021b"},
|
|
150
150
|
stop_sequences=["string"],
|
|
@@ -160,7 +160,7 @@ class TestAsyncCompletions:
|
|
|
160
160
|
async def test_raw_response_create_overload_1(self, async_client: AsyncAnthropic) -> None:
|
|
161
161
|
response = await async_client.completions.with_raw_response.create(
|
|
162
162
|
max_tokens_to_sample=256,
|
|
163
|
-
model="claude-
|
|
163
|
+
model="claude-sonnet-4-5",
|
|
164
164
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
165
165
|
)
|
|
166
166
|
|
|
@@ -173,7 +173,7 @@ class TestAsyncCompletions:
|
|
|
173
173
|
async def test_streaming_response_create_overload_1(self, async_client: AsyncAnthropic) -> None:
|
|
174
174
|
async with async_client.completions.with_streaming_response.create(
|
|
175
175
|
max_tokens_to_sample=256,
|
|
176
|
-
model="claude-
|
|
176
|
+
model="claude-sonnet-4-5",
|
|
177
177
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
178
178
|
) as response:
|
|
179
179
|
assert not response.is_closed
|
|
@@ -188,7 +188,7 @@ class TestAsyncCompletions:
|
|
|
188
188
|
async def test_method_create_overload_2(self, async_client: AsyncAnthropic) -> None:
|
|
189
189
|
completion_stream = await async_client.completions.create(
|
|
190
190
|
max_tokens_to_sample=256,
|
|
191
|
-
model="claude-
|
|
191
|
+
model="claude-sonnet-4-5",
|
|
192
192
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
193
193
|
stream=True,
|
|
194
194
|
)
|
|
@@ -198,7 +198,7 @@ class TestAsyncCompletions:
|
|
|
198
198
|
async def test_method_create_with_all_params_overload_2(self, async_client: AsyncAnthropic) -> None:
|
|
199
199
|
completion_stream = await async_client.completions.create(
|
|
200
200
|
max_tokens_to_sample=256,
|
|
201
|
-
model="claude-
|
|
201
|
+
model="claude-sonnet-4-5",
|
|
202
202
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
203
203
|
stream=True,
|
|
204
204
|
metadata={"user_id": "13803d75-b4b5-4c3e-b2a2-6f21399b021b"},
|
|
@@ -214,7 +214,7 @@ class TestAsyncCompletions:
|
|
|
214
214
|
async def test_raw_response_create_overload_2(self, async_client: AsyncAnthropic) -> None:
|
|
215
215
|
response = await async_client.completions.with_raw_response.create(
|
|
216
216
|
max_tokens_to_sample=256,
|
|
217
|
-
model="claude-
|
|
217
|
+
model="claude-sonnet-4-5",
|
|
218
218
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
219
219
|
stream=True,
|
|
220
220
|
)
|
|
@@ -227,7 +227,7 @@ class TestAsyncCompletions:
|
|
|
227
227
|
async def test_streaming_response_create_overload_2(self, async_client: AsyncAnthropic) -> None:
|
|
228
228
|
async with async_client.completions.with_streaming_response.create(
|
|
229
229
|
max_tokens_to_sample=256,
|
|
230
|
-
model="claude-
|
|
230
|
+
model="claude-sonnet-4-5",
|
|
231
231
|
prompt="\n\nHuman: Hello, world!\n\nAssistant:",
|
|
232
232
|
stream=True,
|
|
233
233
|
) as response:
|
|
@@ -294,7 +294,7 @@ class TestMessages:
|
|
|
294
294
|
"role": "user",
|
|
295
295
|
}
|
|
296
296
|
],
|
|
297
|
-
model="claude-
|
|
297
|
+
model="claude-sonnet-4-5",
|
|
298
298
|
)
|
|
299
299
|
assert_matches_type(MessageTokensCount, message, path=["response"])
|
|
300
300
|
|
|
@@ -307,7 +307,7 @@ class TestMessages:
|
|
|
307
307
|
"role": "user",
|
|
308
308
|
}
|
|
309
309
|
],
|
|
310
|
-
model="claude-
|
|
310
|
+
model="claude-sonnet-4-5",
|
|
311
311
|
system=[
|
|
312
312
|
{
|
|
313
313
|
"text": "Today's date is 2024-06-01.",
|
|
@@ -373,7 +373,7 @@ class TestMessages:
|
|
|
373
373
|
"role": "user",
|
|
374
374
|
}
|
|
375
375
|
],
|
|
376
|
-
model="claude-
|
|
376
|
+
model="claude-sonnet-4-5",
|
|
377
377
|
)
|
|
378
378
|
|
|
379
379
|
assert response.is_closed is True
|
|
@@ -390,7 +390,7 @@ class TestMessages:
|
|
|
390
390
|
"role": "user",
|
|
391
391
|
}
|
|
392
392
|
],
|
|
393
|
-
model="claude-
|
|
393
|
+
model="claude-sonnet-4-5",
|
|
394
394
|
) as response:
|
|
395
395
|
assert not response.is_closed
|
|
396
396
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
@@ -679,7 +679,7 @@ class TestAsyncMessages:
|
|
|
679
679
|
"role": "user",
|
|
680
680
|
}
|
|
681
681
|
],
|
|
682
|
-
model="claude-
|
|
682
|
+
model="claude-sonnet-4-5",
|
|
683
683
|
)
|
|
684
684
|
assert_matches_type(MessageTokensCount, message, path=["response"])
|
|
685
685
|
|
|
@@ -692,7 +692,7 @@ class TestAsyncMessages:
|
|
|
692
692
|
"role": "user",
|
|
693
693
|
}
|
|
694
694
|
],
|
|
695
|
-
model="claude-
|
|
695
|
+
model="claude-sonnet-4-5",
|
|
696
696
|
system=[
|
|
697
697
|
{
|
|
698
698
|
"text": "Today's date is 2024-06-01.",
|
|
@@ -758,7 +758,7 @@ class TestAsyncMessages:
|
|
|
758
758
|
"role": "user",
|
|
759
759
|
}
|
|
760
760
|
],
|
|
761
|
-
model="claude-
|
|
761
|
+
model="claude-sonnet-4-5",
|
|
762
762
|
)
|
|
763
763
|
|
|
764
764
|
assert response.is_closed is True
|
|
@@ -775,7 +775,7 @@ class TestAsyncMessages:
|
|
|
775
775
|
"role": "user",
|
|
776
776
|
}
|
|
777
777
|
],
|
|
778
|
-
model="claude-
|
|
778
|
+
model="claude-sonnet-4-5",
|
|
779
779
|
) as response:
|
|
780
780
|
assert not response.is_closed
|
|
781
781
|
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
@@ -20,7 +20,7 @@ class TestPartialJson:
|
|
|
20
20
|
type="message",
|
|
21
21
|
role="assistant",
|
|
22
22
|
content=[BetaToolUseBlock(type="tool_use", input={}, id="tool_123", name="test_tool")],
|
|
23
|
-
model="claude-
|
|
23
|
+
model="claude-sonnet-4-5",
|
|
24
24
|
stop_reason=None,
|
|
25
25
|
stop_sequence=None,
|
|
26
26
|
usage=BetaUsage(input_tokens=10, output_tokens=10),
|
|
@@ -106,7 +106,7 @@ class TestPartialJson:
|
|
|
106
106
|
type="message",
|
|
107
107
|
role="assistant",
|
|
108
108
|
content=[BetaToolUseBlock(type="tool_use", input={}, id="tool_123", name="test_tool")],
|
|
109
|
-
model="claude-
|
|
109
|
+
model="claude-sonnet-4-5",
|
|
110
110
|
stop_reason=None,
|
|
111
111
|
stop_sequence=None,
|
|
112
112
|
usage=BetaUsage(input_tokens=10, output_tokens=10),
|