@threadplane/langgraphInterfacev0.3.7

FakeStreamTransportConfig

What the canned reply of a FakeStreamTransport streams.

import type { FakeStreamTransportConfig } from '@threadplane/langgraph';

Declaration

export interface FakeStreamTransportConfig  {
  readonly delayMs?: number;
  readonly reasoningTokens?: readonly string[];
  readonly tokens?: readonly string[];
}

Members

delayMs

Milliseconds between entries. Defaults to 60; 0 streams without timers.

readonly delayMs?: number;

reasoningTokens

Reasoning text streamed before the reply.

readonly reasoningTokens?: readonly string[];

tokens

The assistant reply, streamed one entry at a time.

readonly tokens?: readonly string[];