Commit aee6675
test(pydantic-ai): Update test to verify tool description is omitted when None
The execute_tool_span function now skips setting GEN_AI_TOOL_DESCRIPTION when
tool_definition.description is None, instead of setting it to None. Update the
corresponding test to verify the key is absent from span data rather than
present with a None value, and rename the test to reflect this behavior.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 7a7f2bc commit aee6675
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2837 | 2837 | | |
2838 | 2838 | | |
2839 | 2839 | | |
2840 | | - | |
| 2840 | + | |
2841 | 2841 | | |
2842 | 2842 | | |
2843 | 2843 | | |
2844 | | - | |
| 2844 | + | |
2845 | 2845 | | |
2846 | 2846 | | |
2847 | 2847 | | |
| |||
2872 | 2872 | | |
2873 | 2873 | | |
2874 | 2874 | | |
2875 | | - | |
2876 | | - | |
| 2875 | + | |
0 commit comments