非公式・AI自動要約ニュースサイト(Anthropic公式とは無関係)
Claude News JP / www.claude-news.online
📰 ニュース Anthropic ⚪ 軽微 LLMコーディング · 出典: SDK (anthropic-sdk-python)

dream creation の memory 制御が可能に。AWS ユーザーには SigV4 最適化も恩恵あり

Anthropic Python SDK v0.122.0 リリース—メモリ機能とバグ修正

原題: anthropics/anthropic-sdk-python: v0.122.0

重要度の根拠: マイナーバージョンアップで小規模な機能追加とバグ修正。既存ユーザーへの破壊的変更なし。

要約

Anthropic の Python SDK が v0.122.0 にアップデートされました。新機能として、メモリ作成時の出力動作を制御できる output_behavior パラメータが追加されました。また、AWS Bedrock の非同期クライアント SigV4 署名処理の改善、ストリーミング時のメッセージ蓄積ロジック修正、ツールパス内のシンボリックリンクループ対策など、複数の機能強化とバグ修正が含まれています。

要点

  • dream creation に output_behavior パラメータ追加
  • Bedrock 非同期クライアント SigV4 署名の最適化
  • ストリーミング時のメッセージ蓄積ロジック修正
  • Bedrock・Vertex AI で beta API の公開度向上
  • ツールパス内のシンボリックリンクループ対策
開発者向け技術解説(API・実装詳細・破壊的変更)を見る

SDK v0.122.0 では dream creation API に output_behavior が追加され、メモリストア新規作成 vs 入力ストア上書きを制御可能に。Bedrock 非同期クライアントで SigV4 署名をイベントループ外で実行し性能向上。ストリーミング時のメッセージ蓄積で message_delta フィールドを完全適用(#380)、omitted content block フィールドは unset 保持(#346)。beta.messages.parse / tool_runner を Bedrock・Vertex AI で公開。PathLike ファイルタプル対応、ANTHROPIC_API_KEY 空文字列を未設定扱い(#341)。

本文の日本語訳(全文)を見る

## 0.122.0(2026年8月13日)

完全なチェンジログ: [v0.121.0...v0.122.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.121.0...v0.122.0)

### 新機能

* **api:** dream 作成に output_behavior を追加(新しいメモリストアを作成するか、入力ストアをその場で更新するか)([852c4bb](https://github.com/anthropics/anthropic-sdk-python/commit/852c4bbe4a3a425a8780e89ea6c3cae54836e8bb))

### バグ修正

* **bedrock,aws:** 非同期クライアント内で SigV4 署名をイベントループ外で実行 ([#334](https://github.com/anthropics/anthropic-sdk-python/issues/334)) ([2bae6c8](https://github.com/anthropics/anthropic-sdk-python/commit/2bae6c8cb86f693f4e1e3dd13bb64e03b01fe720))

* **bedrock:** beta.messages.parse、stream および tool_runner を公開 ([#366](https://github.com/anthropics/anthropic-sdk-python/issues/366)) ([6eca7bb](https://github.com/anthropics/anthropic-sdk-python/commit/6eca7bb19f968856b5652d5471e3ca9fc3fe8641))

* **client:** モデルを追加 ([52e9d94](https://github.com/anthropics/anthropic-sdk-python/commit/52e9d9453a46a281846f9860e742bfc938bafebc))

* **client:** copy() 全体でクライアントごとにトークン交換をバインド ([#388](https://github.com/anthropics/anthropic-sdk-python/issues/388)) ([c13e6e3](https://github.com/anthropics/anthropic-sdk-python/commit/c13e6e30b75d73b9af51468ae0deae6e6aca1ba0))

* **client:** ファイルタプル内で渡される PathLike コンテンツを読み込み ([070f953](https://github.com/anthropics/anthropic-sdk-python/commit/070f95332daea9dc3ed19fe91251d6e5285e5560))

* **client:** 空の ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN を未設定扱い ([#341](https://github.com/anthropics/anthropic-sdk-python/issues/341)) ([76a2e68](https://github.com/anthropics/anthropic-sdk-python/commit/76a2e68531d50c9043a5ac58919527287e56a842))

* **streaming:** 非ベータアキュムレータでホール形成されたツール入力 JSON エラーにコンテキストを追加 ([#339](https://github.com/anthropics/anthropic-sdk-python/issues/339)) ([a343e17](https://github.com/anthropics/anthropic-sdk-python/commit/a343e17b7bc970f656fa02a980b0baa2bf8c3b80))

* **streaming:** ストリーミングメッセージを蓄積する際に全ての message_delta フィールドを適用 ([#380](https://github.com/anthropics/anthropic-sdk-python/issues/380)) ([fc1599b](https://github.com/anthropics/anthropic-sdk-python/commit/fc1599bd4c25ad5550d55f8f1c8f5c5664e19ed1))

* **streaming:** サーバーツール使用ブロックの input_json イベントを発行 ([#336](https://github.com/anthropics/anthropic-sdk-python/issues/336)) ([ccfc8e1](https://github.com/anthropics/anthropic-sdk-python/commit/ccfc8e140e8e6b824e74c8fd9bed2587e60c5b6f))

* **streaming:** 蓄積されたメッセージで省略されたコンテンツブロックフィールドを未設定のまま保持 ([#346](https://github.com/anthropics/anthropic-sdk-python/issues/346)) ([cd40aab](https://github.com/anthropics/anthropic-sdk-python/commit/cd40aab995181aa44e9fbdb7b6ce1fa82357c18b))

* **streaming:** messages.stream() でリクエスト変換を 1 回のみ実行 ([#347](https://github.com/anthropics/anthropic-sdk-python/issues/347)) ([81a92da](https://github.com/anthropics/anthropic-sdk-python/commit/81a92dafa2efd87c850950d7d84af727d01c2e47))

* **streaming:** message_stop イベントの pydantic シリアライザー警告をサイレント化 ([#338](https://github.com/anthropics/anthropic-sdk-python/issues/338)) ([41f9cdc](https://github.com/anthropics/anthropic-sdk-python/commit/41f9cdcac36d4c6a3d9d2c8becaa632c75a44054))

* **tools:** ツールパスのシンボリックリンクループを拒否し、特殊スキルアーカイブメンバーをスキップ ([#322](https://github.com/anthropics/anthropic-sdk-python/issues/322)) ([43e8669](https://github.com/anthropics/anthropic-sdk-python/commit/43e8669d066a1d18ffdbff505fc99ac45aa7492e))

* **vertex:** beta.messages.parse および tool_runner を公開 ([#367](https://github.com/anthropics/anthropic-sdk-python/issues/367)) ([96723a0](https://github.com/anthropics/anthropic-sdk-python/commit/96723a000b6179f0bee51a0b5aa0129e360dc323))

### その他

* **ci:** breaking-change 検出を CI.yml ジョブとしてすべてのプッシュで実行 ([6dfd16e](https://github.com/anthropics/anthropic-sdk-python/commit/6dfd16ea7a650dc65253c72264cbcb14))

API/SDK対象: 開発者

出典: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.122.0

媒体: SDK (anthropic-sdk-python)

※本記事は Anthropic / Claude 関連の公開情報を基に AI (OpenAI GPT-4o-mini) が日本語で要約・分類した二次的著作物です。著作権法第32条の引用要件に基づき出典 URL を必ず併記しています。要約は AI 生成のため誤訳・誤解釈を含む可能性があります。詳細・正確な情報は必ず出典元の原文をご確認ください。