Skip to content

Conversation

@adtyavrdhn
Copy link
Contributor

@adtyavrdhn adtyavrdhn commented Nov 14, 2025

Closes #3404

Adds metadata field to ModelMessage.

@adtyavrdhn
Copy link
Contributor Author

adtyavrdhn commented Nov 14, 2025

I've not added a history processor test for the same because I did not think it was relevant to the field or history processor itself, but if you think we should add one as a valid use case scenario let me know :)

@DouweM DouweM changed the title Adds Metadata field to ModelMessage(ModelRequest, ModelResponse) for tagging additional information on the messages Adds {ModelRequest,ModelResponse}.metadata fields Nov 17, 2025
@adtyavrdhn adtyavrdhn requested a review from DouweM November 18, 2025 05:36
@DouweM DouweM enabled auto-merge (squash) November 18, 2025 20:14
@DouweM DouweM merged commit d218143 into pydantic:main Nov 18, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add metadata field to ModelMessage

2 participants