Skip to content

Conversation

@lgrammel
Copy link
Collaborator

@lgrammel lgrammel commented Nov 21, 2025

Background

UI message metadata was not supported with agents.

Summary

Add MESSAGE_METADATA generic to InferAgentUIMessage.

Manual Verification

Ran examples/next-openai with http://localhost:3000/use-chat-message-metadata

@lgrammel lgrammel changed the title Lg/ep hi6xaz feat(agent): add message metadata support when inferring UI messages Nov 21, 2025
Copy link
Collaborator

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good code/type wise. @nicoalbanese wants to add docs

@gr2m gr2m added documentation Improvements or additions to documentation feature New feature or request labels Nov 21, 2025
@lgrammel lgrammel merged commit 79ba99f into main Nov 23, 2025
18 checks passed
@lgrammel lgrammel deleted the lg/EpHi6xaz branch November 23, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/core documentation Improvements or additions to documentation feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants