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 Parameter | Default type |
|---|---|
TBody | StandardRequestBody |
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
engine | | Engine | () => Engine | Engine instance or factory | packages/server/src/execution-context.ts:233 |
extractContext? | ContextExtractor<TBody, Record<string, string | undefined>> | Extract context from request body/headers | packages/server/src/execution-context.ts:237 |
generateId? | IdGenerator | ID generator for execution IDs | packages/server/src/execution-context.ts:235 |
transformInput? | InputTransformer<TBody> | Transform request body to engine input | packages/server/src/execution-context.ts:239 |