Interface: MastraEvalDriverOptions
Configuration for an in-process Mastra evaluation driver.
Properties
Section titled “Properties”createRequestContext?
Section titled “createRequestContext?”
optionalcreateRequestContext?: (options) =>Promise<RequestContext<unknown>>
Override request-context construction for isolated evaluation environments.
Parameters
Section titled “Parameters”options
Section titled “options”resourceId
Section titled “resourceId”string
threadId
Section titled “threadId”string
Returns
Section titled “Returns”Promise<RequestContext<unknown>>
resourceId?
Section titled “resourceId?”
optionalresourceId?:string
Stable memory resource used by every turn from this driver.