assassinlike commited on
Commit
66bb627
·
verified ·
1 Parent(s): f8fce76

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/__init__.cpython-311.pyc +0 -0
  2. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/bash_code_execution_tool_result_block.cpython-311.pyc +0 -0
  3. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/beta_api_error.cpython-311.pyc +0 -0
  4. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/citations_delta.cpython-311.pyc +0 -0
  5. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/code_execution_tool_result_block.cpython-311.pyc +0 -0
  6. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/completion_create_params.cpython-311.pyc +0 -0
  7. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/encrypted_code_execution_result_block.cpython-311.pyc +0 -0
  8. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/model_info.cpython-311.pyc +0 -0
  9. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/raw_message_stream_event.cpython-311.pyc +0 -0
  10. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/server_tool_use_block_param.cpython-311.pyc +0 -0
  11. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/text_editor_code_execution_tool_result_error.cpython-311.pyc +0 -0
  12. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/thinking_config_enabled_param.cpython-311.pyc +0 -0
  13. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_choice_param.cpython-311.pyc +0 -0
  14. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_reference_block_param.cpython-311.pyc +0 -0
  15. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_search_tool_regex_20251119_param.cpython-311.pyc +0 -0
  16. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_search_tool_result_block.cpython-311.pyc +0 -0
  17. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_fetch_tool_20250910_param.cpython-311.pyc +0 -0
  18. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_fetch_tool_result_block.cpython-311.pyc +0 -0
  19. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_search_tool_request_error_param.cpython-311.pyc +0 -0
  20. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_search_tool_result_error.cpython-311.pyc +0 -0
  21. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_cache_creation.cpython-311.pyc +0 -0
  22. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_code_execution_tool_20260120_param.cpython-311.pyc +0 -0
  23. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_compact_20260112_edit_param.cpython-311.pyc +0 -0
  24. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_image_block_param.cpython-311.pyc +0 -0
  25. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_input_tokens_clear_at_least_param.cpython-311.pyc +0 -0
  26. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_message_param.cpython-311.pyc +0 -0
  27. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_stop_reason.cpython-311.pyc +0 -0
  28. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_text_editor_code_execution_str_replace_result_block_param.cpython-311.pyc +0 -0
  29. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_text_editor_code_execution_view_result_block.cpython-311.pyc +0 -0
  30. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_reference_block.cpython-311.pyc +0 -0
  31. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_search_tool_regex_20251119_param.cpython-311.pyc +0 -0
  32. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_text_editor_20250124_param.cpython-311.pyc +0 -0
  33. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_use_block.cpython-311.pyc +0 -0
  34. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_web_fetch_tool_20260209_param.cpython-311.pyc +0 -0
  35. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_web_fetch_tool_result_error_block_param.cpython-311.pyc +0 -0
  36. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_web_search_tool_request_error_param.cpython-311.pyc +0 -0
  37. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/deleted_file.cpython-311.pyc +0 -0
  38. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/file_metadata.cpython-311.pyc +0 -0
  39. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/skill_create_params.cpython-311.pyc +0 -0
  40. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/skill_list_response.cpython-311.pyc +0 -0
  41. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/__init__.py +17 -0
  42. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/batch_create_params.py +41 -0
  43. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/batch_list_params.py +34 -0
  44. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_deleted_message_batch.py +18 -0
  45. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch.py +77 -0
  46. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_canceled_result.py +11 -0
  47. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_errored_result.py +14 -0
  48. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_expired_result.py +11 -0
  49. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_individual_response.py +29 -0
  50. data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_request_counts.py +34 -0
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/__init__.cpython-311.pyc ADDED
Binary file (18.5 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/bash_code_execution_tool_result_block.cpython-311.pyc ADDED
Binary file (1.2 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/beta_api_error.cpython-311.pyc ADDED
Binary file (711 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/citations_delta.cpython-311.pyc ADDED
Binary file (1.57 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/code_execution_tool_result_block.cpython-311.pyc ADDED
Binary file (932 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/completion_create_params.cpython-311.pyc ADDED
Binary file (2.66 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/encrypted_code_execution_result_block.cpython-311.pyc ADDED
Binary file (1.16 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/model_info.cpython-311.pyc ADDED
Binary file (839 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/raw_message_stream_event.cpython-311.pyc ADDED
Binary file (1.23 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/server_tool_use_block_param.cpython-311.pyc ADDED
Binary file (1.78 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/text_editor_code_execution_tool_result_error.cpython-311.pyc ADDED
Binary file (1.09 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/thinking_config_enabled_param.cpython-311.pyc ADDED
Binary file (837 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_choice_param.cpython-311.pyc ADDED
Binary file (868 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_reference_block_param.cpython-311.pyc ADDED
Binary file (1.15 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_search_tool_regex_20251119_param.cpython-311.pyc ADDED
Binary file (1.39 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/tool_search_tool_result_block.cpython-311.pyc ADDED
Binary file (1.17 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_fetch_tool_20250910_param.cpython-311.pyc ADDED
Binary file (1.77 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_fetch_tool_result_block.cpython-311.pyc ADDED
Binary file (1.73 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_search_tool_request_error_param.cpython-311.pyc ADDED
Binary file (988 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/__pycache__/web_search_tool_result_error.cpython-311.pyc ADDED
Binary file (870 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_cache_creation.cpython-311.pyc ADDED
Binary file (680 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_code_execution_tool_20260120_param.cpython-311.pyc ADDED
Binary file (1.49 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_compact_20260112_edit_param.cpython-311.pyc ADDED
Binary file (1.27 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_image_block_param.cpython-311.pyc ADDED
Binary file (1.49 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_input_tokens_clear_at_least_param.cpython-311.pyc ADDED
Binary file (845 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_message_param.cpython-311.pyc ADDED
Binary file (1.02 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_stop_reason.cpython-311.pyc ADDED
Binary file (551 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_text_editor_code_execution_str_replace_result_block_param.cpython-311.pyc ADDED
Binary file (1.21 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_text_editor_code_execution_view_result_block.cpython-311.pyc ADDED
Binary file (1.14 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_reference_block.cpython-311.pyc ADDED
Binary file (745 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_search_tool_regex_20251119_param.cpython-311.pyc ADDED
Binary file (1.42 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_text_editor_20250124_param.cpython-311.pyc ADDED
Binary file (1.48 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_tool_use_block.cpython-311.pyc ADDED
Binary file (1.54 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_web_fetch_tool_20260209_param.cpython-311.pyc ADDED
Binary file (1.81 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_web_fetch_tool_result_error_block_param.cpython-311.pyc ADDED
Binary file (1.02 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/beta_web_search_tool_request_error_param.cpython-311.pyc ADDED
Binary file (1.02 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/deleted_file.cpython-311.pyc ADDED
Binary file (809 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/file_metadata.cpython-311.pyc ADDED
Binary file (1.05 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/skill_create_params.cpython-311.pyc ADDED
Binary file (1.24 kB). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/__pycache__/skill_list_response.cpython-311.pyc ADDED
Binary file (962 Bytes). View file
 
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/__init__.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .batch_list_params import BatchListParams as BatchListParams
6
+ from .beta_message_batch import BetaMessageBatch as BetaMessageBatch
7
+ from .batch_create_params import BatchCreateParams as BatchCreateParams
8
+ from .beta_message_batch_result import BetaMessageBatchResult as BetaMessageBatchResult
9
+ from .beta_deleted_message_batch import BetaDeletedMessageBatch as BetaDeletedMessageBatch
10
+ from .beta_message_batch_errored_result import BetaMessageBatchErroredResult as BetaMessageBatchErroredResult
11
+ from .beta_message_batch_expired_result import BetaMessageBatchExpiredResult as BetaMessageBatchExpiredResult
12
+ from .beta_message_batch_request_counts import BetaMessageBatchRequestCounts as BetaMessageBatchRequestCounts
13
+ from .beta_message_batch_canceled_result import BetaMessageBatchCanceledResult as BetaMessageBatchCanceledResult
14
+ from .beta_message_batch_succeeded_result import BetaMessageBatchSucceededResult as BetaMessageBatchSucceededResult
15
+ from .beta_message_batch_individual_response import (
16
+ BetaMessageBatchIndividualResponse as BetaMessageBatchIndividualResponse,
17
+ )
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/batch_create_params.py ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List, Iterable
6
+ from typing_extensions import Required, Annotated, TypedDict
7
+
8
+ from ...._utils import PropertyInfo
9
+ from ...anthropic_beta_param import AnthropicBetaParam
10
+ from ..message_create_params import MessageCreateParamsNonStreaming
11
+
12
+ __all__ = ["BatchCreateParams", "Request"]
13
+
14
+
15
+ class BatchCreateParams(TypedDict, total=False):
16
+ requests: Required[Iterable[Request]]
17
+ """List of requests for prompt completion.
18
+
19
+ Each is an individual request to create a Message.
20
+ """
21
+
22
+ betas: Annotated[List[AnthropicBetaParam], PropertyInfo(alias="anthropic-beta")]
23
+ """Optional header to specify the beta version(s) you want to use."""
24
+
25
+
26
+ class Request(TypedDict, total=False):
27
+ custom_id: Required[str]
28
+ """Developer-provided ID created for each request in a Message Batch.
29
+
30
+ Useful for matching results to requests, as results may be given out of request
31
+ order.
32
+
33
+ Must be unique for each request within the Message Batch.
34
+ """
35
+
36
+ params: Required[MessageCreateParamsNonStreaming]
37
+ """Messages API creation parameters for the individual request.
38
+
39
+ See the [Messages API reference](https://docs.claude.com/en/api/messages) for
40
+ full documentation on available parameters.
41
+ """
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/batch_list_params.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List
6
+ from typing_extensions import Annotated, TypedDict
7
+
8
+ from ...._utils import PropertyInfo
9
+ from ...anthropic_beta_param import AnthropicBetaParam
10
+
11
+ __all__ = ["BatchListParams"]
12
+
13
+
14
+ class BatchListParams(TypedDict, total=False):
15
+ after_id: str
16
+ """ID of the object to use as a cursor for pagination.
17
+
18
+ When provided, returns the page of results immediately after this object.
19
+ """
20
+
21
+ before_id: str
22
+ """ID of the object to use as a cursor for pagination.
23
+
24
+ When provided, returns the page of results immediately before this object.
25
+ """
26
+
27
+ limit: int
28
+ """Number of items to return per page.
29
+
30
+ Defaults to `20`. Ranges from `1` to `1000`.
31
+ """
32
+
33
+ betas: Annotated[List[AnthropicBetaParam], PropertyInfo(alias="anthropic-beta")]
34
+ """Optional header to specify the beta version(s) you want to use."""
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_deleted_message_batch.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ...._models import BaseModel
6
+
7
+ __all__ = ["BetaDeletedMessageBatch"]
8
+
9
+
10
+ class BetaDeletedMessageBatch(BaseModel):
11
+ id: str
12
+ """ID of the Message Batch."""
13
+
14
+ type: Literal["message_batch_deleted"]
15
+ """Deleted object type.
16
+
17
+ For Message Batches, this is always `"message_batch_deleted"`.
18
+ """
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch.py ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from ...._models import BaseModel
8
+ from .beta_message_batch_request_counts import BetaMessageBatchRequestCounts
9
+
10
+ __all__ = ["BetaMessageBatch"]
11
+
12
+
13
+ class BetaMessageBatch(BaseModel):
14
+ id: str
15
+ """Unique object identifier.
16
+
17
+ The format and length of IDs may change over time.
18
+ """
19
+
20
+ archived_at: Optional[datetime] = None
21
+ """
22
+ RFC 3339 datetime string representing the time at which the Message Batch was
23
+ archived and its results became unavailable.
24
+ """
25
+
26
+ cancel_initiated_at: Optional[datetime] = None
27
+ """
28
+ RFC 3339 datetime string representing the time at which cancellation was
29
+ initiated for the Message Batch. Specified only if cancellation was initiated.
30
+ """
31
+
32
+ created_at: datetime
33
+ """
34
+ RFC 3339 datetime string representing the time at which the Message Batch was
35
+ created.
36
+ """
37
+
38
+ ended_at: Optional[datetime] = None
39
+ """
40
+ RFC 3339 datetime string representing the time at which processing for the
41
+ Message Batch ended. Specified only once processing ends.
42
+
43
+ Processing ends when every request in a Message Batch has either succeeded,
44
+ errored, canceled, or expired.
45
+ """
46
+
47
+ expires_at: datetime
48
+ """
49
+ RFC 3339 datetime string representing the time at which the Message Batch will
50
+ expire and end processing, which is 24 hours after creation.
51
+ """
52
+
53
+ processing_status: Literal["in_progress", "canceling", "ended"]
54
+ """Processing status of the Message Batch."""
55
+
56
+ request_counts: BetaMessageBatchRequestCounts
57
+ """Tallies requests within the Message Batch, categorized by their status.
58
+
59
+ Requests start as `processing` and move to one of the other statuses only once
60
+ processing of the entire batch ends. The sum of all values always matches the
61
+ total number of requests in the batch.
62
+ """
63
+
64
+ results_url: Optional[str] = None
65
+ """URL to a `.jsonl` file containing the results of the Message Batch requests.
66
+
67
+ Specified only once processing ends.
68
+
69
+ Results in the file are not guaranteed to be in the same order as requests. Use
70
+ the `custom_id` field to match results to requests.
71
+ """
72
+
73
+ type: Literal["message_batch"]
74
+ """Object type.
75
+
76
+ For Message Batches, this is always `"message_batch"`.
77
+ """
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_canceled_result.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ...._models import BaseModel
6
+
7
+ __all__ = ["BetaMessageBatchCanceledResult"]
8
+
9
+
10
+ class BetaMessageBatchCanceledResult(BaseModel):
11
+ type: Literal["canceled"]
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_errored_result.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ...._models import BaseModel
6
+ from ...beta_error_response import BetaErrorResponse
7
+
8
+ __all__ = ["BetaMessageBatchErroredResult"]
9
+
10
+
11
+ class BetaMessageBatchErroredResult(BaseModel):
12
+ error: BetaErrorResponse
13
+
14
+ type: Literal["errored"]
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_expired_result.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from ...._models import BaseModel
6
+
7
+ __all__ = ["BetaMessageBatchExpiredResult"]
8
+
9
+
10
+ class BetaMessageBatchExpiredResult(BaseModel):
11
+ type: Literal["expired"]
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_individual_response.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from ...._models import BaseModel
4
+ from .beta_message_batch_result import BetaMessageBatchResult
5
+
6
+ __all__ = ["BetaMessageBatchIndividualResponse"]
7
+
8
+
9
+ class BetaMessageBatchIndividualResponse(BaseModel):
10
+ """
11
+ This is a single line in the response `.jsonl` file and does not represent the response as a whole.
12
+ """
13
+
14
+ custom_id: str
15
+ """Developer-provided ID created for each request in a Message Batch.
16
+
17
+ Useful for matching results to requests, as results may be given out of request
18
+ order.
19
+
20
+ Must be unique for each request within the Message Batch.
21
+ """
22
+
23
+ result: BetaMessageBatchResult
24
+ """Processing result for this request.
25
+
26
+ Contains a Message output if processing was successful, an error response if
27
+ processing failed, or the reason why processing was not attempted, such as
28
+ cancellation or expiration.
29
+ """
data/miniconda3/envs/catiagent/lib/python3.11/site-packages/anthropic/types/beta/messages/beta_message_batch_request_counts.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from ...._models import BaseModel
4
+
5
+ __all__ = ["BetaMessageBatchRequestCounts"]
6
+
7
+
8
+ class BetaMessageBatchRequestCounts(BaseModel):
9
+ canceled: int
10
+ """Number of requests in the Message Batch that have been canceled.
11
+
12
+ This is zero until processing of the entire Message Batch has ended.
13
+ """
14
+
15
+ errored: int
16
+ """Number of requests in the Message Batch that encountered an error.
17
+
18
+ This is zero until processing of the entire Message Batch has ended.
19
+ """
20
+
21
+ expired: int
22
+ """Number of requests in the Message Batch that have expired.
23
+
24
+ This is zero until processing of the entire Message Batch has ended.
25
+ """
26
+
27
+ processing: int
28
+ """Number of requests in the Message Batch that are processing."""
29
+
30
+ succeeded: int
31
+ """Number of requests in the Message Batch that have completed successfully.
32
+
33
+ This is zero until processing of the entire Message Batch has ended.
34
+ """