Skip to main content

read

Function read 

Source
pub fn read(path: impl AsRef<Path>) -> Result<Vec<String>>
Expand description

Read valid prompts from a JSONL history file, retaining the newest bounded window in original chronological order. Missing files are empty history.