anthropic 0.68.1__tar.gz → 0.69.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.69.0/.release-please-manifest.json +3 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/CHANGELOG.md +16 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/PKG-INFO +19 -19
- {anthropic-0.68.1 → anthropic-0.69.0}/README.md +18 -18
- {anthropic-0.68.1 → anthropic-0.69.0}/api.md +17 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/bedrock.py +2 -2
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/images.py +1 -1
- anthropic-0.69.0/examples/memory/basic.py +392 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/messages.py +2 -2
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/messages_stream.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/text_completions_demo_async.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/text_completions_demo_sync.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/text_completions_streaming.py +2 -2
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/thinking.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/thinking_stream.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/tools.py +2 -2
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/tools_stream.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/web_search.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/web_search_stream.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/pyproject.toml +2 -2
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_version.py +1 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/streaming/_beta_messages.py +1 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/tools/__init__.py +7 -0
- anthropic-0.69.0/src/anthropic/lib/tools/_beta_builtin_memory_tool.py +245 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/tools/_beta_functions.py +30 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/tools/_beta_runner.py +18 -6
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/beta/files.py +10 -10
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/beta/messages/batches.py +12 -12
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/beta/messages/messages.py +59 -15
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/beta/models.py +4 -4
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/completions.py +2 -2
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/models.py +4 -4
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/__init__.py +35 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py +38 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_response.py +18 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_context_management_config_param.py +15 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_context_management_response.py +13 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_count_tokens_context_management_response.py +10 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_input_tokens_clear_at_least_param.py +13 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_input_tokens_trigger_param.py +13 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_command.py +26 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_create_command.py +18 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_delete_command.py +15 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_insert_command.py +21 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_param.py +23 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_rename_command.py +18 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py +21 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_memory_tool_20250818_view_command.py +19 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_message.py +4 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_message_tokens_count.py +6 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_message_delta_event.py +4 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_stop_reason.py +3 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_union_param.py +2 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_tool_uses_keep_param.py +13 -0
- anthropic-0.69.0/src/anthropic/types/beta/beta_tool_uses_trigger_param.py +13 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/message_count_tokens_params.py +7 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/message_create_params.py +4 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/model.py +2 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/model_param.py +2 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/stop_reason.py +3 -1
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/beta/messages/test_batches.py +42 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/beta/test_messages.py +126 -0
- anthropic-0.69.0/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_max_iterations/ef758469-6fa6-454c-b2e6-19d0b450a8c5.json +4 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/tools/test_runners.py +25 -24
- {anthropic-0.68.1 → anthropic-0.69.0}/tools.md +2 -2
- {anthropic-0.68.1 → anthropic-0.69.0}/uv.lock +1 -1
- anthropic-0.68.1/.release-please-manifest.json +0 -3
- anthropic-0.68.1/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_max_iterations/d105e140-a30c-4d6b-91df-257247da3623.json +0 -4
- {anthropic-0.68.1 → anthropic-0.69.0}/.gitignore +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/CONTRIBUTING.md +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/LICENSE +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/SECURITY.md +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/bin/check-release-environment +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/bin/publish-pypi +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/.keep +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/batch_results.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/logo.png +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/tools_runner.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/examples/vertex.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/helpers.md +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/release-please-config.json +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/requirements-dev.lock +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_base_client.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_client.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_compat.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_constants.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_decoders/jsonl.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_exceptions.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_files.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_legacy_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_models.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_qs.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_resource.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_streaming.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_types.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_compat.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_datetime_parse.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_httpx.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_logs.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_proxy.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_reflection.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_resources_proxy.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_streams.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_sync.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_transform.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_typing.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/_utils/_utils.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/.keep +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/_extras/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/_extras/_common.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/_extras/_google_auth.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/bedrock/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/bedrock/_auth.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/bedrock/_beta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/bedrock/_beta_messages.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/bedrock/_client.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/bedrock/_stream.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/bedrock/_stream_decoder.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/streaming/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/streaming/_beta_types.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/streaming/_messages.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/streaming/_types.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/vertex/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/vertex/_auth.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/vertex/_beta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/vertex/_beta_messages.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/lib/vertex/_client.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/pagination.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/py.typed +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/beta/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/beta/beta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/beta/messages/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/messages/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/messages/batches.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/resources/messages/messages.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/anthropic_beta_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/base64_image_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/base64_pdf_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_base64_image_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_base64_pdf_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_base64_pdf_source.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_base64_pdf_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_output_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_output_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_cache_control_ephemeral_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_cache_creation.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_char_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_char_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_config.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_content_block_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_content_block_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_page_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_page_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_search_result_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_search_result_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citation_web_search_result_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citations_config_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citations_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_citations_web_search_result_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_output_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_output_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_20250825_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_content.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_code.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_container.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_container_upload_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_container_upload_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_content_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_content_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_content_block_source_content_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_content_block_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_document_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_file_document_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_file_image_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_image_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_input_json_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_mcp_tool_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_mcp_tool_use_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_mcp_tool_use_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_message_delta_usage.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_message_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_metadata_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_model_info.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_plain_text_source.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_plain_text_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_content_block_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_content_block_delta_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_content_block_start_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_content_block_stop_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_message_start_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_message_stop_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_raw_message_stream_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_redacted_thinking_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_redacted_thinking_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_request_document_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_request_mcp_server_tool_configuration_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_search_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_server_tool_usage.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_server_tool_use_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_server_tool_use_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_signature_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_citation.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_citation_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_thinking_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_thinking_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_thinking_config_disabled_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_thinking_config_enabled_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_thinking_config_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_thinking_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_bash_20241022_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_bash_20250124_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_choice_any_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_choice_auto_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_choice_none_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_choice_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_choice_tool_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_computer_use_20250124_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_text_editor_20241022_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_use_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_tool_use_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_url_image_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_url_pdf_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_usage.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_tool_20250910_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_code.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_20250305_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_request_error_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_content.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_result_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/beta_web_search_tool_result_error_code.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/deleted_file.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/file_list_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/file_metadata.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/file_upload_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/batch_create_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/batch_list_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_deleted_message_batch.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch_canceled_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch_errored_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch_expired_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch_individual_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch_request_counts.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/messages/beta_message_batch_succeeded_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta/model_list_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_api_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_authentication_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_billing_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_error_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_gateway_timeout_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_invalid_request_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_not_found_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_overloaded_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_permission_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/beta_rate_limit_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/cache_control_ephemeral_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/cache_creation.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_char_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_char_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_content_block_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_content_block_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_page_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_page_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_search_result_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citation_web_search_result_location_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citations_config_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citations_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citations_search_result_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/citations_web_search_result_location.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/completion.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/completion_create_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/content_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/content_block_delta_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/content_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/content_block_source_content_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/content_block_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/content_block_start_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/content_block_stop_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/document_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/image_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/input_json_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_count_tokens_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_count_tokens_tool_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_create_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_delta_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_delta_usage.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_start_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_stop_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_stream_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/message_tokens_count.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/batch_create_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/batch_list_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/deleted_message_batch.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch_canceled_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch_errored_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch_expired_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch_individual_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch_request_counts.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/messages/message_batch_succeeded_result.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/metadata_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/model_info.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/model_list_params.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/plain_text_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_content_block_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_content_block_delta_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_content_block_start_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_content_block_stop_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_message_delta_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_message_start_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_message_stop_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/raw_message_stream_event.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/redacted_thinking_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/redacted_thinking_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/search_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/server_tool_usage.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/server_tool_use_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/server_tool_use_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/api_error_object.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/authentication_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/billing_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/error_object.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/error_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/gateway_timeout_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/invalid_request_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/not_found_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/overloaded_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/permission_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/shared/rate_limit_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/signature_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/text_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/text_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/text_citation.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/text_citation_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/text_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/thinking_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/thinking_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/thinking_config_disabled_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/thinking_config_enabled_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/thinking_config_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/thinking_delta.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_bash_20250124_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_choice_any_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_choice_auto_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_choice_none_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_choice_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_choice_tool_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_union_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_use_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/tool_use_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/url_image_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/url_pdf_source_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/usage.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_tool_20250305_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_tool_request_error_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_tool_result_block.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_tool_result_block_content.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_tool_result_block_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/src/anthropic/types/web_search_tool_result_error.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/beta/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/beta/messages/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/beta/test_files.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/beta/test_models.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/messages/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/messages/test_batches.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/test_completions.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/test_messages.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/api_resources/test_models.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/conftest.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/decoders/test_jsonl.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/snapshots.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/fixtures/basic_response.txt +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/fixtures/incomplete_partial_json_response.txt +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/fixtures/tool_use_response.txt +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/helpers.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/test_beta_messages.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/test_messages.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/streaming/test_partial_json.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/test_bedrock.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/test_vertex.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/tools/__init__.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/tools/__inline_snapshot__/test_runners/test_streaming_call_sync/e2140c0f-07db-47ee-b86b-c2ec476866d5.json +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/tools/__inline_snapshot__/test_runners/test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/tools/test_functions.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/lib/utils.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/sample_file.txt +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_client.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_deepcopy.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_extract_files.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_files.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_legacy_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_models.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_qs.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_required_args.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_response.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_streaming.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_transform.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_utils/test_proxy.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/test_utils/test_typing.py +0 -0
- {anthropic-0.68.1 → anthropic-0.69.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.69.0 (2025-09-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.68.2...v0.69.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.68.2...v0.69.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** adds support for Claude Sonnet 4.5 and context management features ([f93eb12](https://github.com/anthropics/anthropic-sdk-python/commit/f93eb12dbfeaa68fb24590391ec72243836eb47a))
|
|
10
|
+
|
|
11
|
+
## 0.68.2 (2025-09-29)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.68.1...v0.68.2](https://github.com/anthropics/anthropic-sdk-python/compare/v0.68.1...v0.68.2)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* do not set headers with default to omit ([95b14ab](https://github.com/anthropics/anthropic-sdk-python/commit/95b14ab8fa8b63b95cb82cad1347915c163818d2))
|
|
18
|
+
|
|
3
19
|
## 0.68.1 (2025-09-26)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.68.0...v0.68.1](https://github.com/anthropics/anthropic-sdk-python/compare/v0.68.0...v0.68.1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anthropic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.69.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
|
|
@@ -80,7 +80,7 @@ message = client.messages.create(
|
|
|
80
80
|
"content": "Hello, Claude",
|
|
81
81
|
}
|
|
82
82
|
],
|
|
83
|
-
model="claude-sonnet-4-
|
|
83
|
+
model="claude-sonnet-4-5-20250929",
|
|
84
84
|
)
|
|
85
85
|
print(message.content)
|
|
86
86
|
```
|
|
@@ -113,7 +113,7 @@ async def main() -> None:
|
|
|
113
113
|
"content": "Hello, Claude",
|
|
114
114
|
}
|
|
115
115
|
],
|
|
116
|
-
model="claude-sonnet-4-
|
|
116
|
+
model="claude-sonnet-4-5-20250929",
|
|
117
117
|
)
|
|
118
118
|
print(message.content)
|
|
119
119
|
|
|
@@ -155,7 +155,7 @@ async def main() -> None:
|
|
|
155
155
|
"content": "Hello, Claude",
|
|
156
156
|
}
|
|
157
157
|
],
|
|
158
|
-
model="claude-sonnet-4-
|
|
158
|
+
model="claude-sonnet-4-5-20250929",
|
|
159
159
|
)
|
|
160
160
|
print(message.content)
|
|
161
161
|
|
|
@@ -180,7 +180,7 @@ stream = client.messages.create(
|
|
|
180
180
|
"content": "Hello, Claude",
|
|
181
181
|
}
|
|
182
182
|
],
|
|
183
|
-
model="claude-sonnet-4-
|
|
183
|
+
model="claude-sonnet-4-5-20250929",
|
|
184
184
|
stream=True,
|
|
185
185
|
)
|
|
186
186
|
for event in stream:
|
|
@@ -202,7 +202,7 @@ stream = await client.messages.create(
|
|
|
202
202
|
"content": "Hello, Claude",
|
|
203
203
|
}
|
|
204
204
|
],
|
|
205
|
-
model="claude-sonnet-4-
|
|
205
|
+
model="claude-sonnet-4-5-20250929",
|
|
206
206
|
stream=True,
|
|
207
207
|
)
|
|
208
208
|
async for event in stream:
|
|
@@ -244,7 +244,7 @@ def get_weather(location: str) -> str:
|
|
|
244
244
|
|
|
245
245
|
runner = client.beta.messages.tool_runner(
|
|
246
246
|
max_tokens=1024,
|
|
247
|
-
model="claude-sonnet-4-
|
|
247
|
+
model="claude-sonnet-4-5-20250929",
|
|
248
248
|
tools=[get_weather],
|
|
249
249
|
messages=[
|
|
250
250
|
{"role": "user", "content": "What is the weather in SF?"},
|
|
@@ -277,7 +277,7 @@ async def main() -> None:
|
|
|
277
277
|
"content": "Say hello there!",
|
|
278
278
|
}
|
|
279
279
|
],
|
|
280
|
-
model="claude-sonnet-4-
|
|
280
|
+
model="claude-sonnet-4-5-20250929",
|
|
281
281
|
) as stream:
|
|
282
282
|
async for text in stream.text_stream:
|
|
283
283
|
print(text, end="", flush=True)
|
|
@@ -299,7 +299,7 @@ To get the token count for a message without creating it you can use the `client
|
|
|
299
299
|
|
|
300
300
|
```py
|
|
301
301
|
count = client.messages.count_tokens(
|
|
302
|
-
model="claude-sonnet-4-
|
|
302
|
+
model="claude-sonnet-4-5-20250929",
|
|
303
303
|
messages=[
|
|
304
304
|
{"role": "user", "content": "Hello, world"}
|
|
305
305
|
]
|
|
@@ -329,7 +329,7 @@ await client.messages.batches.create(
|
|
|
329
329
|
{
|
|
330
330
|
"custom_id": "my-first-request",
|
|
331
331
|
"params": {
|
|
332
|
-
"model": "claude-sonnet-4-
|
|
332
|
+
"model": "claude-sonnet-4-5-20250929",
|
|
333
333
|
"max_tokens": 1024,
|
|
334
334
|
"messages": [{"role": "user", "content": "Hello, world"}],
|
|
335
335
|
},
|
|
@@ -337,7 +337,7 @@ await client.messages.batches.create(
|
|
|
337
337
|
{
|
|
338
338
|
"custom_id": "my-second-request",
|
|
339
339
|
"params": {
|
|
340
|
-
"model": "claude-sonnet-4-
|
|
340
|
+
"model": "claude-sonnet-4-5-20250929",
|
|
341
341
|
"max_tokens": 1024,
|
|
342
342
|
"messages": [{"role": "user", "content": "Hi again, friend"}],
|
|
343
343
|
},
|
|
@@ -380,7 +380,7 @@ message = client.messages.create(
|
|
|
380
380
|
"content": "Hello!",
|
|
381
381
|
}
|
|
382
382
|
],
|
|
383
|
-
model="anthropic.claude-sonnet-4-
|
|
383
|
+
model="anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
384
384
|
)
|
|
385
385
|
print(message)
|
|
386
386
|
```
|
|
@@ -522,7 +522,7 @@ message = client.messages.create(
|
|
|
522
522
|
"role": "user",
|
|
523
523
|
}
|
|
524
524
|
],
|
|
525
|
-
model="claude-sonnet-4-
|
|
525
|
+
model="claude-sonnet-4-5-20250929",
|
|
526
526
|
metadata={},
|
|
527
527
|
)
|
|
528
528
|
print(message.metadata)
|
|
@@ -569,7 +569,7 @@ try:
|
|
|
569
569
|
"content": "Hello, Claude",
|
|
570
570
|
}
|
|
571
571
|
],
|
|
572
|
-
model="claude-sonnet-4-
|
|
572
|
+
model="claude-sonnet-4-5-20250929",
|
|
573
573
|
)
|
|
574
574
|
except anthropic.APIConnectionError as e:
|
|
575
575
|
print("The server could not be reached")
|
|
@@ -610,7 +610,7 @@ message = client.messages.create(
|
|
|
610
610
|
"content": "Hello, Claude",
|
|
611
611
|
}
|
|
612
612
|
],
|
|
613
|
-
model="claude-sonnet-4-
|
|
613
|
+
model="claude-sonnet-4-5-20250929",
|
|
614
614
|
)
|
|
615
615
|
print(message._request_id) # req_018EeWyXxfu5pfWkrYcMdjWG
|
|
616
616
|
```
|
|
@@ -645,7 +645,7 @@ client.with_options(max_retries=5).messages.create(
|
|
|
645
645
|
"content": "Hello, Claude",
|
|
646
646
|
}
|
|
647
647
|
],
|
|
648
|
-
model="claude-sonnet-4-
|
|
648
|
+
model="claude-sonnet-4-5-20250929",
|
|
649
649
|
)
|
|
650
650
|
```
|
|
651
651
|
|
|
@@ -677,7 +677,7 @@ client.with_options(timeout=5.0).messages.create(
|
|
|
677
677
|
"content": "Hello, Claude",
|
|
678
678
|
}
|
|
679
679
|
],
|
|
680
|
-
model="claude-sonnet-4-
|
|
680
|
+
model="claude-sonnet-4-5-20250929",
|
|
681
681
|
)
|
|
682
682
|
```
|
|
683
683
|
|
|
@@ -760,7 +760,7 @@ response = client.messages.with_raw_response.create(
|
|
|
760
760
|
"role": "user",
|
|
761
761
|
"content": "Hello, Claude",
|
|
762
762
|
}],
|
|
763
|
-
model="claude-sonnet-4-
|
|
763
|
+
model="claude-sonnet-4-5-20250929",
|
|
764
764
|
)
|
|
765
765
|
print(response.headers.get('X-My-Header'))
|
|
766
766
|
|
|
@@ -794,7 +794,7 @@ with client.messages.with_streaming_response.create(
|
|
|
794
794
|
"content": "Hello, Claude",
|
|
795
795
|
}
|
|
796
796
|
],
|
|
797
|
-
model="claude-sonnet-4-
|
|
797
|
+
model="claude-sonnet-4-5-20250929",
|
|
798
798
|
) as response:
|
|
799
799
|
print(response.headers.get("X-My-Header"))
|
|
800
800
|
|
|
@@ -38,7 +38,7 @@ message = client.messages.create(
|
|
|
38
38
|
"content": "Hello, Claude",
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
|
-
model="claude-sonnet-4-
|
|
41
|
+
model="claude-sonnet-4-5-20250929",
|
|
42
42
|
)
|
|
43
43
|
print(message.content)
|
|
44
44
|
```
|
|
@@ -71,7 +71,7 @@ async def main() -> None:
|
|
|
71
71
|
"content": "Hello, Claude",
|
|
72
72
|
}
|
|
73
73
|
],
|
|
74
|
-
model="claude-sonnet-4-
|
|
74
|
+
model="claude-sonnet-4-5-20250929",
|
|
75
75
|
)
|
|
76
76
|
print(message.content)
|
|
77
77
|
|
|
@@ -113,7 +113,7 @@ async def main() -> None:
|
|
|
113
113
|
"content": "Hello, Claude",
|
|
114
114
|
}
|
|
115
115
|
],
|
|
116
|
-
model="claude-sonnet-4-
|
|
116
|
+
model="claude-sonnet-4-5-20250929",
|
|
117
117
|
)
|
|
118
118
|
print(message.content)
|
|
119
119
|
|
|
@@ -138,7 +138,7 @@ stream = client.messages.create(
|
|
|
138
138
|
"content": "Hello, Claude",
|
|
139
139
|
}
|
|
140
140
|
],
|
|
141
|
-
model="claude-sonnet-4-
|
|
141
|
+
model="claude-sonnet-4-5-20250929",
|
|
142
142
|
stream=True,
|
|
143
143
|
)
|
|
144
144
|
for event in stream:
|
|
@@ -160,7 +160,7 @@ stream = await client.messages.create(
|
|
|
160
160
|
"content": "Hello, Claude",
|
|
161
161
|
}
|
|
162
162
|
],
|
|
163
|
-
model="claude-sonnet-4-
|
|
163
|
+
model="claude-sonnet-4-5-20250929",
|
|
164
164
|
stream=True,
|
|
165
165
|
)
|
|
166
166
|
async for event in stream:
|
|
@@ -202,7 +202,7 @@ def get_weather(location: str) -> str:
|
|
|
202
202
|
|
|
203
203
|
runner = client.beta.messages.tool_runner(
|
|
204
204
|
max_tokens=1024,
|
|
205
|
-
model="claude-sonnet-4-
|
|
205
|
+
model="claude-sonnet-4-5-20250929",
|
|
206
206
|
tools=[get_weather],
|
|
207
207
|
messages=[
|
|
208
208
|
{"role": "user", "content": "What is the weather in SF?"},
|
|
@@ -235,7 +235,7 @@ async def main() -> None:
|
|
|
235
235
|
"content": "Say hello there!",
|
|
236
236
|
}
|
|
237
237
|
],
|
|
238
|
-
model="claude-sonnet-4-
|
|
238
|
+
model="claude-sonnet-4-5-20250929",
|
|
239
239
|
) as stream:
|
|
240
240
|
async for text in stream.text_stream:
|
|
241
241
|
print(text, end="", flush=True)
|
|
@@ -257,7 +257,7 @@ To get the token count for a message without creating it you can use the `client
|
|
|
257
257
|
|
|
258
258
|
```py
|
|
259
259
|
count = client.messages.count_tokens(
|
|
260
|
-
model="claude-sonnet-4-
|
|
260
|
+
model="claude-sonnet-4-5-20250929",
|
|
261
261
|
messages=[
|
|
262
262
|
{"role": "user", "content": "Hello, world"}
|
|
263
263
|
]
|
|
@@ -287,7 +287,7 @@ await client.messages.batches.create(
|
|
|
287
287
|
{
|
|
288
288
|
"custom_id": "my-first-request",
|
|
289
289
|
"params": {
|
|
290
|
-
"model": "claude-sonnet-4-
|
|
290
|
+
"model": "claude-sonnet-4-5-20250929",
|
|
291
291
|
"max_tokens": 1024,
|
|
292
292
|
"messages": [{"role": "user", "content": "Hello, world"}],
|
|
293
293
|
},
|
|
@@ -295,7 +295,7 @@ await client.messages.batches.create(
|
|
|
295
295
|
{
|
|
296
296
|
"custom_id": "my-second-request",
|
|
297
297
|
"params": {
|
|
298
|
-
"model": "claude-sonnet-4-
|
|
298
|
+
"model": "claude-sonnet-4-5-20250929",
|
|
299
299
|
"max_tokens": 1024,
|
|
300
300
|
"messages": [{"role": "user", "content": "Hi again, friend"}],
|
|
301
301
|
},
|
|
@@ -338,7 +338,7 @@ message = client.messages.create(
|
|
|
338
338
|
"content": "Hello!",
|
|
339
339
|
}
|
|
340
340
|
],
|
|
341
|
-
model="anthropic.claude-sonnet-4-
|
|
341
|
+
model="anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
342
342
|
)
|
|
343
343
|
print(message)
|
|
344
344
|
```
|
|
@@ -480,7 +480,7 @@ message = client.messages.create(
|
|
|
480
480
|
"role": "user",
|
|
481
481
|
}
|
|
482
482
|
],
|
|
483
|
-
model="claude-sonnet-4-
|
|
483
|
+
model="claude-sonnet-4-5-20250929",
|
|
484
484
|
metadata={},
|
|
485
485
|
)
|
|
486
486
|
print(message.metadata)
|
|
@@ -527,7 +527,7 @@ try:
|
|
|
527
527
|
"content": "Hello, Claude",
|
|
528
528
|
}
|
|
529
529
|
],
|
|
530
|
-
model="claude-sonnet-4-
|
|
530
|
+
model="claude-sonnet-4-5-20250929",
|
|
531
531
|
)
|
|
532
532
|
except anthropic.APIConnectionError as e:
|
|
533
533
|
print("The server could not be reached")
|
|
@@ -568,7 +568,7 @@ message = client.messages.create(
|
|
|
568
568
|
"content": "Hello, Claude",
|
|
569
569
|
}
|
|
570
570
|
],
|
|
571
|
-
model="claude-sonnet-4-
|
|
571
|
+
model="claude-sonnet-4-5-20250929",
|
|
572
572
|
)
|
|
573
573
|
print(message._request_id) # req_018EeWyXxfu5pfWkrYcMdjWG
|
|
574
574
|
```
|
|
@@ -603,7 +603,7 @@ client.with_options(max_retries=5).messages.create(
|
|
|
603
603
|
"content": "Hello, Claude",
|
|
604
604
|
}
|
|
605
605
|
],
|
|
606
|
-
model="claude-sonnet-4-
|
|
606
|
+
model="claude-sonnet-4-5-20250929",
|
|
607
607
|
)
|
|
608
608
|
```
|
|
609
609
|
|
|
@@ -635,7 +635,7 @@ client.with_options(timeout=5.0).messages.create(
|
|
|
635
635
|
"content": "Hello, Claude",
|
|
636
636
|
}
|
|
637
637
|
],
|
|
638
|
-
model="claude-sonnet-4-
|
|
638
|
+
model="claude-sonnet-4-5-20250929",
|
|
639
639
|
)
|
|
640
640
|
```
|
|
641
641
|
|
|
@@ -718,7 +718,7 @@ response = client.messages.with_raw_response.create(
|
|
|
718
718
|
"role": "user",
|
|
719
719
|
"content": "Hello, Claude",
|
|
720
720
|
}],
|
|
721
|
-
model="claude-sonnet-4-
|
|
721
|
+
model="claude-sonnet-4-5-20250929",
|
|
722
722
|
)
|
|
723
723
|
print(response.headers.get('X-My-Header'))
|
|
724
724
|
|
|
@@ -752,7 +752,7 @@ with client.messages.with_streaming_response.create(
|
|
|
752
752
|
"content": "Hello, Claude",
|
|
753
753
|
}
|
|
754
754
|
],
|
|
755
|
-
model="claude-sonnet-4-
|
|
755
|
+
model="claude-sonnet-4-5-20250929",
|
|
756
756
|
) as response:
|
|
757
757
|
print(response.headers.get("X-My-Header"))
|
|
758
758
|
|
|
@@ -227,6 +227,8 @@ from anthropic.types.beta import (
|
|
|
227
227
|
BetaCitationsConfigParam,
|
|
228
228
|
BetaCitationsDelta,
|
|
229
229
|
BetaCitationsWebSearchResultLocation,
|
|
230
|
+
BetaClearToolUses20250919Edit,
|
|
231
|
+
BetaClearToolUses20250919EditResponse,
|
|
230
232
|
BetaCodeExecutionOutputBlock,
|
|
231
233
|
BetaCodeExecutionOutputBlockParam,
|
|
232
234
|
BetaCodeExecutionResultBlock,
|
|
@@ -247,14 +249,27 @@ from anthropic.types.beta import (
|
|
|
247
249
|
BetaContentBlockParam,
|
|
248
250
|
BetaContentBlockSource,
|
|
249
251
|
BetaContentBlockSourceContent,
|
|
252
|
+
BetaContextManagementConfig,
|
|
253
|
+
BetaContextManagementResponse,
|
|
254
|
+
BetaCountTokensContextManagementResponse,
|
|
250
255
|
BetaDocumentBlock,
|
|
251
256
|
BetaFileDocumentSource,
|
|
252
257
|
BetaFileImageSource,
|
|
253
258
|
BetaImageBlockParam,
|
|
254
259
|
BetaInputJSONDelta,
|
|
260
|
+
BetaInputTokensClearAtLeast,
|
|
261
|
+
BetaInputTokensTrigger,
|
|
255
262
|
BetaMCPToolResultBlock,
|
|
256
263
|
BetaMCPToolUseBlock,
|
|
257
264
|
BetaMCPToolUseBlockParam,
|
|
265
|
+
BetaMemoryTool20250818,
|
|
266
|
+
BetaMemoryTool20250818Command,
|
|
267
|
+
BetaMemoryTool20250818CreateCommand,
|
|
268
|
+
BetaMemoryTool20250818DeleteCommand,
|
|
269
|
+
BetaMemoryTool20250818InsertCommand,
|
|
270
|
+
BetaMemoryTool20250818RenameCommand,
|
|
271
|
+
BetaMemoryTool20250818StrReplaceCommand,
|
|
272
|
+
BetaMemoryTool20250818ViewCommand,
|
|
258
273
|
BetaMessage,
|
|
259
274
|
BetaMessageDeltaUsage,
|
|
260
275
|
BetaMessageParam,
|
|
@@ -320,6 +335,8 @@ from anthropic.types.beta import (
|
|
|
320
335
|
BetaToolUnion,
|
|
321
336
|
BetaToolUseBlock,
|
|
322
337
|
BetaToolUseBlockParam,
|
|
338
|
+
BetaToolUsesKeep,
|
|
339
|
+
BetaToolUsesTrigger,
|
|
323
340
|
BetaURLImageSource,
|
|
324
341
|
BetaURLPDFSource,
|
|
325
342
|
BetaUsage,
|
|
@@ -19,7 +19,7 @@ message = client.messages.create(
|
|
|
19
19
|
"content": "Hello!",
|
|
20
20
|
}
|
|
21
21
|
],
|
|
22
|
-
model="anthropic.claude-sonnet-4-
|
|
22
|
+
model="anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
23
23
|
)
|
|
24
24
|
print(message.model_dump_json(indent=2))
|
|
25
25
|
|
|
@@ -33,7 +33,7 @@ with client.messages.stream(
|
|
|
33
33
|
"content": "Say hello there!",
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
|
-
model="anthropic.claude-sonnet-4-
|
|
36
|
+
model="anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
37
37
|
) as stream:
|
|
38
38
|
for text in stream.text_stream:
|
|
39
39
|
print(text, end="", flush=True)
|