feat(pydantic-ai): Add tool description to execute_tool spans #5596
+59
−3
GitHub Actions / warden: code-review
completed
Mar 6, 2026 in 2m 19s
1 issue
code-review: Found 1 issue (1 high)
High
NameError: execute_tool_span is used but no longer imported - `tests/integrations/pydantic_ai/test_pydantic_ai.py:2482-2483`
The import of execute_tool_span was removed from the import statement, but line 2493 still calls execute_tool_span("test_tool", {"arg": "value"}, None, "function"). This will cause a NameError: name 'execute_tool_span' is not defined at runtime when the test executes.
Duration: 2m 17s · Tokens: 624.7k in / 7.7k out · Cost: $1.03 (+extraction: $0.00, +fix_gate: $0.00)
Annotations
Check failure on line 2483 in tests/integrations/pydantic_ai/test_pydantic_ai.py
github-actions / warden: code-review
NameError: execute_tool_span is used but no longer imported
The import of `execute_tool_span` was removed from the import statement, but line 2493 still calls `execute_tool_span("test_tool", {"arg": "value"}, None, "function")`. This will cause a `NameError: name 'execute_tool_span' is not defined` at runtime when the test executes.
Loading