isMockTransport
isMockTransport(
transport):boolean
Defined in: packages/gateway/src/request-policy.ts:31
Whether transport was marked as a mock, which may send requests while real model requests are off.
Parameters
Section titled “Parameters”transport
Section titled “transport”Transport | undefined
Returns
Section titled “Returns”boolean
These docs are licensedCC BY 4.0. Thelicence text is in the repository.