Skip to main content

hook_note

Function hook_note 

Source
pub fn hook_note(call: &HookCall, limit: usize) -> (String, Vec<String>)
Expand description

The pack note for a prompt, and the memory ids named in it. The ids are not marked seen here: the caller marks them when the runner delivers the note. A camel-case prompt hook’s stdout is discarded, so marking here would burn the note before the model read it.