FakeAgentConfig
Shared config for the adapters' provideFakeAgent() helpers
(@threadplane/langgraph and @threadplane/ag-ui). Drives an in-process
fake backend that streams a canned assistant reply.
import type { FakeAgentConfig } from '@threadplane/chat/testing';Declaration
export interface FakeAgentConfig {
delayMs?: number;
reasoningTokens?: string[];
tokens?: string[];
}Members
delayMs
Milliseconds between successive token emissions.
delayMs?: number;reasoningTokens
Optional reasoning chunks emitted before the text reply.
reasoningTokens?: string[];tokens
Assistant reply, streamed token-by-token.
tokens?: string[];