@ai-sdk/otel
1.0.178 · 20 Nov 2026Apache-2.03.9M / weekRepositoryHomepagenpmAtom feed
1.0.178 is the newest release of 1.x.
In short
2 fixed1 internal
Release note
Patch Changes
otel: Record
gen_ai.output.messagesparts in the order the model produced themOutput messages previously grouped parts by type (reasoning, then all text joined into one part, then tool calls), so they did not match the same assistant message in the next step's
gen_ai.input.messages. Output parts now follow the content order, text blocks are no longer merged, and file, reasoning file, custom, tool error, and tool approval parts are emitted on both the output and input side. The root span records the content of all steps in order, including text from earlier steps. AddsformatOutputContentand deprecatesformatOutputMessages.otel: Redact Google MCP server credentials in tool definitions
Plain
google.mcp_servertool definitions do not carry a provider-owned
telemetry redaction annotation, for example when they are built by hand or come
from an older@ai-sdk/googleversion. Both OTel integrations now redact everygoogle.mcp_serverheader value in telemetry-only copies, so MCP connector
credentials no longer reachai.prompt.toolsorgen_ai.tool.definitions.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.