@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias ThreadRollbackParams

    DEPRECATED: thread/rollback will be removed soon.

    type ThreadRollbackParams = {
        numTurns: number;
        threadId: string;
    }
    Index

    Properties

    Properties

    numTurns: number

    The number of turns to drop from the end of the thread. Must be >= 1.

    This only modifies the thread's history and does not revert local file changes that have been made by the agent. Clients are responsible for reverting these changes.

    threadId: string