InterruptConformanceRequest

What one request to the backend meant; the harness keeps the wire assertions.

import type { InterruptConformanceRequest } from '@threadplane/angular/chat/testing';

Declaration

export interface InterruptConformanceRequest  {
  readonly messages: readonly string[];
  readonly responses: readonly AgentInterruptResponse[];
  readonly state: Readonly<Record<string, PlainValue>>;
}

Members

messages

The text of each user message the request carried.

readonly messages: readonly string[];

responses

The answers the request carried, in the order they were given.

readonly responses: readonly AgentInterruptResponse[];

state

The state update the request carried; empty when it carried none.

readonly state: Readonly<Record<string, PlainValue>>;