Skip to content

ref(pydantic-ai): Stop setting gen_ai.request.available_tools on Invoke Agent spans - #7520

Merged
alexander-alderman-webb merged 1 commit into
major/3.0from
webb/pydantic-ai/remove-gen-ai-tool-definitions
Sep 23, 2026
Merged

alexander-alderman-webb merged 1 commit into
major/3.0from
webb/pydantic-ai/remove-gen-ai-tool-definitions

Conversation

@alexander-alderman-webb

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

Copy link
Copy Markdown
Contributor

Codecov Results 📊

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

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -68644
Passed Tests 📉 -64521
Failed Tests
Skipped Tests 📉 -4123

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2068 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
@alexander-alderman-webb
alexander-alderman-webb merged commit 6bf5f58 into major/3.0 Sep 23, 2026
149 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/pydantic-ai/remove-gen-ai-tool-definitions branch September 23, 2026 09:06
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.

2 participants