langchain-core 1.6.3リリースlangchain-core==1.6.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-core 1.6.3は、ゲートウェイ応答によるトレース用のモデル名とプロバイダー情報の上書きに対応し、非推奨の.text()参照経路のテストも追加した。
- ゲートウェイ利用者は観測情報をより正確に扱える。
langchain-core 1.6.3 lets gateway responses override model and provider tracing metadata, and tests deprecated .text() access, giving gateway users more accurate observability.
本ページの本文と要約は 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.6.3の要点
langchain-core 1.6.3が2026年9月11日にリリースされた。中心となる変更は、ゲートウェイ応答に基づいてトレース用のモデル名とプロバイダー情報を上書きできるようにした点で、ゲートウェイ利用者が観測情報をより正確に扱えるとされる。
ゲートウェイ応答
今回の機能追加では、ゲートウェイから返された応答を使い、モデル名とプロバイダーに関するトレース用メタデータを上書きできる。ここで対象となるのはモデルそのものの設定ではなく、トレースで扱われるモデル名とプロバイダー情報だ。ゲートウェイ応答の内容を観測情報へ反映できるため、記録される情報を応答に沿った形で扱える。
.text()のテスト
非推奨となっている.text()の参照経路を対象にしたテストも追加された。この変更は、非推奨の経路を新たに推奨するものではなく、そのアクセス経路をテストでカバーするものだ。リリース内容には、機能追加だけでなく、既存の非推奨経路に対する検証の追加も含まれている。
文書の整理
文書面では、FileCallbackHandler._writeとChatGeneration.set_textから、古くなったArgsおよびRaisesの記載が削除された。langchain-core 1.6.3は、ゲートウェイ応答を用いたトレース用メタデータの上書き、.text()参照経路のテスト追加、対象箇所の文書整理を含む更新となっている。
langchain-core 1.6.3
langchain-core 1.6.3 was released on September 11, 2026. The release matters particularly for gateway users because it allows tracing metadata to reflect model and provider information supplied by a gateway response, supporting more accurate observability.
The release commit was created on GitHub.com and signed with GitHub’s verified signature. The listed changes cover the release update itself, a tracing metadata feature, additional test coverage, and documentation cleanup.
Gateway response override
The main feature allows the model name and provider tracing metadata to be overridden based on the gateway response. This means the model and provider information returned through the gateway can replace the corresponding tracing metadata.
For gateway users, the change provides a way to handle observability information more accurately. Rather than limiting tracing to the existing model name and provider metadata, langchain-core can use the values supplied in the gateway response when applying the override.
Deprecated .text() access
The release also adds test coverage for the deprecated .text() access path. This change is specifically a test update: it covers continued access through that deprecated path without presenting it as a new interface.
The release information does not describe any replacement for .text() or any change to its deprecated status. The stated change is limited to covering that access path in the core tests.
Documentation changes
Documentation was cleaned up by removing stale Args and Raises entries from FileCallbackHandler._write and ChatGeneration.set_text. These edits remove documentation entries identified as outdated for those two locations.
Together, the listed changes make 1.6.3 a focused core release. Its principal functional addition is the gateway-response override for model and provider tracing metadata, while the remaining work strengthens coverage of the deprecated .text() path and removes stale documentation entries.
ポコと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.
- ポコPokoゲートウェイを使う仕事だと、普段の記録の何が変わるの?If I use a gateway at work, what changes in the records I normally see?
- TECHガイドTECH Guideトレースに残るモデル名とプロバイダー情報を、ゲートウェイの応答に合わせて上書きできるよ。観測情報をより正確に扱えるんだ。The model name and provider in tracing metadata can now be overridden using the gateway response, making observability data more accurate.
- ポコPoko前は、ゲートウェイの返事に合わせて直せなかったの?Couldn’t the tracing details follow the gateway response before?
- TECHガイドTECH Guide1.6.2からの変更点として、その上書き対応が追加されたと示されているよ。以前の細かな動作までは書かれていないんだ。The release lists this override support as a change from 1.6.2. It doesn’t describe the earlier behavior in more detail.
- ポコPokoいちばんの収穫は、ゲートウェイ利用時のモデル名や提供元を、トレースでより正確に見られることなんだね。So the main gain is more accurate model and provider details in traces when using a gateway.
- TECHガイドTECH Guideそうだね。あわせて、非推奨の.text()参照経路にテストが追加された点も確認しておきたいね。Yes. It’s also worth noting that tests were added for the deprecated .text() access path.