Skip to content

Upgrading anthropic 0.67 to 0.68

Review needed0.67.0 → 0.68.2New1Changed1Fixed1Other7

Review neededUpgrade verdict

1 changed default.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Adds docstring-parser <1,>=0.15.

Installs 15 packages in all (was 14).

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export beta_async_tool
  • added: export beta_tool
  • added: export not_given
  • added: export omit
  • added: export BetaAsyncFunctionTool
  • added: export BetaAsyncStreamingToolRunner
  • added: export BetaAsyncToolRunner
  • added: export BetaFunctionTool
  • added: export BetaFunctionToolResultType
  • added: export BetaStreamingToolRunner
  • added: export BetaToolRunner
  • added: export beta_async_tool
  • added: export beta_tool
  • changed: async method AsyncFiles.delete(file_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> DeletedFile → async method AsyncFiles.delete(file_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> DeletedFile
  • changed: async method AsyncFiles.download(file_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncBinaryAPIResponse → async method AsyncFiles.download(file_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncBinaryAPIResponse
  • changed: async method AsyncFiles.retrieve_metadata(file_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata → async method AsyncFiles.retrieve_metadata(file_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata
  • changed: async method AsyncFiles.upload(*, file: FileTypes, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata → async method AsyncFiles.upload(*, file: FileTypes, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata
  • changed: method AsyncFiles.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[FileMetadata, AsyncPage[FileMetadata]] → method AsyncFiles.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[FileMetadata, AsyncPage[FileMetadata]]
  • changed: method Files.delete(file_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> DeletedFile → method Files.delete(file_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> DeletedFile
  • changed: method Files.download(file_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BinaryAPIResponse → method Files.download(file_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BinaryAPIResponse
  • changed: method Files.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[FileMetadata] → method Files.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[FileMetadata]
  • changed: method Files.retrieve_metadata(file_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata → method Files.retrieve_metadata(file_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata
  • changed: method Files.upload(*, file: FileTypes, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata → method Files.upload(*, file: FileTypes, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> FileMetadata
  • changed: async method AsyncBatches.cancel(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → async method AsyncBatches.cancel(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch
  • changed: async method AsyncBatches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → async method AsyncBatches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch
  • changed: async method AsyncBatches.delete(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaDeletedMessageBatch → async method AsyncBatches.delete(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaDeletedMessageBatch
  • changed: async method AsyncBatches.results(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncJSONLDecoder[BetaMessageBatchIndividualResponse] → async method AsyncBatches.results(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncJSONLDecoder[BetaMessageBatchIndividualResponse]
  • changed: async method AsyncBatches.retrieve(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → async method AsyncBatches.retrieve(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch
  • changed: method AsyncBatches.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[BetaMessageBatch, AsyncPage[BetaMessageBatch]] → method AsyncBatches.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[BetaMessageBatch, AsyncPage[BetaMessageBatch]]
  • changed: method Batches.cancel(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → method Batches.cancel(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch
  • changed: method Batches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → method Batches.create(*, requests: Iterable[batch_create_params.Request], betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch
  • changed: method Batches.delete(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaDeletedMessageBatch → method Batches.delete(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaDeletedMessageBatch
  • changed: method Batches.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[BetaMessageBatch] → method Batches.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[BetaMessageBatch]
  • changed: method Batches.results(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> JSONLDecoder[BetaMessageBatchIndividualResponse] → method Batches.results(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> JSONLDecoder[BetaMessageBatchIndividualResponse]
  • changed: method Batches.retrieve(message_batch_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch → method Batches.retrieve(message_batch_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaMessageBatch
  • changed: async method AsyncMessages.count_tokens(*, messages: Iterable[BetaMessageParam], model: ModelParam, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | NotGiven=…, system: Union[str, Iterable[BetaTextBlockParam]] | NotGiven=…, thinking: BetaThinkingConfigParam | NotGiven=…, tool_choice: BetaToolChoiceParam | NotGiven=…, tools: Iterable[message_count_tokens_params.Tool] | NotGiven=…, b… → async method AsyncMessages.count_tokens(*, messages: Iterable[BetaMessageParam], model: ModelParam, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, system: Union[str, Iterable[BetaTextBlockParam]] | Omit=…, thinking: BetaThinkingConfigParam | Omit=…, tool_choice: BetaToolChoiceParam | Omit=…, tools: Iterable[message_count_tokens_params.Tool] | Omit=…, betas: List[Anthropic…
  • changed: async method AsyncMessages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, container: Optional[str] | NotGiven=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | NotGiven=…, metadata: BetaMetadataParam | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, stream: Literal[Fals… → async method AsyncMessages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, container: Optional[str] | Omit=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, metadata: BetaMetadataParam | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, stream: Literal[False] | Omit=…, system:…
  • changed: method AsyncMessages.stream(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, metadata: BetaMetadataParam | NotGiven=…, container: Optional[str] | NotGiven=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, system: Union[str, Iterabl… → method AsyncMessages.stream(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, metadata: BetaMetadataParam | Omit=…, container: Optional[str] | Omit=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, system: Union[str, Iterable[BetaTextBlockParam…
  • changed: method Messages.count_tokens(*, messages: Iterable[BetaMessageParam], model: ModelParam, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | NotGiven=…, system: Union[str, Iterable[BetaTextBlockParam]] | NotGiven=…, thinking: BetaThinkingConfigParam | NotGiven=…, tool_choice: BetaToolChoiceParam | NotGiven=…, tools: Iterable[message_count_tokens_params.Tool] | NotGiven=…, betas: List[… → method Messages.count_tokens(*, messages: Iterable[BetaMessageParam], model: ModelParam, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, system: Union[str, Iterable[BetaTextBlockParam]] | Omit=…, thinking: BetaThinkingConfigParam | Omit=…, tool_choice: BetaToolChoiceParam | Omit=…, tools: Iterable[message_count_tokens_params.Tool] | Omit=…, betas: List[AnthropicBetaParam]…
  • changed: method Messages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, container: Optional[str] | NotGiven=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | NotGiven=…, metadata: BetaMetadataParam | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, stream: Literal[False] | NotGiv… → method Messages.create(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, container: Optional[str] | Omit=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, metadata: BetaMetadataParam | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, stream: Literal[False] | Omit=…, system: Union[str,…
  • changed: method Messages.stream(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, container: Optional[str] | NotGiven=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | NotGiven=…, metadata: BetaMetadataParam | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, system: Union[str, Iterable[Bet… → method Messages.stream(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, container: Optional[str] | Omit=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, metadata: BetaMetadataParam | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, system: Union[str, Iterable[BetaTextBlockParam]] |…
  • added: method AsyncMessages.tool_runner(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, tools: Iterable[BetaAsyncFunctionTool[Any]], max_iterations: int | Omit=…, container: Optional[str] | Omit=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, metadata: BetaMetadataParam | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequenc…
  • added: method Messages.tool_runner(*, max_tokens: int, messages: Iterable[BetaMessageParam], model: ModelParam, tools: Iterable[BetaFunctionTool[Any]], max_iterations: int | Omit=…, container: Optional[str] | Omit=…, mcp_servers: Iterable[BetaRequestMCPServerURLDefinitionParam] | Omit=…, metadata: BetaMetadataParam | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: Sequen…
  • changed: async method AsyncModels.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaModelInfo → async method AsyncModels.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaModelInfo
  • changed: method AsyncModels.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[BetaModelInfo, AsyncPage[BetaModelInfo]] → method AsyncModels.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[BetaModelInfo, AsyncPage[BetaModelInfo]]
  • changed: method Models.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[BetaModelInfo] → method Models.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[BetaModelInfo]
  • changed: method Models.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaModelInfo → method Models.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> BetaModelInfo
  • changed: async method AsyncCompletions.create(*, max_tokens_to_sample: int, model: ModelParam, prompt: str, metadata: MetadataParam | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGiven=…, top_p: float | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query… → async method AsyncCompletions.create(*, max_tokens_to_sample: int, model: ModelParam, prompt: str, metadata: MetadataParam | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, stream: Literal[False] | Omit=…, temperature: float | Omit=…, top_k: int | Omit=…, top_p: float | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body…
  • changed: method Completions.create(*, max_tokens_to_sample: int, model: ModelParam, prompt: str, metadata: MetadataParam | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGiven=…, top_p: float | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | N… → method Completions.create(*, max_tokens_to_sample: int, model: ModelParam, prompt: str, metadata: MetadataParam | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, stream: Literal[False] | Omit=…, temperature: float | Omit=…, top_k: int | Omit=…, top_p: float | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | No…
  • changed: method AsyncBatches.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[MessageBatch, AsyncPage[MessageBatch]] → method AsyncBatches.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[MessageBatch, AsyncPage[MessageBatch]]
  • changed: method Batches.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[MessageBatch] → method Batches.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[MessageBatch]
  • changed: async method AsyncMessages.count_tokens(*, messages: Iterable[MessageParam], model: ModelParam, system: Union[str, Iterable[TextBlockParam]] | NotGiven=…, thinking: ThinkingConfigParam | NotGiven=…, tool_choice: ToolChoiceParam | NotGiven=…, tools: Iterable[MessageCountTokensToolParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout:… → async method AsyncMessages.count_tokens(*, messages: Iterable[MessageParam], model: ModelParam, system: Union[str, Iterable[TextBlockParam]] | Omit=…, thinking: ThinkingConfigParam | Omit=…, tool_choice: ToolChoiceParam | Omit=…, tools: Iterable[MessageCountTokensToolParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Ti…
  • changed: async method AsyncMessages.create(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, system: Union[str, Iterable[TextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, thinking: Thin… → async method AsyncMessages.create(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, stream: Literal[False] | Omit=…, system: Union[str, Iterable[TextBlockParam]] | Omit=…, temperature: float | Omit=…, thinking: ThinkingConfigParam | Omit=……
  • changed: method AsyncMessages.stream(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | NotGiven=…, container: Optional[str] | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, system: Union[str, Iterable[TextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGi… → method AsyncMessages.stream(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | Omit=…, container: Optional[str] | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, system: Union[str, Iterable[TextBlockParam]] | Omit=…, temperature: float | Omit=…, top_k: int | Omit=…, top_p: float | Omit=……
  • changed: method Messages.count_tokens(*, messages: Iterable[MessageParam], model: ModelParam, system: Union[str, Iterable[TextBlockParam]] | NotGiven=…, thinking: ThinkingConfigParam | NotGiven=…, tool_choice: ToolChoiceParam | NotGiven=…, tools: Iterable[MessageCountTokensToolParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | htt… → method Messages.count_tokens(*, messages: Iterable[MessageParam], model: ModelParam, system: Union[str, Iterable[TextBlockParam]] | Omit=…, thinking: ThinkingConfigParam | Omit=…, tool_choice: ToolChoiceParam | Omit=…, tools: Iterable[MessageCountTokensToolParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | Non…
  • changed: method Messages.create(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, system: Union[str, Iterable[TextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, thinking: ThinkingConfigP… → method Messages.create(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, stream: Literal[False] | Omit=…, system: Union[str, Iterable[TextBlockParam]] | Omit=…, temperature: float | Omit=…, thinking: ThinkingConfigParam | Omit=…, tool_choi…
  • changed: method Messages.stream(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | NotGiven=…, container: Optional[str] | NotGiven=…, service_tier: Literal['auto', 'standard_only'] | NotGiven=…, stop_sequences: SequenceNotStr[str] | NotGiven=…, system: Union[str, Iterable[TextBlockParam]] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGiven=…… → method Messages.stream(*, max_tokens: int, messages: Iterable[MessageParam], model: ModelParam, metadata: MetadataParam | Omit=…, container: Optional[str] | Omit=…, service_tier: Literal['auto', 'standard_only'] | Omit=…, stop_sequences: SequenceNotStr[str] | Omit=…, system: Union[str, Iterable[TextBlockParam]] | Omit=…, temperature: float | Omit=…, top_k: int | Omit=…, top_p: float | Omit=…, thi…
  • changed: async method AsyncModels.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> ModelInfo → async method AsyncModels.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> ModelInfo
  • changed: method AsyncModels.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[ModelInfo, AsyncPage[ModelInfo]] → method AsyncModels.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> AsyncPaginator[ModelInfo, AsyncPage[ModelInfo]]
  • changed: method Models.list(*, after_id: str | NotGiven=…, before_id: str | NotGiven=…, limit: int | NotGiven=…, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[ModelInfo] → method Models.list(*, after_id: str | Omit=…, before_id: str | Omit=…, limit: int | Omit=…, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> SyncPage[ModelInfo]
  • changed: method Models.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | NotGiven=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> ModelInfo → method Models.retrieve(model_id: str, *, betas: List[AnthropicBetaParam] | Omit=…, extra_headers: Headers | None=…, extra_query: Query | None=…, extra_body: Body | None=…, timeout: float | httpx.Timeout | None | NotGiven=…) -> ModelInfo