langchain-anthropic 1.7.3 リリースlangchain-anthropic==1.7.3
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- langchain-anthropic 1.7.3は、FableとOpus 5.5の構造化出力をjson_schemaへ自動振り分けし、会話途中のSystemMessageをその位置で送信可能にした。
- モデル情報や文書、anyioも更新され、Anthropic連携の利用者に役立つ。
langchain-anthropic 1.7.3 auto-routes structured output to json_schema for Fable and Opus 5.5 and preserves mid-chat SystemMessages, helping Anthropic users adopt both reliably.
本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (github.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (github.com).
要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.
1.7.3の変更
langchain-anthropic 1.7.3では、FableとOpus 5.5の構造化出力に関する自動振り分けと、会話途中のSystemMessageの送信方法が更新された。モデルプロファイル、文書、依存パッケージの更新も含まれ、Anthropic連携の利用者に関係するリリースとなっている。
構造化出力
FableとOpus 5.5でwith_structured_outputを利用する際、method="json_schema"へ自動的に振り分ける修正が加えられた。構造化出力に対してjson_schemaを使う処理が自動ルーティングの対象となる。あわせて、Opus 5.5向けの文書も更新されている。
SystemMessage
会話途中に置かれたSystemMessageを、その位置のまま送信できる機能が追加された。会話の先頭だけでなく、途中に存在するSystemMessageについても、配置された位置を保ってAnthropic側へ渡せるようになったことが今回の変更点である。
モデル情報とanyio
Anthropicのモデルプロファイルデータが更新されたほか、libs/partners/anthropic内の依存パッケージanyioが4.11.0から4.14.2へ引き上げられた。今回の1.7.3は、これらの更新と機能追加、修正を1.7.2以降の変更としてまとめている。
langchain-anthropic 1.7.3
langchain-anthropic 1.7.3 updates structured-output routing and the handling of SystemMessage entries during a conversation. These changes help Anthropic users adopt Fable and Opus 5.5 reliably while preserving messages that appear in the middle of a chat.
The release contains changes made since langchain-anthropic 1.7.2. Alongside the two behavior changes, it refreshes model profile data, updates documentation, and changes a dependency version.
Structured output
For Fable and Opus 5.5, with_structured_output now automatically routes to method="json_schema". This fix makes json_schema the selected method for structured output with those models, rather than requiring that routing to be handled separately.
The structured-output change is listed as fix #40766. It specifically applies to Fable and Opus 5.5.
Mid-conversation SystemMessage
The release adds support for sending mid-conversation SystemMessage entries in place. A SystemMessage that occurs during a conversation can therefore remain at that position when it is sent, preserving its placement within the chat.
This capability is included as feature #40622. Together with the structured-output routing fix, it forms one of the release’s main functional changes for Anthropic integration users.
Model profiles and dependencies
The package refreshes Anthropic model profile data under change #40772 and updates the documentation for Opus 5.5 under change #40765.
It also bumps anyio from 4.11.0 to 4.14.2 in /libs/partners/anthropic. The dependency update is recorded as change #40643, while the 1.7.3 release entry is identified as #40773.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPokoAnthropic連携で、会話の途中に指示を入れたり、決まった形のJSONを受け取る仕事はどう変わるの?How does this change workflows that add instructions mid-chat or need JSON in a set format through Anthropic?
- TECHガイドTECH Guide途中のSystemMessageをその位置で送れます。FableとOpus 5.5では、構造化出力がjson_schemaへ自動で振り分けられます。Mid-chat SystemMessages can now be sent in place. For Fable and Opus 5.5, structured output is automatically routed to json_schema.
- ポコPoko前の1.7.2では、どちらもできなかったってこと?So were both unavailable in version 1.7.2?
- TECHガイドTECH Guideそこまでは断定できないよ。1.7.2からの変更点として、自動振り分けの修正と途中のSystemMessage送信が挙げられています。We can’t say that definitively. The listed changes from 1.7.2 are a routing fix and support for sending SystemMessages mid-conversation.
- ポコPokoなるほど。出力形式と会話途中の指示を、より意図どおり扱いやすくした更新なんだね。Got it. The main gain is more reliable handling of output formats and instructions added during a conversation.
- TECHガイドTECH Guideそう読めるね。あわせて更新されたモデル情報、Opus 5.5の文書、anyioも確認しておきたいところです。That’s a fair takeaway. It’s also worth checking the refreshed model data, updated Opus 5.5 documentation, and the anyio dependency update.