Skip to content

Include content.1571 #2180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 15, 2025
Merged

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