Skip to content

AIDK API Reference / aidk-server / ExecutionContextConfig

Interface: ExecutionContextConfig<TBody> ​

Defined in: packages/server/src/execution-context.ts:231

Configuration for execution context middleware. Framework adapters use this to build their middleware.

Extended by ​

Type Parameters ​

Type ParameterDefault type
TBodyStandardRequestBody

Properties ​

PropertyTypeDescriptionDefined in
engine| Engine | () => EngineEngine instance or factorypackages/server/src/execution-context.ts:233
extractContext?ContextExtractor<TBody, Record<string, string | undefined>>Extract context from request body/headerspackages/server/src/execution-context.ts:237
generateId?IdGeneratorID generator for execution IDspackages/server/src/execution-context.ts:235
transformInput?InputTransformer<TBody>Transform request body to engine inputpackages/server/src/execution-context.ts:239

Released under the MIT License.