langchain.js
    Preparing search index...

    Variable REMOVE_ALL_MESSAGESConst

    REMOVE_ALL_MESSAGES: "__remove_all__"

    Special value that signifies the intent to remove all previous messages in the state reducer. Used as the unique identifier for a RemoveMessage instance which, when encountered, causes all prior messages to be discarded, leaving only those following this marker.