Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metadata field to basemessage (#5372)
Add metadata field to BaseMessage. Why? - additional metadata field can track 1) timestamp if needed, 2) flags about the message. For instance, a use case is a metadata field {"internal":"yes"} that would hide messages from being displayed in an application or studio. As long as an extra field is added to basemessage that is not consumed by existing agents, I am happy. Notes: - We can also only add it to BaseChatMessage, that would be fine - I don't care what the extra field is called as long as there is an extra field somewhere - I don't have preference for the type, a str could work, but a dict would be more useful. --------- Co-authored-by: Eric Zhu <[email protected]>
- Loading branch information