Skip to content

Conversation

@adtyavrdhn
Copy link
Contributor

@adtyavrdhn adtyavrdhn commented Jul 10, 2025

Fixes #1571

The bug was because of missed content removal when UserPromptPart was a string

I checked the previous PR again and I found another issue with tool argument not being removed from ToolCallPart in the test so I fixed that as well

@adtyavrdhn adtyavrdhn marked this pull request as draft July 10, 2025 19:39
@adtyavrdhn adtyavrdhn marked this pull request as ready for review July 11, 2025 07:05
@adtyavrdhn adtyavrdhn marked this pull request as draft July 11, 2025 07:07
@adtyavrdhn adtyavrdhn marked this pull request as ready for review July 11, 2025 07:36
@alexmojaki alexmojaki merged commit 83c8e01 into pydantic:main Jul 15, 2025
18 checks passed
@alexmojaki
Copy link
Contributor

Thanks!

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.

Add a setting to remove prompts and completions from tracing

2 participants