검색
← 릴리스 노트

Python SDK와 도구 지원의 주요 전환

클로드 · 중단/제거 · 2026.08.20

Python SDK v1.0 전환과 함께 일부 API가 제거되고 도구 지원이 확대되었습니다.

교안에 영향

예전 Python SDK 안내 글의 Text Completions API, Messages의 temperature/top_p/top_k, compaction_control, .with_raw_response 사용법, AnthropicBedrock 기본 리전 안내가 맞지 않음

요약

- Python SDK v1.0이 출시되어 HTTP 레이어가 httpx에서 httpx2로 이동했습니다. - custom http_client, Timeout, transport 객체는 httpx2 기반으로 생성해야 하며, 추적·모킹 라이브러리를 쓰면 시작 시 httpx2.alias_httpx() 호출이 필요합니다. - v1.0은 Python 3.10 이상을 요구하고, legacy Text Completions API와 Messages의 temperature·top_p·top_k, tool runner의 client-side compaction_control을 제거했습니다. - async client의 .with_raw_response는 이제 response.parse()를 await해야 하며, AnthropicBedrock은 AWS region 미설정 시 us-east-1로 자동 대체하지 않고 오류를 냅니다. - computer_toolset_20260801과 browser_toolset_20260801이 Google Cloud에서도 Claude Fable 5, Claude Mythos 5, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8에 제공됩니다.

바뀐 것

새 기능 2

  • Python SDK v1.0이 출시되어 HTTP 레이어가 httpx에서 httpx2로 이동했습니다.
  • computer_toolset_20260801과 browser_toolset_20260801이 Google Cloud에서도 Claude Fable 5, Claude Mythos 5, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8에 제공됩니다.

개선 1

  • custom http_client, Timeout, transport 객체는 httpx2 기반으로 생성해야 하며, 추적·모킹 라이브러리를 쓰면 시작 시 httpx2.alias_httpx() 호출이 필요합니다.

기타 1

  • v1.0은 Python 3.10 이상을 요구하고, legacy Text Completions API와 Messages의 temperature·top_p·top_k, tool runner의 client-side compaction_control을 제거했습니다.

수정 1

  • async client의 .with_raw_response는 이제 response.parse()를 await해야 하며, AnthropicBedrock은 AWS region 미설정 시 us-east-1로 자동 대체하지 않고 오류를 냅니다.

원문 제목 · Claude Platform release notes — August 20, 2026