Skip to content

ref(langchain): Stop setting gen_ai.tool.definitions on Invoke Agent spans - #7517

Open
alexander-alderman-webb wants to merge 3 commits into
major/3.0from
webb/langchain/remove-gen-ai-tool.definitions
Open

alexander-alderman-webb wants to merge 3 commits into
major/3.0from
webb/langchain/remove-gen-ai-tool.definitions

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Description

Remove the available tools from Invoke Agent spans because it is ambiguous for an agent that makes multiple model calls in the course of its execution. Each model call can have different available tools.

Issues

Reminders

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

66063 passed | ⏭️ 2999 skipped | Total: 69062 | Pass Rate: 95.66% | Execution Time: 186m 24s

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2071 uncovered lines.


Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 15, 2026 15:05
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 15, 2026 15:05

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f47fc82. Configure here.

Comment thread sentry_sdk/integrations/langchain.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant