Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

InboundFrame.md

20 lines285 Bytes

type InboundFrame = 
  | {
  input: unknown;
  kind: "run";
}
  | {
  kind: "abort";
  runId: string;
};

Defined in: packages/ai/src/stream-to-websocket.ts:25

One inbound WS text frame, after JSON parse + shape discrimination.