Skip to content

feat(pydantic-ai): Add tool description to execute_tool spans #1426

feat(pydantic-ai): Add tool description to execute_tool spans

feat(pydantic-ai): Add tool description to execute_tool spans #1426

Triggered via pull request March 6, 2026 16:48
@ericapisaniericapisani
synchronize #5596
Status Success
Total duration 34s
Artifacts

changelog-preview.yml

on: pull_request_target
changelog-preview  /  preview
14s
changelog-preview / preview
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Removing execute_tool_span import causes NameError in test: tests/integrations/pydantic_ai/test_pydantic_ai.py#L2480
The diff removes `execute_tool_span` from the import statement, but the function is still used at line 2492 in this test. This will cause a `NameError: name 'execute_tool_span' is not defined` when the test runs, making the test fail.
Removed import causes NameError: execute_tool_span is not defined: tests/integrations/pydantic_ai/test_pydantic_ai.py#L2362
The `execute_tool_span` import was removed from the import statement, but the function is still used at line 2374 (`with execute_tool_span("test_tool", ...)`). This will cause a `NameError` at runtime, making the test fail.
[MJV-94P] Removed import causes NameError: execute_tool_span is not defined (additional location): tests/integrations/pydantic_ai/test_pydantic_ai.py#L2387
The `execute_tool_span` import was removed from the import statement, but the function is still used at line 2374 (`with execute_tool_span("test_tool", ...)`). This will cause a `NameError` at runtime, making the test fail.
[MJV-94P] Removed import causes NameError: execute_tool_span is not defined (additional location): tests/integrations/pydantic_ai/test_pydantic_ai.py#L2411
The `execute_tool_span` import was removed from the import statement, but the function is still used at line 2374 (`with execute_tool_span("test_tool", ...)`). This will cause a `NameError` at runtime, making the test fail.
[MJV-94P] Removed import causes NameError: execute_tool_span is not defined (additional location): tests/integrations/pydantic_ai/test_pydantic_ai.py#L2436
The `execute_tool_span` import was removed from the import statement, but the function is still used at line 2374 (`with execute_tool_span("test_tool", ...)`). This will cause a `NameError` at runtime, making the test fail.