MiddlewareOptions
Defined in: packages/ai.matey.types/src/middleware.ts:118
Options for creating middleware.
Properties
Section titled “Properties”config?
Section titled “config?”
optionalconfig:Record<string,unknown>
Defined in: packages/ai.matey.types/src/middleware.ts:139
Custom configuration for this middleware.
optionalname:string
Defined in: packages/ai.matey.types/src/middleware.ts:122
Middleware name for debugging/logging.
runBeforeRouting?
Section titled “runBeforeRouting?”
optionalrunBeforeRouting:boolean
Defined in: packages/ai.matey.types/src/middleware.ts:134
Whether middleware should run before routing decision.
Default
Section titled “Default”falsesupportsStreaming?
Section titled “supportsStreaming?”
optionalsupportsStreaming:boolean
Defined in: packages/ai.matey.types/src/middleware.ts:128
Whether middleware supports streaming.
Default
Section titled “Default”false