anthropic 0.69.0__py3-none-any.whl → 0.70.0__py3-none-any.whl

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/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "anthropic"
4
- __version__ = "0.69.0" # x-release-please-version
4
+ __version__ = "0.70.0" # x-release-please-version
@@ -25,5 +25,7 @@ AnthropicBetaParam: TypeAlias = Union[
25
25
  "code-execution-2025-05-22",
26
26
  "extended-cache-ttl-2025-04-11",
27
27
  "context-1m-2025-08-07",
28
+ "context-management-2025-06-27",
29
+ "model-context-window-exceeded-2025-08-26",
28
30
  ],
29
31
  ]
anthropic/types/model.py CHANGED
@@ -11,6 +11,8 @@ Model: TypeAlias = Union[
11
11
  "claude-3-7-sonnet-20250219",
12
12
  "claude-3-5-haiku-latest",
13
13
  "claude-3-5-haiku-20241022",
14
+ "claude-haiku-4-5",
15
+ "claude-haiku-4-5-20251001",
14
16
  "claude-sonnet-4-20250514",
15
17
  "claude-sonnet-4-0",
16
18
  "claude-4-sonnet-20250514",
@@ -13,6 +13,8 @@ ModelParam: TypeAlias = Union[
13
13
  "claude-3-7-sonnet-20250219",
14
14
  "claude-3-5-haiku-latest",
15
15
  "claude-3-5-haiku-20241022",
16
+ "claude-haiku-4-5",
17
+ "claude-haiku-4-5-20251001",
16
18
  "claude-sonnet-4-20250514",
17
19
  "claude-sonnet-4-0",
18
20
  "claude-4-sonnet-20250514",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: anthropic
3
- Version: 0.69.0
3
+ Version: 0.70.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
@@ -12,7 +12,7 @@ anthropic/_resource.py,sha256=FYEOzfhB-XWTR2gyTmQuuFoecRiVXxe_SpjZlQQGytU,1080
12
12
  anthropic/_response.py,sha256=1Y7-OrGn1lOwvZ_SmMlwT9Nb2i9A1RYw2Q4-F1cwPSU,30542
13
13
  anthropic/_streaming.py,sha256=vn8K5KgfO3Bv9NE8nwHIQEjEhkQeVE6YMnGqiJlCgqE,14023
14
14
  anthropic/_types.py,sha256=vEab5B5Hp7xQQafVrgSCHeEPUmf74jofqIPo-n7Xljk,7338
15
- anthropic/_version.py,sha256=VFFOB7_1BDmd8ACcXK9HVqv84Wfrui1XDwO3_vsYvXs,162
15
+ anthropic/_version.py,sha256=DFBkrJyQeZcfsVbgU5ycBwzoQtUfh4FxjuZORxMxuT4,162
16
16
  anthropic/pagination.py,sha256=hW6DOtNbwwQrNQ8wn4PJj7WB2y_37szSDQeUBnunQ40,2202
17
17
  anthropic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  anthropic/_decoders/jsonl.py,sha256=KDLw-Frjo7gRup5qDp_BWkXIZ-mFZU5vFDz0WBhEKcs,3510
@@ -69,7 +69,7 @@ anthropic/resources/messages/__init__.py,sha256=iOSBh4D7NTXqe7RNhw9HZCiFmJvDfIgV
69
69
  anthropic/resources/messages/batches.py,sha256=oTuHN8jUqwJYbUybLiuHG6wFItO0jlwLWyxZeRLGr0Y,28548
70
70
  anthropic/resources/messages/messages.py,sha256=cQJUX9hEocYIFyJaGBXnFnTBsZLu0q1MnwR6FC6Qtm4,108828
71
71
  anthropic/types/__init__.py,sha256=H56hkiGRNPgQE1PANpHed0ns8nMqJGVqLmM7gVWLRWg,9458
72
- anthropic/types/anthropic_beta_param.py,sha256=UyV6amEHP5EhVAxA_viLrdpX0YclbZtakiak-7XSayc,848
72
+ anthropic/types/anthropic_beta_param.py,sha256=MA8pO0K70CKRyfpbXzgRdFBKb0uAvSVMDqjgxWDWFuk,941
73
73
  anthropic/types/base64_image_source_param.py,sha256=4djZ4GfXcL2khwcg8KpUdZILKmmzHro5YFXTdkhSqpw,725
74
74
  anthropic/types/base64_pdf_source_param.py,sha256=N2ALmXljCEVfOh9oUbgFjH8hF3iNFoQLK7y0MfvPl4k,684
75
75
  anthropic/types/beta_api_error.py,sha256=rr_VBxFp9VqNmVjTUokYzpkYRYvO9MVh_t406BvGi38,268
@@ -121,10 +121,10 @@ anthropic/types/message_stop_event.py,sha256=rtYh1F-b9xilu8s_RdaHijP7kf3om6FvK9c
121
121
  anthropic/types/message_stream_event.py,sha256=OspCo1IFpItyJDr4Ta16o8DQmTsgVWSmeNg4BhfMM0M,285
122
122
  anthropic/types/message_tokens_count.py,sha256=JmkcWw9nZAUgr2WY5G4Mwqs2jcnMuZXh920MlUkvY70,329
123
123
  anthropic/types/metadata_param.py,sha256=p6j8bWh3FfI3PB-vJjU4JhRukP2NZdrcE2gQixw5zgw,594
124
- anthropic/types/model.py,sha256=cMdb4M_DJ8xLXCQ07130H5fbjB0owqE-bdBlVyfdlRw,898
124
+ anthropic/types/model.py,sha256=p6smk4Xte5Z_y8Lo07kk_0O5yHFT0bm-xDlAavXAhaU,963
125
125
  anthropic/types/model_info.py,sha256=JrqNQwWcOiC5ItKTZqRfeAQhPWzi0AyzzOTF6AdE-ss,646
126
126
  anthropic/types/model_list_params.py,sha256=O2GJOAHr6pB7yGAJhLjcwsDJ8ACtE1GrOrI2JDkj0w8,974
127
- anthropic/types/model_param.py,sha256=Y10mrEcm9Qdl_dL9DBdAjqr9iZs-litb7gkBM325NUc,944
127
+ anthropic/types/model_param.py,sha256=sf2ibTNyO2efOvTgReosHWrSzpx02ZmQEVaGtHVliLk,1009
128
128
  anthropic/types/plain_text_source_param.py,sha256=zdzLMfSQZH2_9Z8ssVc5hLG1w_AuFZ2Z3E17lEntAzg,382
129
129
  anthropic/types/raw_content_block_delta.py,sha256=T1i1gSGq9u9obYbxgXYAwux-WIRqSRWJW9tBjBDXoP8,611
130
130
  anthropic/types/raw_content_block_delta_event.py,sha256=XKpY_cCljZ6NFtVCt5R38imPbnZAbFyQVIB5d4K4ZgY,393
@@ -383,7 +383,7 @@ anthropic/types/shared/not_found_error.py,sha256=R6OsCvAmsf_SB2TwoX6E63o049qZMaA
383
383
  anthropic/types/shared/overloaded_error.py,sha256=PlyhHt3wmzcnynSfkWbfP4XkLoWsPa9B39V3CyAdgx8,282
384
384
  anthropic/types/shared/permission_error.py,sha256=nuyxtLXOiEkYEbFRXiAWjxU6XtdyjkAaXQ2NgMB3pjw,282
385
385
  anthropic/types/shared/rate_limit_error.py,sha256=eYULATjXa6KKdqeBauest7RzuN-bhGsY5BWwH9eYv4c,280
386
- anthropic-0.69.0.dist-info/METADATA,sha256=46g3Ww5s1U-z4fThItBcdCb0fp53jkOlj5N_oKxloHg,28564
387
- anthropic-0.69.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
388
- anthropic-0.69.0.dist-info/licenses/LICENSE,sha256=i_lphP-Lz65-SMrnalKeiiUxe6ngKr9_08xk_flWV6Y,1056
389
- anthropic-0.69.0.dist-info/RECORD,,
386
+ anthropic-0.70.0.dist-info/METADATA,sha256=tYwYzKIaHNHEzlYy_euljix18nX-ByeUBLNkcGkE0Kc,28564
387
+ anthropic-0.70.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
388
+ anthropic-0.70.0.dist-info/licenses/LICENSE,sha256=i_lphP-Lz65-SMrnalKeiiUxe6ngKr9_08xk_flWV6Y,1056
389
+ anthropic-0.70.0.dist-info/RECORD,,