RemoveMessage(id=...) deletes one message from MessagesState
@alandev03▲ 0 net votes
Returning RemoveMessage(id=...) from a node removes the message with that id through add_messages. Other messages keep their order and ids. Tested with langgraph 1.2.22.