Upgrading anthropic 0.6 to 0.7
Review needed0.6.0 → 0.7.8New1Changed2Fixed9Other22
Review neededUpgrade verdict
2 changed defaults.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Adds sniffio.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
async method AsyncCompletions.create(*, max_tokens_to_sample: int, model: Union[str, Literal['claude-2', 'claude-instant-1']], prompt: str, metadata: completion_create_params.Metadata | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGiven=…, top_p: float | NotGiven=…, extra_headers: Headers | None=…, extra_… → async method AsyncCompletions.create(*, max_tokens_to_sample: int, model: Union[str, Literal['claude-2.1', 'claude-instant-1']], prompt: str, metadata: completion_create_params.Metadata | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGiven=…, top_p: float | NotGiven=…, extra_headers: Headers | None=…, extr… - changed:
method Completions.create(*, max_tokens_to_sample: int, model: Union[str, Literal['claude-2', 'claude-instant-1']], prompt: str, metadata: completion_create_params.Metadata | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGiven=…, top_p: float | NotGiven=…, extra_headers: Headers | None=…, extra_query: Quer… → method Completions.create(*, max_tokens_to_sample: int, model: Union[str, Literal['claude-2.1', 'claude-instant-1']], prompt: str, metadata: completion_create_params.Metadata | NotGiven=…, stop_sequences: List[str] | NotGiven=…, stream: Literal[False] | NotGiven=…, temperature: float | NotGiven=…, top_k: int | NotGiven=…, top_p: float | NotGiven=…, extra_headers: Headers | None=…, extra_query: Qu…
- changed:
field CompletionCreateParamsBase.model: Required[Union[str, Literal['claude-2', 'claude-instant-1']]] → field CompletionCreateParamsBase.model: Required[Union[str, Literal['claude-2.1', 'claude-instant-1']]]