ContextConfig

@daydreamsai/core


@daydreamsai/core / ContextConfig

Type Alias: ContextConfig<TMemory, Args, Ctx, Actions, Events>

ContextConfig<TMemory, Args, Ctx, Actions, Events> = Optional<Omit<Context<TMemory, Args, Ctx, Actions, Events>, keyof ContextConfigApi>, "actions" | "events" | "inputs" | "outputs">

Defined in: packages/core/src/types.ts:1063

Type Parameters

TMemory

TMemory = any

Args

Args extends z.ZodTypeAny | ZodRawShape = any

Ctx

Ctx = any

Actions

Actions extends AnyAction[] = AnyAction[]

Events

Events extends Record<string, z.ZodTypeAny | z.ZodRawShape> = Record<string, z.ZodTypeAny | z.ZodRawShape>