ref(core)!: Stop setting deprecated gen_ai.tool.type span attribute - #22824
Open
nicohrubec wants to merge 1 commit into
Open
ref(core)!: Stop setting deprecated gen_ai.tool.type span attribute#22824nicohrubec wants to merge 1 commit into
gen_ai.tool.type span attribute#22824nicohrubec wants to merge 1 commit into
Conversation
nicohrubec
marked this pull request as ready for review
July 29, 2026 12:57
nicohrubec
requested review from
andreiborza,
isaacs and
mydea
and removed request for
a team
July 29, 2026 12:57
Contributor
size-limit report 📦
|
andreiborza
approved these changes
Jul 29, 2026
nicohrubec
force-pushed
the
ref/genai-remove-tool-type
branch
from
July 29, 2026 14:02
c47158b to
7931ff0
Compare
`@sentry/conventions` deprecated `gen_ai.tool.type` with no replacement
("should no longer be set"). The SDK only ever emitted the constant value
`'function'` on tool spans, carrying no information, so stop setting it in the
LangGraph and Vercel AI integrations.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
nicohrubec
force-pushed
the
ref/genai-remove-tool-type
branch
from
July 30, 2026 05:15
7931ff0 to
a28a549
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stops setting the
gen_ai.tool.typespan attribute, which@sentry/conventionsdeprecated with no replacement. The SDK only ever set the constant value'function'on tool spans, so it carried no information.Part of #22482