Skip to content

Interface: MiddlewareConfig

Prefactor TypeScript SDK


Prefactor TypeScript SDK / @prefactor/packages/ai / MiddlewareConfig

Defined in: packages/ai/src/types.ts:16

Configuration options for the Prefactor middleware.

optional captureContent: boolean

Defined in: packages/ai/src/types.ts:22

Whether to capture prompt and response content in span inputs/outputs. Set to false to reduce data volume or for privacy reasons.

true

optional captureTools: boolean

Defined in: packages/ai/src/types.ts:28

Whether to capture tool call information.

true