langchain.js
    Preparing search index...
    StreamMode:
        | "values"
        | "updates"
        | "debug"
        | "messages"
        | "checkpoints"
        | "tasks"
        | "custom"

    Selects the type of output you'll receive when streaming from the graph. See Streaming for more details.