CodeReadOptions

Interface: CodeReadOptions

Defined in: src/provider-contract/types.ts:1286

How one CodeSession.readFile is bounded.

Properties

maxBytes

readonly maxBytes: number

Defined in: src/provider-contract/types.ts:1291

The most bytes this read may return. Required, and a positive whole number: a file larger than this is refused, never cut.


signal?

readonly optional signal?: AbortSignal

Defined in: src/provider-contract/types.ts:1293

Stop waiting for the read.

On this page