Skip to main content

OUTPUT_FORMAT_STREAM_JSON

Constant OUTPUT_FORMAT_STREAM_JSON 

Source
pub const OUTPUT_FORMAT_STREAM_JSON: &str = "stream-json";
Expand description

The stream-json output format value for ClientConfig::output_format.

Enables realtime NDJSON streaming — required for the SDK’s init handshake and multi-turn conversations. This is the default output format.