Skip to content
1 min read · 37 words

Type Alias: DispatchThoughtRetrievalFn

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

Defined in: lib/contracts/dispatch_context.ts:47

Retrieves thoughts for an LLM execution context.

Parameters

ParameterType
ctxDispatchContext

Returns

| Thought[] | Promise<Thought[]>