ProductsMulti-source79°

LangChain OSS新版发布:支持OpenAI 3.0 SDK与Gemini 3.7 Flash

Why we picked it

LangChain出新版了,接上了OpenAI 3.0 SDK,还支持Gemini 3.7 Flash,修了一堆工具调用的坑,用起来更稳。

LangChain OSS发布新版本,新增对OpenAI 3.0 SDK(基于httpx2)的支持,并兼容gemini-3.

Body

7-flash。工具调用和结构化输出功能得到增强,错误提示更清晰,且验证时尊重pydantic别名。

流式处理时token用量回调错误及OpenRouter成本元数据问题已修复。针对异常Anthropic内容块增加了防护,同时保留提示词模板中的非字符串与非字典项。

Original · Harrison Chase

new langchain oss release! LangChain OSS @LangChain_OSS What's new in LangChain? 🚀 🔌 Support for OpenAI's 3.0 SDK (using httpx2) ✨ Support for gemini-3.7-flash Plus a wave of core reliability fixes from external contributors: 🛠️ Tool calling & structured output: clearer errors, respect for pydantic aliases when validating tool input github.com/RinZ27 AU github.com/kinch-tech v7 github.com/charan16 0Ik) 📊 Usage metadata fixes: token usage callback bugs, and cost metadata when streaming OpenRout github.com/Solaris-star XW github.com/iroiro147 obGj) 🧱 Content & prompt hardening: guard malformed Anthropic content blocks, and preserve non-str/non-dict items in prompt templates for content blo github.com/Oxygen56 sB github.com/zerafachris 4DmxC) Huge thanks to everyone who contributed! 🙏 🔗 View Quoted Tweet📊 2 ⚡

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include LangChain, OpenAI, Gemini, tool use.

Source attribution: curated from Harrison Chase (@hwchase17). Cross-source corroboration: 11 independent sources have covered this development (including OpenRouter, Gary Marcus, IT之家), confirming industry-wide signal strength.