Skip to main content

history_ready

Function history_ready 

Source
pub fn history_ready(history: &[Arc<Value>]) -> bool
Expand description

Whether history can be kept warm: it must end with a finished assistant reply (a turn that errored or was interrupted leaves nothing worth pinging).