langchain.js
    Preparing search index...

    Configuration interface that defines what actions are allowed for a human interrupt. This controls the available interaction options when the graph is paused for human input.

    Use HumanInterruptConfig has been moved to langchain package. Update your import to import { HumanInterruptConfig } from "langchain";

    interface HumanInterruptConfig {
        allow_accept: boolean;
        allow_edit: boolean;
        allow_ignore: boolean;
        allow_respond: boolean;
    }
    Index

    Properties

    allow_accept: boolean

    Whether the human can accept/approve the current state

    allow_edit: boolean

    Whether the human can edit the provided content/state

    allow_ignore: boolean

    Whether the human can choose to ignore/skip the current step

    allow_respond: boolean

    Whether the human can provide a text response/feedback