Skip to main content

DEFAULT_MAX_RESPONSE_BYTES

Constant DEFAULT_MAX_RESPONSE_BYTES 

Source
pub const DEFAULT_MAX_RESPONSE_BYTES: usize = _ /* 8_388_608usize */;
Available on crate feature tool-loop only.
Expand description

The most of a response body read when no cap is set. A chat completion is kilobytes; the cap exists so an endpoint does not get to choose how much memory a turn takes.