File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
tests/integrations/pydantic_ai Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1818from pydantic_ai .messages import BinaryContent , UserPromptPart
1919from pydantic_ai .usage import RequestUsage
2020from pydantic_ai .exceptions import ModelRetry , UnexpectedModelBehavior
21- from pydantic_ai ._tool_manager import ToolDefinition
2221
2322
2423@pytest .fixture
@@ -2832,11 +2831,11 @@ def multiply_numbers(a: int, b: int) -> int:
28322831
28332832
28342833@pytest .mark .asyncio
2835- async def test_tool_without_description_omits_tool_description (
2834+ async def test_tool_without_description_sets_tool_description_to_none (
28362835 sentry_init , capture_events
28372836):
28382837 """
2839- Test that execute_tool spans omit tool description when the tool has no docstring.
2838+ Test that execute_tool spans set tool description to None when the tool has no docstring.
28402839 """
28412840 agent = Agent (
28422841 "test" ,
You can’t perform that action at this time.
0 commit comments