@threadplane/chatInterfacev0.3.4

ChatInterruptTemplateContext

Template context for the interrupt template projected into <chat>.

import type { ChatInterruptTemplateContext } from '@threadplane/chat';

Declaration

export interface ChatInterruptTemplateContext  {
  $implicit: Agent;
  interrupt: AgentInterrupt;
}

Members

$implicit

The agent bound to <chat> (let-agent).

$implicit: Agent;

interrupt

The pending interrupt, read from agent.interrupt() (let-interrupt="interrupt"). Runtimes that expose a full interrupt batch do so on their own agent type, reachable through $implicit.

interrupt: AgentInterrupt;