Skip to content
1 min read · 34 words

Type Alias: DispatchThoughtRetrievalFn

ts
type DispatchThoughtRetrievalFn = (
  ctx: DispatchContext,
) => Thought[] | Promise<Thought[]>;

Retrieves thoughts for an LLM execution context.

Parameters

ParameterType
ctxDispatchContext

Returns

| Thought[] | Promise<Thought[]>